summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorExpo on server <expo@expo.survex.com>2020-05-02 03:13:21 +0100
committerExpo on server <expo@expo.survex.com>2020-05-02 04:14:32 +0100
commit2918b4b92c65e66e0cf85738d2827bc34ccd2196 (patch)
tree6747f3692e324c5586bc97a00a088874bee5be1f
parent39c622d5bfab0ddd4c75b9d643ecbe10d724e022 (diff)
downloadtroggle-2918b4b92c65e66e0cf85738d2827bc34ccd2196.tar.gz
troggle-2918b4b92c65e66e0cf85738d2827bc34ccd2196.tar.bz2
troggle-2918b4b92c65e66e0cf85738d2827bc34ccd2196.zip
Add simple search function to default menu
-rw-r--r--templates/menu.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/menu.html b/templates/menu.html
index 8870bb3..6dabc9d 100644
--- a/templates/menu.html
+++ b/templates/menu.html
@@ -7,6 +7,10 @@
<li><a href="/areas.htm">Areas</a></li>
<li><a href="/indxal.htm">Caves</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 value="testing" size=8 autofocus></li>
+ <input type=submit value="Search">
{% if editable %}<li><a href="{% url "editflatpage" path %}" class="editlink"><strong>Edit this page</strong></a></li>{% endif %}
{% if cave_editable %}<li><a href="{% url "edit_cave" cave_editable %}" class="editlink"><strong>Edit this cave</strong></a></li>{% endif %}
</ul>