summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/navbar.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2014-09-22 22:42:29 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2014-10-05 14:40:46 +0200
commitc21a907cacbbfa8ce8a135362067086063a805f6 (patch)
treebb1a6236036b1e226385aef80e5291b24c3ed14f /searx/templates/oscar/navbar.html
parent5d7b63223fc9242a5be030851d3f6f3dc05d7c8b (diff)
initial commit of the new template 'oscar'
* base.html mostly implemented * stats.html implemented * about.html implemented * most of preferences.html implemented * using bootstrap.js
Diffstat (limited to 'searx/templates/oscar/navbar.html')
-rw-r--r--searx/templates/oscar/navbar.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/searx/templates/oscar/navbar.html b/searx/templates/oscar/navbar.html
new file mode 100644
index 000000000..8262fc949
--- /dev/null
+++ b/searx/templates/oscar/navbar.html
@@ -0,0 +1,21 @@
+<!-- Static navbar -->
+<div class="navbar navbar-default" role="navigation">
+ <div class="container-fluid">
+ <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') }}">searx</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 -->
+ </div><!--/.container-fluid -->
+</div>