X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=7af431cee119f6e163439b83a08fcf84b6b8eedd;hb=abb07750a9897277e9a78e60ceec5ed163593719;hp=2f4c5c44e1da805232b5d78aa646083e0e5915f1;hpb=c20deee42fbd2d86e976bb6a2e4f8e5f5cf2631b;p=ypp-sc-tools.db-test.git diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 2f4c5c4..7af431c 100755 --- a/yarrg/web/lookup +++ b/yarrg/web/lookup @@ -57,6 +57,7 @@ my %styles; Before => 'Query: ', Values => [ [ 'route', 'Trades for route' ], [ 'commod', 'Prices for commodity' ], + [ 'offers', 'Offers at location' ], [ 'age', 'Data age' ] ] }, { Name => 'BuySell', Before => '', @@ -74,7 +75,7 @@ my %styles; QuerySpecific => 1, }, { Name => 'ShowStalls', Before => '', - Values => [ [ 0, 'Show amount at each price' ], + Values => [ [ 0, 'Show total quantity at each price' ], [ 1, 'Show individual stalls' ], ], QuerySpecific => 1, @@ -118,21 +119,34 @@ $ours % } -<% ucfirst $ahtml{Query} %> - YARRG +<% ucfirst $ahtml{Query} %> - YARRG +<&| script &> + function register_onload(f) { + var previous_onload= window.onload; + window.onload= function() { + if (previous_onload) previous_onload(); + f(); + }; + } + YARRG - Yet Another Revenue Research Gatherer | +introduction +| documentation +| +development

<%perl> @@ -144,7 +158,9 @@ foreach my $var (@vars) { foreach my $var (keys %ARGS) { next unless $var =~ - m/^(?: (?:route|commod)string | + m/^(?: (?:route|commod|capacity|capital)string | + lossperleague | + commodid | islandid \d | archipelago \d | debug |