chiark / gitweb /
Vessel names for capacity seem to work
[ypp-sc-tools.db-test.git] / yarrg / web / query_route
index a65ef1c5723d9360e4566152d294ac0fd1350112..ed9fa4406c70ba1fd7aaaaad7dab4fe02f89a50e 100644 (file)
@@ -88,17 +88,20 @@ Enter route (islands, or archipelagoes, separated by |s or commas;
  size=80
 </&>
 
+<strong>Advanced options - you may leave these blank:</strong>
+<p>
 <table>
 <tr>
 <td>
 
-Vessel capacity:
+Vessel or capacity:
 <&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'cs',
     thingstring => 'capacitystring', emsgstore => \$emsg,
     perresult => sub {
-        ($max_volume,$max_mass) = @_;
+        ($max_mass,$max_volume) = @_;
     }
  &>
+ size=40
 </&>
 
 <td>
@@ -106,12 +109,13 @@ Vessel capacity:
 &nbsp;
 
 <td>
-Estimated loss per league:
+Expected losses:
 
 <&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'll',
     thingstring => 'lossperleague', emsgstore => \$emsg,
     perresult => sub { ($lossperleaguepct)= @_; }
  &>
+ size=10
 </&>
 
 </table>