summaryrefslogtreecommitdiffstats
path: root/templates/menu.html
blob: 45bb8a070b0237c2e49ddc9b153c887ad49aa112 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{% 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 %}
{% if settings.DEVSERVER %}
<li><a href="https://expo.survex.com/kanboard/board/2">Kanboard</a></li>
{% else %}
<li><a href="/kanboard/board/2">Kanboard</a></li>
{% endif %}
<li><a href="/handbook/troggle/training/trogbegin.html">Troggle</a></li>

<li><form name=P method=get 
{% if settings.DEVSERVER %}
action="https://expo.survex.com/search"
{% else %}
action="/search" 
{% endif %}

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 %}