diff options
author | Alexandre Flament <alex@al-f.net> | 2017-02-12 15:06:01 +0100 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2017-08-06 16:04:21 +0200 |
commit | 10a24bdc2c3870f07ec62dd710841628d325aaf6 (patch) | |
tree | 400b579adb6268092f21ec21621a16c730cfef41 /searx/templates/simple/search.html | |
parent | 4f6586d8085460c368ad16904685199de630e1c8 (diff) | |
download | searxng-10a24bdc2c3870f07ec62dd710841628d325aaf6.tar.gz searxng-10a24bdc2c3870f07ec62dd710841628d325aaf6.zip |
[enh] add simple theme (WIP)
Diffstat (limited to 'searx/templates/simple/search.html')
-rw-r--r-- | searx/templates/simple/search.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/searx/templates/simple/search.html b/searx/templates/simple/search.html new file mode 100644 index 000000000..3f48d7fcd --- /dev/null +++ b/searx/templates/simple/search.html @@ -0,0 +1,16 @@ +<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('index') }}"> + <div id="search_wrapper"> + <div class="search_box"> + <input id="q" name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} > + <button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon('search') }}</span><span class="show_if_nojs">{{ _('Start search') }}</span></button> + </div> + <div class="search_filters"> + {% include 'simple/languages.html' %} + {% include 'simple/time-range.html' %} + </div> + </div> + {% set display_tooltip = true %} + {% include 'simple/categories.html' %} + <input type="hidden" name="safesearch" value="{{ safesearch }}" > + <input type="hidden" name="theme" value="{{ theme }}" > +</form> |