chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.web-live.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'ijackson'
[ypp-sc-tools.web-live.git]
/
yarrg
/
web
/
lookup
diff --git
a/yarrg/web/lookup
b/yarrg/web/lookup
index 2f4c5c44e1da805232b5d78aa646083e0e5915f1..35b6ce7039c2fb6eea242d4560f77668e72bb26c 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,
@@
-121,12
+121,21
@@
$ours
<html><head><title><% ucfirst $ahtml{Query} %> - YARRG</title>
<style type="text/css">
body {
<html><head><title><% ucfirst $ahtml{Query} %> - YARRG</title>
<style type="text/css">
body {
-
foreground
: #000000;
+
color
: #000000;
background: #ffffff;
}
background: #ffffff;
}
-tr.datarow0 { background: #
ffffff
; }
-tr.datarow1 { background: #
eeeeee
; }
+tr.datarow0 { background: #
e3e3e3
; }
+tr.datarow1 { background: #
ffffff
; }
</style>
</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> -
@@
-144,7
+153,9
@@
foreach my $var (@vars) {
foreach my $var (keys %ARGS) {
next unless $var =~
foreach my $var (keys %ARGS) {
next unless $var =~
- m/^(?: (?:route|commod)string |
+ m/^(?: (?:route|commod|capacity)string |
+ lossperleague |
+ commodid |
islandid \d |
archipelago \d |
debug |
islandid \d |
archipelago \d |
debug |