mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
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
This commit is contained in:
parent
5d7b63223f
commit
c21a907cac
28 changed files with 634 additions and 0 deletions
21
searx/templates/oscar/navbar.html
Normal file
21
searx/templates/oscar/navbar.html
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue