summaryrefslogtreecommitdiff
path: root/searx/templates/simple/simple_search.html
diff options
context:
space:
mode:
authormrpaulblack <paul@paulgo.io>2021-11-21 21:38:00 +0100
committermrpaulblack <paul@paulgo.io>2021-11-21 21:38:00 +0100
commitf3aff26086dda1c2610c9aa845db119ad413006f (patch)
tree7e312aafdb1831b46a709089fd3f7875d1b7cd6b /searx/templates/simple/simple_search.html
parent02cccdf876f2e0b07ef488e6033a858113dc3f1c (diff)
downloadsearxng-f3aff26086dda1c2610c9aa845db119ad413006f.tar.gz
searxng-f3aff26086dda1c2610c9aa845db119ad413006f.zip
[simple theme] rework select; add safesearch to search and replace / with › in article url
* rework selection UI in pref (fix based on: https://github.com/twelsby/searx/commit/78643e9f43a103c523f112e9f3ce26a5c7bb3a0f) * moved search filters underneath categories * cut params from url and replace / with › * make h3 and url in article bigger * add safe search select to search filter (this will not override settings and only be valid while on result page in a session) * make search form button not overlap each other when js is disabled * 1rem padding around preview image and thumbnail in default article template
Diffstat (limited to 'searx/templates/simple/simple_search.html')
-rw-r--r--searx/templates/simple/simple_search.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/templates/simple/simple_search.html b/searx/templates/simple/simple_search.html
index 8612ceca6..6a5cdd9e7 100644
--- a/searx/templates/simple/simple_search.html
+++ b/searx/templates/simple/simple_search.html
@@ -1,9 +1,9 @@
<form id="search" method="{{ method or 'POST' }}" action="{{ url_for('search') }}">
- <div id="search_wrapper">
+ <div id="search_header">
<div class="search_box">
<input id="q" autofocus name="q" type="text" placeholder="{{ _('Search for...') }}" tabindex="1" autocomplete="off" spellcheck="false" dir="auto" {% if q %}value="{{ q }}"{% endif %} >
- <button id="clear_search" type="button" tabindex="-1"><span class="hide_if_nojs">{{ icon_big('close') }}</span><span class="show_if_nojs">{{ _('Clear search') }}</span></button>
- <button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('Start search') }}</span></button>
+ <button id="clear_search" type="button" tabindex="-1"><span class="hide_if_nojs">{{ icon_big('close') }}</span><span class="show_if_nojs">{{ _('clear') }}</span></button>
+ <button id="send_search" type="submit" tabindex="-1"><span class="hide_if_nojs">{{ icon_big('search-outline') }}</span><span class="show_if_nojs">{{ _('search') }}</span></button>
</div>
</div>
</form>