summaryrefslogtreecommitdiff
path: root/searx/templates/simple/time-range.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/time-range.html
parent02cccdf876f2e0b07ef488e6033a858113dc3f1c (diff)
[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/time-range.html')
-rw-r--r--searx/templates/simple/time-range.html17
1 files changed, 0 insertions, 17 deletions
diff --git a/searx/templates/simple/time-range.html b/searx/templates/simple/time-range.html
deleted file mode 100644
index a9fc9f165..000000000
--- a/searx/templates/simple/time-range.html
+++ /dev/null
@@ -1,17 +0,0 @@
-<select name="time_range" id="time_range" class="time_range" tabindex="3">{{- '' -}}
- <option id="time-range-anytime" value="" {{ "selected" if time_range=="" or not time_range else ""}}>
- {{- _('Anytime') -}}
- </option>{{- '' -}}
- <option id="time-range-day" value="day" {{ "selected" if time_range=="day" else ""}}>
- {{- _('Last day') -}}
- </option>{{- '' -}}
- <option id="time-range-week" value="week" {{ "selected" if time_range=="week" else ""}}>
- {{- _('Last week') -}}
- </option>{{- '' -}}
- <option id="time-range-month" value="month" {{ "selected" if time_range=="month" else ""}}>
- {{- _('Last month') -}}
- </option>{{- '' -}}
- <option id="time-range-year" value="year" {{ "selected" if time_range=="year" else ""}}>
- {{- _('Last year') -}}
- </option>{{- '' -}}
-</select>