2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-01 22:31:53 +00:00
troggle/templates/dataissues.html
2021-04-14 21:08:06 +01:00

35 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}Expo issues on data import{% endblock %}
{% block content %}
<h1>Loading data from files: Issues arising that need attention</h1>
<p>
This is work in progress (April 2021).The URL links to the offending objects are enabled on only some types of fault as yet.
<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></tr>
{% for di in didict %}
{% ifchanged di.parser %}<!-- this combination of ifchnaged + cycle is a Django template idiom -->
<tr {% cycle 'LightGoldenRodYellow' 'palegreen' 'lightcyan' 'gainsboro' 'paleturquoise' as mycolor %}>
{% else %}
<tr>
{% endifchanged %}
<td bgcolor={{mycolor}}>{{di.parser}}</td>
<td bgcolor={{mycolor}} style="text-align:left"><a href="{{di.url}}">{{di.message}}</a></td>
</tr>
{% endfor %}
</font>
</table>
{% endblock %}