diff options
| author | Alexandre Flament <alex@al-f.net> | 2020-12-01 10:18:57 +0100 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2020-12-17 11:33:28 +0100 |
| commit | 9bc1856e2b23ef3572e5715895ee626f08ec24a7 (patch) | |
| tree | 44421b8b123bc997b1d5d559278c05323bd0189a /searx/templates/legacy/infobox.html | |
| parent | 88660fde90c2d618f2d317ff1cafdf71508982f6 (diff) | |
[mod] themes: remove legacy, courgette and pix-art themes
Diffstat (limited to 'searx/templates/legacy/infobox.html')
| -rw-r--r-- | searx/templates/legacy/infobox.html | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/searx/templates/legacy/infobox.html b/searx/templates/legacy/infobox.html deleted file mode 100644 index 70f3b12d3..000000000 --- a/searx/templates/legacy/infobox.html +++ /dev/null @@ -1,51 +0,0 @@ -<div class="infobox"> -<h2><bdi>{{ infobox.infobox }}</bdi></h2> - {% if infobox.img_src %}<img src="{{ image_proxify(infobox.img_src) }}" title="{{ infobox.infobox|striptags }}" alt="{{ infobox.infobox|striptags }}" />{% endif %} - <p><bdi>{{ infobox.entity }}</bdi></p> - <p><bdi>{{ infobox.content | safe }}</bdi></p> - {% if infobox.attributes %} - <div class="attributes"> - <table> - {% for attribute in infobox.attributes %} - <tr> - <td><bdi>{{ attribute.label }}</bdi></td> - {% if attribute.image %} - <td><img src="{{ image_proxify(attribute.image.src) }}" alt="{{ attribute.image.alt }}" /></td> - {% else %} - <td><bdi>{{ attribute.value }}</bdi></td> - {% endif %} - </tr> - {% endfor %} - </table> - </div> - {% endif %} - - {% if infobox.urls %} - <div class="urls"> - <ul> - {% for url in infobox.urls %} - <li class="url"><bdi><a href="{{ url.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ url.title }}</a></bdi></li> - {% endfor %} - </ul> - </div> - {% endif %} - - {% if infobox.relatedTopics %} - <div class="relatedTopics"> - {% for topic in infobox.relatedTopics %} - <div> - <h3><bdi>{{ topic.name }}</bdi></h3> - {% for suggestion in topic.suggestions %} - <form method="{{ method or 'POST' }}" action="{{ url_for('search') }}"> - <input type="hidden" name="q" value="{{ suggestion }}"> - <input type="submit" value="{{ suggestion }}" /> - </form> - {% endfor %} - </div> - {% endfor %} - </div> - {% endif %} - - <br /> - -</div> |