chiark / gitweb /
Rename docs to intro; write new docs
[ypp-sc-tools.db-live.git] / yarrg / web / lookup
index 1453a372145ee2989261f757481aee295e052fb1..448ad6ec3441d38171735cbcbb0546b9a235ed0c 100755 (executable)
@@ -124,14 +124,25 @@ body {
   color: #000000;
   background: #ffffff;
 }
-tr.datarow0 { background: #ffffff; }
-tr.datarow1 { background: #e3e3e3; }
+tr.datarow0 { background: #e3e3e3; }
+tr.datarow1 { background: #ffffff; }
 </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> -
  Yet Another Revenue Research Gatherer
 |
+<a href="intro">introduction</a>
+|
 <a href="docs">documentation</a>
 <p>
 <%perl>
@@ -144,7 +155,9 @@ foreach my $var (@vars) {
 
 foreach my $var (keys %ARGS) {
        next unless $var =~
-               m/^(?: (?:route|commod)string |
+               m/^(?: (?:route|commod|capacity)string |
+                       lossperleague |
+                       commodid |
                        islandid \d |
                        archipelago \d |
                        debug |