|
@@ -1,40 +1,14 @@
|
1
|
1
|
<!-- Static navbar -->
|
2
|
2
|
<div class="navbar navbar-default" role="navigation">
|
3
|
3
|
<div class="container-fluid">
|
4
|
|
- {% if rtl %}
|
5
|
|
- <div class="navbar-collapse collapse navbar-left">
|
6
|
|
- <ul class="nav navbar-nav navbar-left"> <!-- results.html -->
|
7
|
|
- <li{% if template_name == 'preferences.html' %} class="active"{% endif %}><a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a></li>
|
8
|
|
- <li{% if template_name == 'about.html' %} class="active"{% endif %}><a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a></li>
|
9
|
|
- <li{% if template_name == 'index.html' %} class="active"{% endif %}><a href="{{ url_for('index') }}" class="hmarg">{{ _('home') }}</a></li>
|
10
|
|
- </ul>
|
11
|
|
- </div>
|
12
|
|
- <div class="navbar-header navbar-right">
|
13
|
|
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
|
14
|
|
- <span class="sr-only">{{ _('Toggle navigation') }}</span>
|
15
|
|
- <span class="icon-bar"></span>
|
16
|
|
- <span class="icon-bar"></span>
|
17
|
|
- <span class="icon-bar"></span>
|
18
|
|
- </button>
|
19
|
|
- <a class="navbar-brand" href="{{ url_for('index') }}">{{ instance_name }}</a>
|
20
|
|
- </div>
|
21
|
|
- {% else %}
|
22
|
|
- <div class="navbar-header">
|
23
|
|
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
|
24
|
|
- <span class="sr-only">{{ _('Toggle navigation') }}</span>
|
25
|
|
- <span class="icon-bar"></span>
|
26
|
|
- <span class="icon-bar"></span>
|
27
|
|
- <span class="icon-bar"></span>
|
28
|
|
- </button>
|
|
4
|
+ <div class="navbar-header{% if rtl %} navbar-right{% endif %}">
|
29
|
5
|
<a class="navbar-brand" href="{{ url_for('index') }}">{{ instance_name }}</a>
|
30
|
6
|
</div>
|
31
|
|
- <div class="navbar-collapse collapse">
|
32
|
|
- <ul class="nav navbar-nav navbar-right"> <!-- results.html -->
|
33
|
|
- <li{% if template_name == 'index.html' %} class="active"{% endif %}><a href="{{ url_for('index') }}" class="hmarg">{{ _('home') }}</a></li>
|
34
|
|
- <li{% if template_name == 'about.html' %} class="active"{% endif %}><a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a></li>
|
35
|
|
- <li{% if template_name == 'preferences.html' %} class="active"{% endif %}><a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a></li>
|
36
|
|
- </ul>
|
37
|
|
- </div><!--/.nav-collapse -->
|
38
|
|
- {% endif %}
|
39
|
7
|
</div><!--/.container-fluid -->
|
40
|
8
|
</div>
|
|
9
|
+<div class="menu menu-{% if rtl %}left{% else %}right{% endif %}">
|
|
10
|
+ <ul> <!-- results.html -->
|
|
11
|
+ <li{% if template_name == 'about.html' %} class="active"{% endif %}><a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a></li>
|
|
12
|
+ <li{% if template_name == 'preferences.html' %} class="active"{% endif %}><a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a></li>
|
|
13
|
+ </ul>
|
|
14
|
+</div><!--/.nav-collapse -->
|