X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=7af431cee119f6e163439b83a08fcf84b6b8eedd;hb=e1117d96e803ab50e726eb42410c00151f76a4f5;hp=36c0a27f7f3468311a21cb92883f7d825e34e953;hpb=fc9092694d98ee3737f8cdceef02d65cc6255dd4;p=ypp-sc-tools.db-test.git diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 36c0a27..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 |