2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-28 02:01:51 +00:00
troggle/templates/menu.html

63 lines
2.6 KiB
HTML

{% if not homepage %}
{% if year %}
{% firstof year as current_year %}
{% else %}
{% now "Y" as current_year %} <!-- the year now -->
{% endif %}
<div id="menu">
<ul id="menulinks">
<li><a href="/index.htm">Home</a></li>
<li><a href="/handbook/index.htm">Handbook</a>
{% if handbook %}
<ul>
<li><a href="/handbook/rig/rigit.html">Rigging guide</a></li>
<li><a href="/handbook/survey/index.htm">Surveying guide</a></li>
<li><a href="/handbook/look4.htm">Prospecting guide</a></li>
<li><a href="/handbook/rescue.htm">Rescue guide</a></li>
<li><a href="/handbook/essentials.html">GPS guide</a></li>
</ul>
{% endif%}</li>
<li><a href="/handbook/computing/onlinesystems.html">Online systems</a></li>
<li><a href="/handbook/logbooks.html#form">Make Logbook Entry</a></li>
<li><a href="/caves">Caves</a>
{% if parent_caves %}
<ul>
{% for parent_cave in parent_caves %}
<li><a href="/{{ parent_cave.url }}">
{% if parent_cave.kataster_number %}
{{ parent_cave.kataster_number }} {{parent_cave.official_name|safe}}</a>
{% if parent_cave.unofficial_number %}
({{parent_cave.unofficial_number }})
{% endif %}
{% else %}
{{parent_cave.unofficial_number }} {{parent_cave.official_name|safe}}</a>
{% endif %}</li>
{% if parent_cave.kataster_number == "161" %}
<li><a href="/1623/161/names.htm">KH Glossary</a></li>
{% endif %}
{% endfor %}
</ul>
{% endif%}</li>
<li><a href="/infodx.htm">Site index</a></li>
<li><a href="/pubs.htm">Reports</a></li>
{% if year %}
<ul><li><a href="/years/{{current_year}}">{{ year }}</a></li></ul>
{% endif %}
<!--<li><a href="/guidebook/areas.htm">Areas</a></li>-->
<li><a href="/expedition/{{current_year}}">Troggle</a></li>
<li><a href="/handbook/troggle/training/trogbegin.html"><span style="color:red">Self-training</span></a></li>
<li><form name=P method=get action="/search" target="_top">
<input id="omega-autofocus" type=search name=P size=8 autofocus>
<input type=submit value="Search"></form></li>
{% if editable %}<li><a href="{% if local %}https://expo.survex.com{% endif %}{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
{% if cave_editable %}<li><a href="{% if local %}https://expo.survex.com{% endif %}{% url "edit_cave" cave.url_parent cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
<li> {% if settings.DEVSERVER %}<b style="color:red">RUNNING ON LOCALSERVER</b> <br>slug:{{ cave.slug }}<br>newslug:{{ cave.newslug }}<br>url:{{ cave.url }}{% endif %}
</ul>
</div>
{% endif %}