mirror of
https://github.com/searxng/searxng.git
synced 2024-11-18 17:01:01 +00:00
40 lines
2.5 KiB
HTML
40 lines
2.5 KiB
HTML
<!-- Static navbar -->
|
|
<div class="navbar navbar-default" role="navigation">
|
|
<div class="container-fluid">
|
|
{% if rtl %}
|
|
<div class="navbar-collapse collapse navbar-left">
|
|
<ul class="nav navbar-nav navbar-left"> <!-- results.html -->
|
|
<li{% if template_name == 'preferences.html' %} class="active"{% endif %}><a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a></li>
|
|
<li{% if template_name == 'about.html' %} class="active"{% endif %}><a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a></li>
|
|
<li{% if template_name == 'index.html' %} class="active"{% endif %}><a href="{{ url_for('index') }}" class="hmarg">{{ _('home') }}</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="navbar-header navbar-right">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">{{ _('Toggle navigation') }}</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="{{ url_for('index') }}">{{ instance_name }}</a>
|
|
</div>
|
|
{% else %}
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="sr-only">{{ _('Toggle navigation') }}</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="{{ url_for('index') }}">{{ instance_name }}</a>
|
|
</div>
|
|
<div class="navbar-collapse collapse">
|
|
<ul class="nav navbar-nav navbar-right"> <!-- results.html -->
|
|
<li{% if template_name == 'index.html' %} class="active"{% endif %}><a href="{{ url_for('index') }}" class="hmarg">{{ _('home') }}</a></li>
|
|
<li{% if template_name == 'about.html' %} class="active"{% endif %}><a href="{{ url_for('about') }}" class="hmarg">{{ _('about') }}</a></li>
|
|
<li{% if template_name == 'preferences.html' %} class="active"{% endif %}><a href="{{ url_for('preferences') }}" class="hmarg">{{ _('preferences') }}</a></li>
|
|
</ul>
|
|
</div><!--/.nav-collapse -->
|
|
{% endif %}
|
|
</div><!--/.container-fluid -->
|
|
</div>
|