2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-01 22:31:53 +00:00
troggle/templates/errors/generic.html

50 lines
1.6 KiB
HTML
Raw Normal View History

{% extends 'base.html' %}
2021-04-17 23:59:11 +01:00
2021-12-05 21:23:06 +00:00
{% block title %}Troggle Error - Generic{% endblock %}
{% block content %}
<div class='middle'>
2021-12-05 21:23:06 +00:00
<h2>Troggle Error</h2>
</div>
2021-04-17 23:59:11 +01:00
<a href="/piclinks/wkmob.htm"><img align="right" style="margin:10px" src="/images/wkmob.jpg"></a>
2021-12-05 21:23:06 +00:00
<div class='middle3 login'>
<div class='space'></div>
<div class='align-center'>
<h3>There has been an error. This is either bad data troggle can't cope with (yet), or a bug in the software.</h3>
2021-12-05 21:23:06 +00:00
<h4>
2021-04-20 22:58:41 +01:00
2021-12-05 21:23:06 +00:00
<font color="red">
2021-04-20 22:58:41 +01:00
{% if message %}
2021-12-30 23:27:42 +00:00
<pre>
2021-04-20 22:58:41 +01:00
{{message}}
2021-12-30 23:27:42 +00:00
</pre>
2021-04-20 22:58:41 +01:00
{% else %}
<p>We are terribly sorry but an unknown fault has occurred. </p>
2021-12-05 21:23:06 +00:00
{% endif %}
</font>
</h4>
<div class='space'><p>&nbsp;</div>
<h3>What you should do now</h3>
<p>Please report the error by emailing the nerds at
<a href="mailto:expo-tech@lists.wookware.org">expo-tech@lists.wookware.org</a> with this information:
<ol>
<li>The error message written in <font color="red">red</font> above.
<li>The previous page URL: <font color="red">
<script type="text/javascript">
document.write(document.referrer);
</script></font>
<li>Go back to this previous page <script type="text/javascript">
document.write("<a href='",document.referrer,"'>",document.referrer,"</a>");
</script>
and see if you can tell whether the bad page reference was in HTML text which had been written manually, or whether it appeared to be a programming error.
</ol>
</div>
</div>
</div>
{% endblock %}