mirror of
https://github.com/searxng/searxng.git
synced 2024-11-14 14:11:05 +00:00
[mod] separating categories
This commit is contained in:
parent
11fdd8e8ac
commit
a3de9ba56c
2 changed files with 6 additions and 5 deletions
5
searx/templates/categories.html
Normal file
5
searx/templates/categories.html
Normal file
|
@ -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 %}
|
|
@ -4,10 +4,6 @@
|
||||||
<input type="submit" value="" id="search_submit" />
|
<input type="submit" value="" id="search_submit" />
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
{% for category in categories %}
|
{% include 'categories.html' %}
|
||||||
<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 %}
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
Loading…
Reference in a new issue