X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Fquery_route;h=3c37d6fc9f7833359394af29dd8bab35dbb7b81c;hb=8fb8cf52d2bf96beda40c30134e04a352ff988b4;hp=ed9fa4406c70ba1fd7aaaaad7dab4fe02f89a50e;hpb=03d941b69511108bea1a2a20486f36e55c94d848;p=ypp-sc-tools.db-live.git diff --git a/yarrg/web/query_route b/yarrg/web/query_route index ed9fa44..3c37d6f 100644 --- a/yarrg/web/query_route +++ b/yarrg/web/query_route @@ -40,17 +40,16 @@ $prselector $routestring => ''; $capacitystring => ''; $lossperleague => ''; +$capitalstring => ''; $someresults $emsgokorprint %args> <%perl> my $emsg; +my @warningfs; my @archipelagoes; my @islandids; -my %islandid2; -my ($max_volume, $max_mass); -my $lossperleaguepct; my $qa= \%ARGS; @@ -67,158 +66,37 @@ my $goupdate= sub { $be_post ? 'Update' : 'Go' };
-
- -Vessel or capacity: -<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'cs', - thingstring => 'capacitystring', emsgstore => \$emsg, - perresult => sub { - ($max_mass,$max_volume) = @_; - } - &> - size=40 -&> - - | - - - - | -Expected losses: - -<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'll', - thingstring => 'lossperleague', emsgstore => \$emsg, - perresult => sub { ($lossperleaguepct)= @_; } - &> - size=10 -&> - - |
- | -% } -
- | -% } -