diff options
author | Philip Sargent <philip.sargent@klebos.com> | 2021-04-17 23:59:11 +0100 |
---|---|---|
committer | Philip Sargent <philip.sargent@klebos.com> | 2021-04-17 23:59:11 +0100 |
commit | eea74406c9ba0e7554a75e98ae7bb6792a164e11 (patch) | |
tree | dc0e2d091fef34aef3d66f6117c5b2694bf865c9 /templates | |
parent | d4317b5fd33961847fda17f3a94afb2f7414b657 (diff) | |
download | troggle-eea74406c9ba0e7554a75e98ae7bb6792a164e11.tar.gz troggle-eea74406c9ba0e7554a75e98ae7bb6792a164e11.tar.bz2 troggle-eea74406c9ba0e7554a75e98ae7bb6792a164e11.zip |
fix template bug for newentrance
Diffstat (limited to 'templates')
-rw-r--r-- | templates/caveindex.html | 2 | ||||
-rw-r--r-- | templates/errors/generic.html | 30 | ||||
-rw-r--r-- | templates/pagenotfound.html | 2 |
3 files changed, 4 insertions, 30 deletions
diff --git a/templates/caveindex.html b/templates/caveindex.html index d4443d4..af0f56c 100644 --- a/templates/caveindex.html +++ b/templates/caveindex.html @@ -28,7 +28,7 @@ <p style="text-align:right"> <a href="{% url "newcave" %}">New Cave</a><br> - <a href="{% url "newentrance" %}">New Entrance</a><br> + <a href="{% url "newentrance" "1623-000" %}">New Entrance</a><br> <a href="/noinfo/cave-number-index">Cave Number Index - kept updated</a> </p> <h3>1623</h3> diff --git a/templates/errors/generic.html b/templates/errors/generic.html index a132ec0..66655a1 100644 --- a/templates/errors/generic.html +++ b/templates/errors/generic.html @@ -1,38 +1,12 @@ {% extends 'base.html' %} -{% block extrahead %} -<style> -div#editLinks { - Zposition:absolute; - background: #999; - bottom:0px; - right:0px; - font-family: "Courier New", Courier, monospace; - filter:alpha(opacity=75); - -moz-opacity:.75; - opacity:.75; - text-align:right; -} - -div#editLinks a{ - color:#FFF; -} -</style> -{% endblock %} + {% block title %}Website Error - {% endblock %} {% block content %} <div class='middle'> <h2>Website Error</h2> </div> - <div id="editLinks"> {% block loginInfo %} - <a href="/">Home</a> | - <a id="cuccLink" href="http://camcaving.uk/">CUCC</a> | - <a id="expoWebsiteLink" href="http://expo.survex.com">expo.survex</a> | - {% if user.username %}User:{{ user.username }} - {% if user.person %}(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>){% endif %} - | <a <a href='/accounts/logout/'>Log out</a> {% else %} <a href='/accounts/login/'>Log in</a> {% endif %} - </div> - {% endblock%} + <div style='width: 300px;' class='middle3 login'> <div class='align-center'> diff --git a/templates/pagenotfound.html b/templates/pagenotfound.html index d59ffaa..fe87445 100644 --- a/templates/pagenotfound.html +++ b/templates/pagenotfound.html @@ -34,7 +34,7 @@ div#editLinks a{ </div> {% endblock%} -<p>Probably a mistake. But you can use <a href="{%url "editexpopage" path %}">this link</a> +<p>Probably a mistake. But you can try <a href="{%url "editexpopage" path %}">this link</a> or <a href="{{ path }}/edit">this one</a> to fix a real error. <p> or 'Edit this page' in the menu on the left to create this page if you are logged in. <ul> |