From bee7b497a300622f5ba2b619817f5c89c29ae871 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Thu, 22 Sep 2016 23:51:07 +0200 Subject: [mod] rename "default" theme to "legacy" --- searx/templates/legacy/infobox.html | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 searx/templates/legacy/infobox.html (limited to 'searx/templates/legacy/infobox.html') diff --git a/searx/templates/legacy/infobox.html b/searx/templates/legacy/infobox.html new file mode 100644 index 000000000..4dd25fabd --- /dev/null +++ b/searx/templates/legacy/infobox.html @@ -0,0 +1,51 @@ +
+

{{ infobox.infobox }}

+ {% if infobox.img_src %}{{ infobox.infobox|striptags }}{% endif %} +

{{ infobox.entity }}

+

{{ infobox.content | safe }}

+ {% if infobox.attributes %} +
+ + {% for attribute in infobox.attributes %} + + + {% if attribute.image %} + + {% else %} + + {% endif %} + + {% endfor %} +
{{ attribute.label }}{{ attribute.image.alt }}{{ attribute.value }}
+
+ {% endif %} + + {% if infobox.urls %} +
+ +
+ {% endif %} + + {% if infobox.relatedTopics %} +
+ {% for topic in infobox.relatedTopics %} +
+

{{ topic.name }}

+ {% for suggestion in topic.suggestions %} +
+ + +
+ {% endfor %} +
+ {% endfor %} +
+ {% endif %} + +
+ +
-- cgit v1.2.3