diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-11-13 12:19:08 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-13 12:19:08 +0100 |
| commit | 7a9dda51d2f532089396e97a890e1727c1e872d1 (patch) | |
| tree | 311aa6e2ea2054d51e29bad48981eb1c69e1957d /searx/templates/simple/macros.html | |
| parent | 8877512e20edf86221b1de66808e2ab284770844 (diff) | |
| parent | 29e092b9310c961bf730d41e43e77af4c9c50563 (diff) | |
Merge pull request #488 from MrPaulBlack/category-icons
[simple theme] add icons to category and drop webfont
Diffstat (limited to 'searx/templates/simple/macros.html')
| -rw-r--r-- | searx/templates/simple/macros.html | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/searx/templates/simple/macros.html b/searx/templates/simple/macros.html index 92c6c9ef2..26aa71891 100644 --- a/searx/templates/simple/macros.html +++ b/searx/templates/simple/macros.html @@ -1,12 +1,3 @@ -<!-- Draw glyphicon icon from bootstrap-theme --> -{% macro icon(action, alt) -%} - <span title="{{ alt }}" class="ion-icon-big ion-{{ action }}"></span> -{%- endmacro %} - -{% macro icon_small(action) -%} - <span class="ion-icon ion-{{ action }}"></span> -{%- endmacro %} - <!-- Draw favicon --> {% macro draw_favicon(favicon) -%} <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='themes/simple/img/icons/' + favicon + '.png') }}" alt="{{ favicon }}" /> @@ -43,7 +34,7 @@ {%- macro result_sub_footer(result, proxify) -%} <div class="engines"> {% for engine in result.engines %}<span>{{ engine }}</span>{% endfor %} - {{ result_link("https://web.archive.org/web/" + result.url, icon('link') + _('cached'), "cache_link") }}‎ {% if proxify and proxify_results %} {{ result_link(proxify(result.url), icon('link') + _('proxied'), "proxyfied_link") }} {% endif %} + {{ result_link("https://web.archive.org/web/" + result.url, icon_small('ellipsis-vertical-outline') + _('cached'), "cache_link") }}‎ {% if proxify and proxify_results %} {{ result_link(proxify(result.url), icon('link') + _('proxied'), "proxyfied_link") }} {% endif %} </div>{{- '' -}} <div class="break"></div>{{- '' -}} {%- endmacro -%} |