summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/404.html23
-rw-r--r--templates/pathsreport.html2
2 files changed, 24 insertions, 1 deletions
diff --git a/templates/404.html b/templates/404.html
new file mode 100644
index 0000000..36246de
--- /dev/null
+++ b/templates/404.html
@@ -0,0 +1,23 @@
+{% extends "base.html" %}
+{% load wiki_markup %}
+{% load link %}
+
+{% block title %}List of survex files{% endblock %}
+
+{% block content %}
+
+<h1>404 - Page not found </h1>
+
+<h3>Kataster number not found :{{cave}}</h3>
+<p>More helpful information will appear here when someone programs it.</p>
+<p>
+Custom 404 page template/404.html is only activated when DEBUG=False in Django settings.
+So this is of very limited usefulness to us as we do not do that with troggle, even in production.
+Instead we do not raise the http404 exception in our code, we call our own error-handling display page.
+We have not yet done this with all our code though..
+<p>
+
+
+<p><em>This page created 25 March 2021</em></p>
+{% endblock %}
+
diff --git a/templates/pathsreport.html b/templates/pathsreport.html
index 8ce93be..f22f1ef 100644
--- a/templates/pathsreport.html
+++ b/templates/pathsreport.html
@@ -30,7 +30,7 @@
<p>
<table style="font-family: Consolas, Lucida Console, monospace;">
-<tr><th>Path</th><th>Code</th><th>Type</th></tr>
+<tr><th>Code</th><th>Path</th><th>Type</th></tr>
{% for c,p,t in bypathslist %}
<tr>
<td>