diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-09-26 22:43:54 +0200 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-05 14:40:46 +0200 |
| commit | 25919de6084599c3196622ed1c89648b2c11f78a (patch) | |
| tree | f524190da5ca2ad78d79fb2b3b9b426be1885ed6 /searx/templates/oscar/preferences.html | |
| parent | 5568fbd89d9c0f8c7f6530c6f0826a35d01c83a8 (diff) | |
oscar template: make the categories clickable
Diffstat (limited to 'searx/templates/oscar/preferences.html')
| -rw-r--r-- | searx/templates/oscar/preferences.html | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index 6803a02e5..3d66d1963 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -16,15 +16,14 @@ <div class="tab-content"> <div class="tab-pane active" id="tab_general"> <fieldset> - <legend>{{ _('Default categories') }}</legend> - <p> - {% include 'default/categories.html' %} - </p> - </fieldset> - - <fieldset> <div class="container-fluid"> <div class="row form-group"> + <label class="col-sm-3 col-md-2">{{ _('Default categories') }}</label> + <div class="col-sm-11 col-md-10"> + {% include 'oscar/categories.html' %} + </div> + </div> + <div class="row form-group"> <label class="col-sm-3 col-md-2">{{ _('Search language') }}</label> <div class="col-sm-4 col-md-4"> <select class="form-control" name='language'> @@ -36,8 +35,6 @@ </div> <span class="col-sm-5 col-md-6 help-block">{{ _('What language do you prefer for search?') }}</span> </div> - - <div class="row form-group"> <label class="col-sm-3 col-md-2">{{ _('Interface language') }}</label> <div class="col-sm-4 col-md-4"> @@ -91,7 +88,7 @@ <!-- Nav tabs --> <ul class="nav nav-tabs" role="tablist" style="margin-bottom:20px;"> {% for (categ,search_engines) in categs %} - <li{% if loop.first %} class="active"{% endif %}><a href="#tab_engine_{{ categ|replace(' ', '') }}" role="tab" data-toggle="tab">{{ _(categ) }}</a></li> + <li{% if loop.first %} class="active"{% endif %}><a href="#tab_engine_{{ categ|replace(' ', '_') }}" role="tab" data-toggle="tab">{{ _(categ) }}</a></li> {% endfor %} </ul> @@ -99,7 +96,7 @@ <!-- Tab panes --> <div class="tab-content"> {% for (categ,search_engines) in categs %} - <div class="tab-pane{% if loop.first %} active{% endif %}" id="tab_engine_{{ categ|replace(' ', '') }}"> + <div class="tab-pane{% if loop.first %} active{% endif %}" id="tab_engine_{{ categ|replace(' ', '_') }}"> <div class="container-fluid"> <fieldset> {% for search_engine in search_engines %} |