summaryrefslogtreecommitdiffstats
path: root/templates/dataissues.html
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2021-04-12 01:00:47 +0100
committerPhilip Sargent <philip.sargent@klebos.com>2021-04-12 01:00:47 +0100
commitf6f83c6f704ff66f6de7d3f51c83f3960ed0011b (patch)
tree6485799adef040659024d0fe7eccc3ec29bbebec /templates/dataissues.html
parentbc9b4f508b9b531500bac60ed7c7f8f3766b27f0 (diff)
downloadtroggle-f6f83c6f704ff66f6de7d3f51c83f3960ed0011b.tar.gz
troggle-f6f83c6f704ff66f6de7d3f51c83f3960ed0011b.tar.bz2
troggle-f6f83c6f704ff66f6de7d3f51c83f3960ed0011b.zip
data issues much easier to read
Diffstat (limited to 'templates/dataissues.html')
-rw-r--r--templates/dataissues.html24
1 files changed, 18 insertions, 6 deletions
diff --git a/templates/dataissues.html b/templates/dataissues.html
index f3b9543..7c518a0 100644
--- a/templates/dataissues.html
+++ b/templates/dataissues.html
@@ -7,16 +7,28 @@
<p>
This is work in progress (April 2021).
+<style>
+tr { text-align:center;
+ font-family: Tahoma,'Trebuchet MS','Lucida Grande',Verdana, Arial, Helvetica, Sans-Serif;
+ font-size: 11pt;
+ line-height: 160%;
+ };
+td { background : lightblue; }
+</style>
<table>
-<tr><th>Parser</th><th>Issue</th><th>Import Date</th></tr>
+<tr><th>Parser</th><th>Issue</th></tr>
{% for di in didict %}
-<tr>
- <td style="text-align:center">{{di.parser}}</td>
- <td style="text-align:left">{{di.message}}</td>
- <td style="text-align:center" width=25%>{{di.date}}</td>
-</tr>
+ {% ifchanged di.parser %}
+ <tr {% cycle 'LightGoldenRodYellow' 'lightcyan' as mycolor %}>
+ {% else %}
+ <tr>
+ {% endifchanged %}
+ <td bgcolor={{mycolor}}>{{di.parser}}</td>
+ <td bgcolor={{mycolor}} style="text-align:left">{{di.message}}</td>
+ </tr>
{% endfor %}
+</font>
</table>