From 56b7e05721394c0490ff43960cb7fa5626e83e3d Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sun, 8 Dec 2019 14:14:18 +0100 Subject: themes: remove CR from newlines Adding a CR in some files and in others not, is a good starting point for a DOS+Unix mess we all have already seen in many projects. Patch fixes all files matching (even those comming from grunt's build):: find ./searx -exec file {} \; | grep CR BTW: Same with mixing TAB and SPACE indent styles in one and the same file. So if sources are tuched here in this patch, its also fixed. Signed-off-by: Markus Heiser --- searx/templates/oscar/search.html | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'searx/templates/oscar/search.html') diff --git a/searx/templates/oscar/search.html b/searx/templates/oscar/search.html index bf9a9af5f..7b3bcf9c1 100644 --- a/searx/templates/oscar/search.html +++ b/searx/templates/oscar/search.html @@ -1,24 +1,24 @@ -{% from 'oscar/macros.html' import icon %} - +{% from 'oscar/macros.html' import icon %} + -- cgit v1.2.3-54-g00ecf From f373169c8452b79bbafa322102b6827a97eddb44 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 10 Dec 2019 18:20:51 +0100 Subject: theme: oscar - add accesskey to input tags l - language field s - search field t - time range field The way to activate the accesskey depends on the browser and its platform [1] [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey Signed-off-by: Markus Heiser --- searx/templates/oscar/languages.html | 2 +- searx/templates/oscar/search.html | 2 +- searx/templates/oscar/search_full.html | 2 +- searx/templates/oscar/time-range.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'searx/templates/oscar/search.html') diff --git a/searx/templates/oscar/languages.html b/searx/templates/oscar/languages.html index 04449873e..5aff9f918 100644 --- a/searx/templates/oscar/languages.html +++ b/searx/templates/oscar/languages.html @@ -1,4 +1,4 @@ - {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%}