2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-26 17:21:52 +00:00
troggle/templates/dataissues.html
2022-03-05 12:20:26 +00: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 (March 2022).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 %}