forked from expo/troggle
better error pages
This commit is contained in:
@@ -1,11 +1,39 @@
|
||||
{% 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'>
|
||||
<div class='space'></div>
|
||||
|
||||
Reference in New Issue
Block a user