Fixes.
[wolnelektury.git] / src / wolnelektury / templates / board_base.html
1 {% extends "board_base.html" %}
2 {% load i18n %}
3
4 {% block header %}
5
6 <div class="navbar-fixed-top-spacing">&nbsp;</div>
7 <div class="navbar navbar-default navbar-fixed-top machina-navbar" role="navigation" style="background:black; color: white;">
8   <div class="container">
9     <div class="navbar-header">
10       <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
11         <span class="sr-only">Toggle navigation</span>
12         <span class="icon-bar"></span>
13         <span class="icon-bar"></span>
14         <span class="icon-bar"></span>
15       </button>
16       <a class="" href="/"><img src="https://static.wolnelektury.pl/img/logo-neon.71fa40570160.png" alt="Towarzystwo Przyjaciół Wolnych Lektur" style="height:50px"></a>
17     </div>
18     <div class="collapse navbar-collapse">
19       {% block header_collapse %}
20       <div class="col-sm-7 col-md-8 col-lg-7">
21         <form class="navbar-form form-inline" role="search" action="{% url 'forum_search:search' %}">
22           <div class="form-group col-sm-6 col-md-7">
23             <div class="input-group">
24               <input type="text" class="form-control" placeholder="{% trans 'Search...' %}" name="q">
25               <div class="input-group-btn">
26                 <button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
27               </div>
28             </div>
29           </div>
30           <div class="form-group col-sm-5">
31             <a href="{% url 'forum_search:search' %}" class="btn btn-link">{% trans "Advanced search" %}</a>
32           </div>
33         </form>
34       </div>
35
36       <div class="col-sm-3 col-md-2 col-lg-2 navbar-right">
37            <div style="padding: 1em">
38               {{ user }}
39            </div>
40       </div>
41       {% endblock header_collapse %}
42     </div>
43   </div>
44 </div>
45
46
47
48 {% endblock header %}