summaryrefslogtreecommitdiff
path: root/searx/templates/legacy/categories.html
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2016-10-22 14:25:50 +0200
committerGitHub <noreply@github.com>2016-10-22 14:25:50 +0200
commita88768efd8ee6b832febda8508cb1ba3c8778b94 (patch)
treea42f1078ce421a69edb7088c642461b6c05f7022 /searx/templates/legacy/categories.html
parentf90eb428c679d3852d9738f6279d045283340562 (diff)
parent85c7237a4f26cea523d5c3b8a863058e459ca07a (diff)
Merge branch 'master' into http1.1
Diffstat (limited to 'searx/templates/legacy/categories.html')
-rw-r--r--searx/templates/legacy/categories.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/searx/templates/legacy/categories.html b/searx/templates/legacy/categories.html
new file mode 100644
index 000000000..1c466781b
--- /dev/null
+++ b/searx/templates/legacy/categories.html
@@ -0,0 +1,10 @@
+<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(' ', '_') }}" class="tooltips">{{ _(category) }}</label>
+ </div>
+ {% endfor %}
+ {% if display_tooltip %}<div class="hidden">{{ _('Click on the magnifier to perform search') }}</div>{% endif %}
+ </div>
+</div>