chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ocean scraper seems to work properly now
[ypp-sc-tools.db-live.git]
/
yarrg
/
web
/
lookup
diff --git
a/yarrg/web/lookup
b/yarrg/web/lookup
index 5217679c7f4084d7844be4b1609e7be119b9449c..8fb3bb142a077ce644fd37a3efb1be25046f7390 100755
(executable)
--- a/
yarrg/web/lookup
+++ b/
yarrg/web/lookup
@@
-74,7
+74,7
@@
my %styles;
QuerySpecific => 1,
}, { Name => 'ShowStalls',
Before => '',
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,
[ 1, 'Show individual stalls' ],
],
QuerySpecific => 1,
@@
-127,6
+127,15
@@
body {
tr.datarow0 { background: #ffffff; }
tr.datarow1 { background: #e3e3e3; }
</style>
tr.datarow0 { background: #ffffff; }
tr.datarow1 { background: #e3e3e3; }
</style>
+<&| script &>
+ function register_onload(f) {
+ var previous_onload= window.onload;
+ window.onload= function() {
+ if (previous_onload) previous_onload();
+ f();
+ };
+ }
+</&script>
</head><body>
<a href="<% $m->current_comp()->name() |u %>">YARRG</a> -
</head><body>
<a href="<% $m->current_comp()->name() |u %>">YARRG</a> -
@@
-145,6
+154,7
@@
foreach my $var (@vars) {
foreach my $var (keys %ARGS) {
next unless $var =~
m/^(?: (?:route|commod)string |
foreach my $var (keys %ARGS) {
next unless $var =~
m/^(?: (?:route|commod)string |
+ commodid |
islandid \d |
archipelago \d |
debug |
islandid \d |
archipelago \d |
debug |