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

index da69ba8422c727f7798f05c22faaebf50fa7d86d..94c8a7fcb6a8ac832c342b0155062274ea923999 100644 (file)
@@ -42,8 +42,9 @@
 </div>
 {% endif %}
 {% if emission %}
-<div class="wrapper">
-               <header class="mainHeader">
+<div class="wrapper navigation">
+       <header class="mainHeader marged cf">
+            <div class="leftPart">
                        <h2 class="squashed title">
                                <a href="{% url 'emission-view' slug=emission.slug %}">{{ emission.title }}</a>
                        </h2>
                        {% endfor%}
                        </div>
                {% endif %}
-               </header>
+            </div>
+            <div class="rightPart">
+                        <form method="get" action="." class="" id="search-form">
+                                <label for="id_q">Rechercher:</label><input id="id_q" name="q" type="text"><button class="icon-search"></button>
+                        </form>
+            </div>
+           </header>
 </div>
 
 {% endif %}