about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-03-26 19:51:49 +0300
committerBonfaceKilz2024-03-27 17:59:06 +0300
commit82620a85d2a7aaeca2ea56519a1d5fb2828e2bf2 (patch)
tree9557d10e6206c0b6ed29a20d1c5340d5e021c3e1
parent3e24008aa89738fe0b481437f4c722c398aadd53 (diff)
downloadgenenetwork2-82620a85d2a7aaeca2ea56519a1d5fb2828e2bf2.tar.gz
Wrap "search" block round entire div that nests the search box.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
-rw-r--r--gn2/wqflask/templates/base.html13
1 files changed, 6 insertions, 7 deletions
diff --git a/gn2/wqflask/templates/base.html b/gn2/wqflask/templates/base.html
index a036f4d2..4d6273bf 100644
--- a/gn2/wqflask/templates/base.html
+++ b/gn2/wqflask/templates/base.html
@@ -162,14 +162,13 @@
                                 Profile
                             </a>
                         </li>
-                        {%endif%}
+                        {% endif %}
                     </ul>
                 </div>
             </div>
         </div>
+	{% block search %}
         <div class="container-fluid" style="width: 100%; min-width: 650px; position: relative;background-color: #d5d5d5; height: 100px;">
-
-            {% block search %}
             <form method="get" action="/gsearch" id="globalsearchform">
 		<div class="form-group">
                     <div class="controls">
@@ -195,10 +194,10 @@
 			</span>
 		    </div>
 		</div>
-	    </form>
-            {% endblock %}
-
-            {% block content %}
+		    </form>
+	</div>
+	{% endblock %}
+        {% block content %}
             {% endblock %}
 
             <footer class="footer">