2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-30 22:01:53 +00:00
troggle/templates/base.html

92 lines
3.2 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/computing/onlinesystems.html">Handbook</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 %}
{% endblock%}
</div>
</div>
{% if settings.DEVSERVER %}
<div class="toolbarlinkslocal">
{% else %}
<div class="toolbarlinks">
{% endif %}
<a href="/logbookedit/">Logbook Entry</a> |
<!--<a href="/1626/359/359.html">359 (HC)</a> |-->
<a id="cavesLink" href="/caves">Caves</a> |
<a id="qmsLink" href="{% url "caveQMs" "1623-290" %}">QMs</a> |
<a href="/survexfile/">Survex</a> |
<a href="{% url "survexcaveslist" %}">All Survex</a> |
<a href="{% url "allscans" %}">Scans</a> |
<a href="{% url "walletedit" %}">Upload Scans</a> |
<a href="{% url "dwgallfiles" %}">Drawings</a> |
<a href="{% url "dwgupload" %}">Upload Drawings</a> |
<a href="{% url "photoupload" %}">Upload Photos</a> |
<a href="{% url "gpxupload" %}">Upload GPX</a> |
<br>
<a href="{% url "dataissues" %}">Data Issues</a> |
<a href="/handbook/computing/todo-data.html">tasks to do </a> |
<a id="entsLink" href="{% url "entranceindex" %}">ents</a> |
<a id="folklink" href="/folk">expoers</a> |
<a id="caversLink" href="{% url "notablepersons" %}">survey lengths</a> |
<a href="{% url "stats" %}">statistics</a> |
<a href="/survexfilewild/{{current_year}}">Wild Survex({{current_year}})</a> |
<a href="/wallets/year/{{current_year}}">Wallets({{current_year}})</a> |
<a href="{% url "expedition" current_year %}">Expo({{current_year}})</a> |
<a href="{% url "controlpanel" %}">Control panel</a> |
</div>
<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>