summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/dataissues.html6
-rw-r--r--templates/svxfile.html4
2 files changed, 7 insertions, 3 deletions
diff --git a/templates/dataissues.html b/templates/dataissues.html
index 46538a0..d42821d 100644
--- a/templates/dataissues.html
+++ b/templates/dataissues.html
@@ -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 %}
diff --git a/templates/svxfile.html b/templates/svxfile.html
index 72e4446..707c5fd 100644
--- a/templates/svxfile.html
+++ b/templates/svxfile.html
@@ -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>