Commit 605b3b2555e56ed69b1397dad0aac68c678ceb7a
Committed by
Luciano Prestes
1 parent
3ed26864
Exists in
master
and in
51 other branches
Fixed search containers
Signed-off-by: Matheus Fernandes <matheus.souza.fernandes@gmail.com> Signed-off-by: Lucas Kanashiro <kanashiro.duarte@gmail.com>
Showing
1 changed file
with
2 additions
and
14 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html
| ... | ... | @@ -46,21 +46,8 @@ |
| 46 | 46 | <hr/> |
| 47 | 47 | |
| 48 | 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 | 49 | <div class="col-md-12 col-lg-12"> |
| 50 | + <div class="container"> | |
| 64 | 51 | {% for result in page.object_list %} |
| 65 | 52 | {% include "message-preview.html" %} |
| 66 | 53 | {% empty %} |
| ... | ... | @@ -73,6 +60,7 @@ |
| 73 | 60 | </li> |
| 74 | 61 | </ul> |
| 75 | 62 | {% endfor %} |
| 63 | + </div> | |
| 76 | 64 | |
| 77 | 65 | {% if page.has_other_pages %} |
| 78 | 66 | <div class="text-center"> | ... | ... |