Commit 9ae30d6c543b88cfa37b3be94b2328a686ee2e60

Authored by Matheus Fernandes
Committed by Carlos Coêlho
1 parent 75ac7fa3

Fixed search containers

Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com>
Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html
@@ -46,21 +46,8 @@ @@ -46,21 +46,8 @@
46 <hr/> 46 <hr/>
47 47
48 <div class="row"> 48 <div class="row">
49 -  
50 - <form class="col-xs-12 col-sm-12 hidden-md hidden-lg" action="{% url "haystack_search" %}">  
51 - <div class="input-group">  
52 - <input type="text" class="form-control" name="q" placeholder="{% trans "Search here" %}"  
53 - {% if request.GET.q %}value="{{ request.GET.q }}"{% endif %} />  
54 - <div class="input-group-btn">  
55 - <button type="submit" class="btn btn-primary">  
56 - <span class="glyphicon glyphicon-search"></span>  
57 - </button>  
58 - </div>  
59 - </div>  
60 - </form>  
61 - <br />  
62 -  
63 <div class="col-md-12 col-lg-12"> 49 <div class="col-md-12 col-lg-12">
  50 + <div class="container">
64 {% for result in page.object_list %} 51 {% for result in page.object_list %}
65 {% include "message-preview.html" %} 52 {% include "message-preview.html" %}
66 {% empty %} 53 {% empty %}
@@ -73,6 +60,7 @@ @@ -73,6 +60,7 @@
73 </li> 60 </li>
74 </ul> 61 </ul>
75 {% endfor %} 62 {% endfor %}
  63 + </div>
76 64
77 {% if page.has_other_pages %} 65 {% if page.has_other_pages %}
78 <div class="text-center"> 66 <div class="text-center">