chiark / gitweb /
WIP colouring in
[ypp-sc-tools.db-live.git] / yarrg / web / query_offers
index 0e1aa989a7bf61b5c7ff8b1bda8281d72d25671a..6dc70f47d015f9813e828111c41c7ab6363b2066 100644 (file)
@@ -54,6 +54,7 @@ my ($commodname,$cmid);
 my $qa= \%ARGS;
 </%perl>
 
+<div class="query">
 <h1>Prices for commodity at location(s)</h1>
 
 % $prselector->('BuySell');
@@ -79,6 +80,8 @@ my $qa= \%ARGS;
 <& "lookup:formhidden", ours => $ours &>
 
 </form>
+</div>
+<div class="results">
 
 %#========== results ==========
 <%perl>
@@ -166,7 +169,10 @@ foreach my $bs (split /_/, $qa->{BuySell}) {
 </%perl>
 %      while ($row= $sth->fetchrow_arrayref) {
 %              if (!$rowix) {
-<table id="<% $bs %>_table">
+<table class="data" id="<% $bs %>_table" rules=groups>
+<colgroup span=2>
+<colgroup span=3>
+<colgroup span=1>
 <tr>
 <th>Archipelago
 <th>Island