IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 2, 2008, 11:03:49 AM (18 years ago)
Author:
bills
Message:

tweaks to the web interface for the data store.
Get DB parameters from enviornment to remove dependence on ipp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataStoreServer/web/cgi/dsgetindex

    r17381 r17499  
    179179                $ref->{bfree}/(1024*1024),
    180180                100.0*$ref->{bfree}/$ref->{blocks};
     181        print "\n";
    181182
    182183        # return link
     184        print a({-href=>"./index.txt"}, "Text Version");
     185
    183186        if ($#path > 1) {
     187            print "&nbsp&nbsp&nbsp&nbsp\n";
     188
    184189                my $up = join('/', @path[0..$#path-1]);
    185190            print a({-href=>"$up"}, "Up to $up");
     191
    186192        }
     193        print "</p>\n";
     194
    187195
    188196    print '<table cellpadding="3">';
     
    225233
    226234                # if this is a file request, use a download cgi
    227                 if ($wpath =~ /\.fits$/) {
     235                if ($wpath =~ /\.fits\s*$/) {
    228236                        $wpath = '/ds-cgi/dsfits.cgi?'.substr($wpath, 4); # strip' /ds/'
    229237                }
Note: See TracChangeset for help on using the changeset viewer.