diff options
author | Alexandre Flament <alex@al-f.net> | 2017-02-12 15:06:01 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2017-08-06 16:04:21 +0200 |
commit | 10a24bdc2c3870f07ec62dd710841628d325aaf6 (patch) | |
tree | 400b579adb6268092f21ec21621a16c730cfef41 /searx/templates/simple/categories.html | |
parent | 4f6586d8085460c368ad16904685199de630e1c8 (diff) | |
download | searxng-10a24bdc2c3870f07ec62dd710841628d325aaf6.tar.gz searxng-10a24bdc2c3870f07ec62dd710841628d325aaf6.zip |
[enh] add simple theme (WIP)
Diffstat (limited to 'searx/templates/simple/categories.html')
-rw-r--r-- | searx/templates/simple/categories.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/searx/templates/simple/categories.html b/searx/templates/simple/categories.html new file mode 100644 index 000000000..127d55b2b --- /dev/null +++ b/searx/templates/simple/categories.html @@ -0,0 +1,8 @@ +<div id="categories">{{- '' -}} + <div id="categories_container"> + {%- for category in categories -%} + <div class="category"><input type="checkbox" id="checkbox_{{ category|replace(' ', '_') }}" name="category_{{ category }}"{% if category in selected_categories %} checked="checked"{% endif %}/><label for="checkbox_{{ category|replace(' ', '_') }}" class="tooltips">{{ _(category) }}</label></div> + {%- endfor -%} + {%- if display_tooltip %}<div class="help">{{ _('Click on the magnifier to perform search') }}</div>{% endif -%} + </div>{{- '' -}} +</div> |