X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_route;h=3c37d6fc9f7833359394af29dd8bab35dbb7b81c;hb=fbe374c3592808f9b3f105ec0726b26ada6c0ea0;hp=81e91bcca2334c023edefb73060f544ebb77c08c;hpb=1a64a4e4703ade43ff0b26150f8128969be0ec8b;p=ypp-sc-tools.db-live.git diff --git a/yarrg/web/query_route b/yarrg/web/query_route index 81e91bc..3c37d6f 100644 --- a/yarrg/web/query_route +++ b/yarrg/web/query_route @@ -47,12 +47,9 @@ $emsgokorprint <%perl> my $emsg; +my @warningfs; my @archipelagoes; my @islandids; -my %islandid2; -my ($max_volume, $max_mass); -my $lossperleaguepct; -my $capital; my $qa= \%ARGS; @@ -69,167 +66,31 @@ my $goupdate= sub { $be_post ? 'Update' : 'Go' };
-
- -Vessel or capacity: -<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'cs', - thingstring => 'capacitystring', emsgstore => \$emsg, - helpref => 'capacity', - perresult => sub { - ($max_mass,$max_volume) = @_; - } - &> - size=40 -&> - - | - - - - | -Expected losses: - -<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'll', - thingstring => 'lossperleague', emsgstore => \$emsg, - helpref => 'losses', - perresult => sub { ($lossperleaguepct)= @_; } - &> - size=9 -&> - |
Available capital: - -<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'ac', - thingstring => 'capitalstring', emsgstore => \$emsg, - helpref => 'capital', - perresult => sub { ($capital)= @_; } - &> - size=9 -&> - | -
- | -% } -
- | -% } -