2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-17 01:07:07 +00:00
Files
troggle/templates/base.html
2025-01-28 19:56:16 +00:00

67 lines
1.9 KiB
HTML

<!DOCTYPE html>
<!-- base.html - this text visible because this template has been included -->
<html lang="en">
<head>
<script>document.interestCohort = null;</script> <!-- Turn off Google FLoC -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="{{ settings.MEDIA_URL }}css/trog3.css" title="troggle-style"/>
<title>{% block title %}Troggle{% endblock %}</title>
{% block head %}{% endblock %}
</head>
<body>
{% if year %}
{% firstof year as current_year %}
{% else %}
{% now "Y" as current_year %} <!-- the year now -->
{% endif %}
{% now "Y" as now_year %} <!-- the year now as used in header text -->
<div id="header">
<h1>CUCC Expeditions to Austria: 1976 - {{now_year}}</h1>
<div id="editLinks"> {% block loginInfo %}
{% if settings.DEVSERVER %}<b style="color:red; font-size:x-large">RUNNING ON LOCALSERVER</b>&nbsp;&nbsp;{% endif %}
<a href="/">Home</a> |
<a id="cuccLink" href="http://camcaving.uk/">CUCC</a> |
<a id="expoWebsiteLink" href="http://expo.survex.com">expo.survex</a> |
<a id="handbook" href="/handbook/index.htm">Handbook</a> |
{% if user.person %}User:(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>)
| <a href='/accounts/logout/'>Log out</a>
{% elif user.username %}User:{{ user.username }}
| <a href='/accounts/logout/'>Log out</a>
{% else %}
| <a href='/accounts/login/'>Log in</a>
{% endif %}
| <a href='/accounts/register/'>Register</a>
{% endblock%}
</div>
</div>
{% block toolbar %}{% include 'troggletoolbar.html' %}{% endblock %}
<div id="nav">
{% block nav %}
<!-- Not used any more? -->
{% endblock %}
</div>
<div id="content" >
{% block contentheader %}
{% endblock %}
<div id="related">
{% block related %}
{% endblock %}
</div>
{% block content %}
REPLACE : The content
{% endblock %}
</div>
<div class="footer">
</div>
</body>
</html>