mirror of
https://github.com/searxng/searxng.git
synced 2024-11-19 09:21:00 +00:00
Merge branch 'master' of https://github.com/asciimoo/searx
This commit is contained in:
commit
e31a234551
2 changed files with 4 additions and 2 deletions
|
@ -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 a new issue