summaryrefslogtreecommitdiff
path: root/searx/templates/default/categories.html
diff options
context:
space:
mode:
authordalf <alex@al-f.net>2014-10-26 11:14:05 +0100
committerdalf <alex@al-f.net>2014-10-26 11:14:05 +0100
commita71b326d9e210da2d4ed67fade819c0433fb95d3 (patch)
treedb1803ef0a91a4c90d655ea1f909b7c922c66c8d /searx/templates/default/categories.html
parentbe4d219ae73240337fa25c8833b5fd91ddc1272b (diff)
[mod] default template modifications
- more smartphone friendly - more text browser friendly - next button always on the right - in case of small screen supporting touch event, categories are displayed on one line with a scroll
Diffstat (limited to 'searx/templates/default/categories.html')
-rw-r--r--searx/templates/default/categories.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/searx/templates/default/categories.html b/searx/templates/default/categories.html
index 57e63c85d..341e234a3 100644
--- a/searx/templates/default/categories.html
+++ b/searx/templates/default/categories.html
@@ -1,7 +1,9 @@
<div id="categories">
+ <div id="categories_container">
{% for category in categories %}
- <div class="checkbox_container">
- <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}">{{ _(category) }}</label>
- </div>
+ <div class="checkbox_container">
+ <input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} /><label for="checkbox_{{ category|replace(' ', '_') }}">{{ _(category) }}</label>
+ </div>
{% endfor %}
+ </div>
</div>