Commit 4b87c95c5dca4540bda72d13225dcbcefdc4e629

Authored by Sergio Oliveira
1 parent 1bec2687

Fixing search form to use bootstrap classes

src/colab/deprecated/templates/base.html
... ... @@ -27,7 +27,7 @@
27 27 var _gaq = _gaq || [];
28 28 _gaq.push(['_setAccount', 'UA-30841845-2']);
29 29 _gaq.push(['_trackPageview']);
30   -
  30 +
31 31 (function() {
32 32 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
33 33 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
... ... @@ -80,7 +80,7 @@
80 80 <a href="http://colab.interlegis.gov.br/wiki" target="_blank">{% trans "Wiki" %}</a>
81 81 </span>
82 82 <span class="col-sm-2 col-lg-1 text-center">
83   - <a href="http://listas.interlegis.gov.br/mailman/listinfo/"
  83 + <a href="http://listas.interlegis.gov.br/mailman/listinfo/"
84 84 target="_blank">{% trans "Contribute" %}</a>
85 85 </span>
86 86 <span class="col-sm-3 col-lg-2 text-center">
... ... @@ -92,10 +92,11 @@
92 92 </span>
93 93  
94 94 <span class="col-sm-6 col-lg-5 text-center">
95   - <form action="/search/" method="GET">
96   - <input name="q" id="header-searchbox" value="{{ request.GET.q }}"
97   - type="text" placeholder="{% trans 'Search here...' %}" />
98   - <input type="submit" value="{% trans 'Search' %}"></input>
  95 + <form action="/search/" method="GET" class="form-inline" role="form">
  96 + <input name="q" id="header-searchbox"
  97 + class="form-control" value="{{ request.GET.q }}"
  98 + type="search" placeholder="{% trans 'Search here...' %}" />
  99 + <input type="submit" value="{% trans 'Search' %}" class="btn btn-default"></input>
99 100 </form>
100 101 </span>
101 102 </div>
... ...
src/colab/static/css/screen.css
... ... @@ -4,7 +4,7 @@
4 4 }
5 5  
6 6 #header-menu {
7   - line-height: 33px;
  7 + line-height: 50px;
8 8 }
9 9  
10 10 #header-hr {
... ...