forked from expo/troggle
better integration of svx file DatIssues
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<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 not enabled yet.
|
||||
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;
|
||||
@@ -19,8 +19,8 @@ td { background : lightblue; }
|
||||
<table>
|
||||
<tr><th>Parser</th><th>Issue</th></tr>
|
||||
{% for di in didict %}
|
||||
{% ifchanged di.parser %}
|
||||
<tr {% cycle 'LightGoldenRodYellow' 'lightcyan' as mycolor %}>
|
||||
{% 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 %}
|
||||
|
||||
@@ -38,7 +38,11 @@ $(document).ready(function()
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% if warning %}
|
||||
<h1 style="color: red">Survex Template - will save as file '{{ title }}.svx'</h1>
|
||||
{% else %}
|
||||
<h1>Survex File: {{ title }}</h1>
|
||||
{% endif %}
|
||||
|
||||
{% if svxincludes %}
|
||||
<p><b>Included files:</b>
|
||||
|
||||
Reference in New Issue
Block a user