mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
Merge branch 'master' of https://github.com/asciimoo/searx
This commit is contained in:
commit
e31a234551
@ -1,4 +1,6 @@
|
||||
|
||||
categories = ['general'] # optional
|
||||
|
||||
def request(query, params):
|
||||
'''pre-request callback
|
||||
params<dict>:
|
||||
|
@ -3,8 +3,8 @@
|
||||
<input type="submit" value="search" />
|
||||
<p>
|
||||
{% for category in categories %}
|
||||
{{ category }}: <input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} />
|
||||
<input type="checkbox" name="category_{{ category }}" {% if category in selected_categories %}checked="checked"{% endif %} />{{ category }}
|
||||
{% endfor %}
|
||||
</p>
|
||||
<p>remember categories:<input type="checkbox" name="save" checked="checked" /></p>
|
||||
<p><input type="checkbox" name="save" checked="checked" />remember categories</p>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user