Commit a13c3763e027a2c561daac11f1c4a397b1be2119
1 parent
ce7c9f08
Exists in
master
and in
53 other branches
Revert "Fixed search containers"
This reverts commit 9ae30d6c543b88cfa37b3be94b2328a686ee2e60.
Showing
1 changed file
with
14 additions
and
2 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html
| ... | ... | @@ -46,8 +46,21 @@ |
| 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 | + | |
| 49 | 63 | <div class="col-md-12 col-lg-12"> |
| 50 | - <div class="container"> | |
| 51 | 64 | {% for result in page.object_list %} |
| 52 | 65 | {% include "message-preview.html" %} |
| 53 | 66 | {% empty %} |
| ... | ... | @@ -60,7 +73,6 @@ |
| 60 | 73 | </li> |
| 61 | 74 | </ul> |
| 62 | 75 | {% endfor %} |
| 63 | - </div> | |
| 64 | 76 | |
| 65 | 77 | {% if page.has_other_pages %} |
| 66 | 78 | <div class="text-center"> | ... | ... |