From 574e99c4de2e6a42a25bd2c984e729110a9efdd0 Mon Sep 17 00:00:00 2001 From: Marc Abonce Seguin Date: Sun, 26 Jul 2020 20:31:57 -0700 Subject: reduce space between title and url in infobox header --- searx/templates/oscar/infobox.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index 6ae7965b6..9eeea2bfe 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -1,8 +1,10 @@ {% from 'oscar/macros.html' import result_link with context %}
{{- "" -}} -

{{ infobox.infobox }}

{{- "" -}} - {% for u in infobox.urls %}{% if u.official %} {{ u.domain }}{% endif %}{% endfor %} +
+

{{ infobox.infobox }}

{{- "" -}} + {% for u in infobox.urls %}{% if u.official %} {{ u.domain }}{% endif %}{% endfor %} +
{% if infobox.img_src %}{% endif %} -- cgit v1.2.3 From c9c39b3e79bfc24031ae1d352d290b9ec180e6ac Mon Sep 17 00:00:00 2001 From: Marc Abonce Seguin Date: Sun, 26 Jul 2020 23:26:30 -0700 Subject: add engine's name in infobox's header --- searx/templates/oscar/infobox.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'searx/templates') diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index 9eeea2bfe..3e393b684 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -2,6 +2,11 @@
{{- "" -}}
+
+ {% for engine in infobox.engines %} + {{ engine }} + {% endfor %} +

{{ infobox.infobox }}

{{- "" -}} {% for u in infobox.urls %}{% if u.official %} {{ u.domain }}{% endif %}{% endfor %}
-- cgit v1.2.3 From 74270a3fc2db9637d0f997282f092ddfdd3a72c7 Mon Sep 17 00:00:00 2001 From: Marc Abonce Seguin Date: Sun, 2 Aug 2020 18:18:30 -0700 Subject: add class for infobox's official url --- searx/templates/oscar/infobox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searx/templates') diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index 3e393b684..0c7a2e0a0 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -8,7 +8,7 @@ {% endfor %}

{{ infobox.infobox }}

{{- "" -}} - {% for u in infobox.urls %}{% if u.official %} {{ u.domain }}{% endif %}{% endfor %} + {% for u in infobox.urls %}{% if u.official %} {{ u.url }}{% endif %}{% endfor %}
-- cgit v1.2.3 From 0601f2bb481758ed8e0e68f96a976063d9b229db Mon Sep 17 00:00:00 2001 From: Marc Abonce Seguin Date: Mon, 3 Aug 2020 00:15:54 -0700 Subject: add toggle to resize infobox --- searx/templates/oscar/infobox.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'searx/templates') diff --git a/searx/templates/oscar/infobox.html b/searx/templates/oscar/infobox.html index 0c7a2e0a0..5ba4aa5f0 100644 --- a/searx/templates/oscar/infobox.html +++ b/searx/templates/oscar/infobox.html @@ -11,7 +11,8 @@ {% for u in infobox.urls %}{% if u.official %} {{ u.url }}{% endif %}{% endfor %}
-
+ +
{% if infobox.img_src %}{% endif %} {% if infobox.content %}

{{ infobox.content | safe }}

{% endif %} @@ -45,4 +46,8 @@
{% endif %}
+ -- cgit v1.2.3