]> git.0d.be Git - panikweb.git/commitdiff
search: indentation and div structure
authorlaron <simon@surlaterre.org>
Sun, 22 Sep 2013 13:00:42 +0000 (15:00 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 22 Sep 2013 13:41:54 +0000 (15:41 +0200)
panikweb_templates/templates/search/search.html

index b65863254b404c1640548a2c0a3c0353f6d7c57b..cc56094e439183c7af1944ebba7d64e15636ef9f 100644 (file)
@@ -4,12 +4,18 @@
 {% block bodyID %}Search{% endblock %}
 {% block title %}Recherche{% endblock %}
 {% block nav %}        
-<div class="search">
-    <form method="get" action="." class="big center" id="search-form">
-            {{ form.as_table }}<button class="icon-search"></button>
-    </form>
+<div class="mainSub">
+    <div class="wrapper">
+        <nav>
+        <form method="get" action="." class="big marged" id="search-form">
+                {{ form.as_table }}<button class="icon-search"></button>
+        </form>
+        </nav>
+    </div>
+</div>
+<div class="wrapper">
        {% if query or selected_tags %}
-               <nav class="mainSub">
+               <nav class="">
                    {% if facets.fields.categories %}
                    <ul class="custom padded">
                                <li><span class="mainLabel">Genre:</span></li>
@@ -49,6 +55,7 @@
 
                </nav>
        {% endif %}
+    </div>
 </div>
 {% endblock %}