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

50 lines
2.0 KiB
HTML

{% if not homepage %}
<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/photo.htm">Photography guide</a></li>
</ul>
{% endif%}</li>
<li><a href="/handbook/computing/onlinesystems.html">Online systems</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>
{% ifequal parent_cave.kataster_number "161" %}
<li><a href="/1623/161/names.htm">KH Glossary</a></li>
{% endifequal %}
{% 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/{{ year }}">{{ year }}</a></li></ul>
{% endif %}
<li><a href="/guidebook/areas.htm">Areas</a></li>
<li><a href="/expedition/2019">Troggle</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"></li>
{% if editable %}<li><a href="{% url "editexpopage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
{% if cave_editable %}<li><a href="{% url "edit_cave" cave.slug %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
</ul>
</div>
{% endif %}