]> git.0d.be Git - panikweb.git/commitdiff
add search form to home page
authorlaron <simon@surlaterre.org>
Sun, 22 Sep 2013 12:57:48 +0000 (14:57 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 22 Sep 2013 13:41:54 +0000 (15:41 +0200)
panikweb_templates/templates/home.html

index 0fec88e37608f53af516b2d5a0eaa45ce4e65f54..e4817d06d8dd3fb12a3c4ba5c073551a8ec7e144 100644 (file)
@@ -5,11 +5,22 @@
 {% block bodyID %}Home{% endblock %}
 {% block title %}Home{% endblock %}
 {% block nav %}
+<div  class="mainSub">
+    <div class="wrapper">
+        <nav>
+        <form method="get" action="." class="big marged" id="search-form">
+                <label for="id_q">Rechercher:</label><input id="id_q" name="q" type="text"><button class="icon-search"></button>
+        </form>
+        </nav>
+    </div>
+</div>
+{% endblock %}
+{% block main %}
+<div class="marged">
        {% with focus as news %}
                {% newsroll %}
        {% endwith %}
-{% endblock %}
-{% block main %}
+</div>
 
 
 <div class="sided wrapper">