summaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authorsubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:08:04 +0100
committersubstantialnoninfringinguser <substantialnoninfringinguser@gmail.com>2009-05-13 06:08:04 +0100
commit157f11b65900f7f36c7d9a060c8162c4250d584a (patch)
treefa271a36876e30341e2708707e05211f11b46631 /templates/base.html
parent256de6e083926d526b419e4c698465b9bb2d7e21 (diff)
downloadtroggle-157f11b65900f7f36c7d9a060c8162c4250d584a.tar.gz
troggle-157f11b65900f7f36c7d9a060c8162c4250d584a.tar.bz2
troggle-157f11b65900f7f36c7d9a060c8162c4250d584a.zip
[svn] Added QM wiki markup. The format is [[cave:204 QM:2005-04A]] with the grade (A) being optional. The links color red if the QM does not exist, and in that case clicking on them goes to an admin add page with fields prepopulated.
Various other little things, e.g. filled in the footer with links. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8305 by aaron @ 3/16/2009 8:53 AM
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html56
1 files changed, 17 insertions, 39 deletions
diff --git a/templates/base.html b/templates/base.html
index 8c79f87..bf31676 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,16 +3,12 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href="{{ settings.MEDIA_URL }}css/main3.css" />
-
<title>{% block title %}THE TITLE{% endblock %}</title>
-
<script src="{{ settings.MEDIA_URL }}js/base.js" type="text/javascript"></script>
{% block head %}{% endblock %}
</head>
-
<body>
-
-<div>
+<div class="wrapper">
<div id="expoHeader"> <img id="frontPageBanner" src="{{ settings.MEDIA_URL }}loserBanner.jpg"/>
<div id="expoHeaderText">
<h1>CUCC Expeditions to Austria: 1976 - </h1>
@@ -22,46 +18,28 @@
</div>
</div>
<hr/>
- <div id="editLink">
- {% block loginInfo %}
- {% if user.username %}
- You are logged in as {{ user.username }}.
- | <a href="{{ settings.URL_ROOT }}/accounts/logout">Log out</a>
- {% else %}
- <a href="{{ settings.URL_ROOT }}/accounts/register">Sign up</a>
- | <a href="{{ settings.URL_ROOT }}/accounts/login">Log in</a>
- {% endif %}
+ <div id="editLink"> {% block loginInfo %}
+ {% if user.username %}
+ You are logged in as {{ user.username }}.
+ | <a href="{{ settings.URL_ROOT }}/accounts/logout/">Log out</a> {% else %} <a href="{{ settings.URL_ROOT }}/accounts/register">Sign up</a> | <a href="{{ settings.URL_ROOT }}/accounts/login/">Log in</a> {% endif %}
{% endblock%}
| <a href="{{ settings.URL_ROOT }}">Home </a> |
- {% block editLink %}
-
- {% endblock %}
- </div>
-</div>
-
-
-
+ {% block editLink %}
+
+ {% endblock %} </div>
{% block nav %}
<!-- Use id="nav" for the left side menu -->
- {% endblock %}
-
-
-
-<div id="content" >
-{% block contentheader %}
-{% endblock %}
-{% block content %}
+ {% endblock %}
+ <div id="content" > {% block contentheader %}
+ {% endblock %}
+ {% block content %}
REPLACE : The content
-{% endblock %}
-<br class="clearfloat" /> <!--This is to ensure that the content div expands around floated objects*/-->
+ {% endblock %} <br class="clearfloat" />
+ <!--This is to ensure that the content div expands around floated objects*/-->
+ </div>
</div>
-
-
-<div id="footer">
-{% block footer %}
- THE FOOTER
-{% endblock %}
+<div class="push"></div>
</div>
+<div id="footer"> {% block footer %} <a href="http://cucc.survex.com"> CUCC website</a>| <a href="http://cucc.survex.com/expo"> Expedition website </a>| <a href="{% url frontpage %}"> Troggle front page </a>| <a href="{% url caveindex %}"> All caves </a>| <a href="{% url personindex %}"> All cavers </a>| <a href="{% url caveindex %}"> Virtual survey binder </a>| <a href="{% url survey %}"> Expedition statistics </a>| <a href="{% url calendar 2007 %}"> Expedition calendar </a> {% endblock %} </div>
</body>
</html>
-