summaryrefslogtreecommitdiff
path: root/searx/templates/categories.html
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2014-01-01 22:16:21 +0100
committerasciimoo <asciimoo@gmail.com>2014-01-01 22:16:21 +0100
commita3de9ba56c592b99f2c654c37af0861806a45d1f (patch)
tree64becb7d1456bb54578fe5cab59bc1e8b5419d81 /searx/templates/categories.html
parent11fdd8e8ac2021d6c72cd82217f1b999f1b788ca (diff)
[mod] separating categories
Diffstat (limited to 'searx/templates/categories.html')
-rw-r--r--searx/templates/categories.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/templates/categories.html b/searx/templates/categories.html
new file mode 100644
index 000000000..4c693f3dd
--- /dev/null
+++ b/searx/templates/categories.html
@@ -0,0 +1,5 @@
+{% 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="cb"></label><label for="checkbox_{{ category|replace(' ', '_') }}">{{ category }}</label>
+ </div>
+{% endfor %}