diff options
author | Noémi Ványi <sitbackandwait@gmail.com> | 2017-01-26 21:28:31 +0100 |
---|---|---|
committer | Noémi Ványi <sitbackandwait@gmail.com> | 2017-01-26 23:52:00 +0100 |
commit | d635b5fd4dc684ecbc2aec7c9e9b3bdc6074b8ad (patch) | |
tree | 5f9e69f87c5b81e8f06958bcfce30de0f0a76cb4 /searx/templates | |
parent | f0a72e3aa26ca0912df70d68d37f976e3ded9d49 (diff) | |
download | searxng-d635b5fd4dc684ecbc2aec7c9e9b3bdc6074b8ad.tar.gz searxng-d635b5fd4dc684ecbc2aec7c9e9b3bdc6074b8ad.zip |
[enh] make navbar smaller
Diffstat (limited to 'searx/templates')
-rw-r--r-- | searx/templates/oscar/navbar.html | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/searx/templates/oscar/navbar.html b/searx/templates/oscar/navbar.html index d12de7dab..12bf14ffa 100644 --- a/searx/templates/oscar/navbar.html +++ b/searx/templates/oscar/navbar.html @@ -1,14 +1,9 @@ -<!-- Static navbar --> -<div class="navbar navbar-default" role="navigation"> - <div class="container-fluid"> - <div class="navbar-header{% if rtl %} navbar-right{% endif %}"> - <a class="navbar-brand" href="{{ url_for('index') }}">{{ instance_name }}</a> - </div> - </div><!--/.container-fluid --> +<div class="searx-navbar"> + <span class="instance {% if rtl %}pull-right{% else %}pull-left{% endif%}"> + <a href="{{ url_for('index') }}">{{ instance_name }}</a> + </span> + <span class="{% if rtl %}pull-left{% else %}pull-right{% endif %}"> + <a href="{{ url_for('about') }}">{{ _('about') }}</a> + <a href="{{ url_for('preferences') }}">{{ _('preferences') }}</a> + </span> </div> -<div class="menu menu-{% if rtl %}left{% else %}right{% endif %}"> - <ul> <!-- results.html --> - <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 --> |