X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fweb%2Flookup;h=9f74f3369bb8e7bcf33601c73c8eca3831997114;hb=767fa1cf87952a46530bfaa2de0543ac07b64c2a;hp=1453a372145ee2989261f757481aee295e052fb1;hpb=492ee8e5d023945e2768e9568f22bd63a19b59f4;p=ypp-sc-tools.db-test.git diff --git a/yarrg/web/lookup b/yarrg/web/lookup index 1453a37..9f74f33 100755 --- a/yarrg/web/lookup +++ b/yarrg/web/lookup @@ -57,6 +57,8 @@ my %styles; Before => 'Query: ', Values => [ [ 'route', 'Trades for route' ], [ 'commod', 'Prices for commodity' ], + [ 'offers', 'Offers at location' ], + [ 'routesearch', 'Find profitable route' ], [ 'age', 'Data age' ] ] }, { Name => 'BuySell', Before => '', @@ -118,21 +120,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 +159,9 @@ foreach my $var (@vars) { foreach my $var (keys %ARGS) { next unless $var =~ - m/^(?: (?:route|commod)string | + m/^(?: (?:route|commod|capacity|capital|island)string | + lossperleague | distance | + commodid | islandid \d | archipelago \d | debug |