IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17499


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

Location:
trunk/DataStoreServer/web/cgi
Files:
1 added
2 edited

Legend:

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

    r17381 r17499  
    99
    1010$uri = $ARGV[0];
    11 print STDERR "uri is $uri\n";
     11#print STDERR "uri is $uri\n";
    1212
    1313(my $left, my $param) = split(/\,/, $uri);
    1414
    15 print STDERR "left: $left param: $param\n";
     15#print STDERR "left: $left param: $param\n";
    1616
    1717if ($left !~ /\.fits$/) {
  • 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.