chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Right-justify data ages in tables
[ypp-sc-tools.db-test.git]
/
yarrg
/
web
/
query_age
diff --git
a/yarrg/web/query_age
b/yarrg/web/query_age
index a02187eae01d1b85988382f3e82bc538c6ba010f..d9b234dd559e074353641f7c1ccd5fae7f9b4916 100644
(file)
--- a/
yarrg/web/query_age
+++ b/
yarrg/web/query_age
@@
-80,7
+80,7
@@
$sth->execute();
<tr id=<% $rowid %> class="<% 'datarow'.($rowix & 1) %>"
> <td><% $row->{'archipelago'} |h
%> <td><% $row->{'islandname'} |h
<tr id=<% $rowid %> class="<% 'datarow'.($rowix & 1) %>"
> <td><% $row->{'archipelago'} |h
%> <td><% $row->{'islandname'} |h
- %> <td id="<% $cellid %>"><% prettyprint_age($age) %> </tr>
+ %> <td id="<% $cellid %>"
align=right
><% prettyprint_age($age) %> </tr>
% $rowix++;
% }
</table>
% $rowix++;
% }
</table>