From ad1aca682318657955369b1f2cb28a86bc25394c Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Sat, 30 Apr 2022 08:04:09 +0200 Subject: [theme] delete static/themes/oscar and templates/oscar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Markus Heiser templates/oscar# gelöscht: searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf --- .../templates/oscar/result_templates/torrent.html | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 searx/templates/oscar/result_templates/torrent.html (limited to 'searx/templates/oscar/result_templates/torrent.html') diff --git a/searx/templates/oscar/result_templates/torrent.html b/searx/templates/oscar/result_templates/torrent.html deleted file mode 100644 index 9f6671549..000000000 --- a/searx/templates/oscar/result_templates/torrent.html +++ /dev/null @@ -1,25 +0,0 @@ -{% from 'oscar/macros.html' import result_header, result_sub_header, result_footer, result_footer_rtl, icon %} - -{{- result_header(result, favicons, loop.index) -}} -{{- result_sub_header(result, loop.index) -}} - -{%- if result.seed is defined %}

{{ icon('transfer') }} {{ _('Seeder') }} {{ result.seed }} • {{ _('Leecher') }} {{ result.leech }}{% endif -%} -{%- if result.filesize %}
{{ icon('floppy-disk') }} {{ _('Filesize') -}} - - {%- if result.filesize < 1024 %}{{ result.filesize }} {{ _('Bytes') -}} - {%- elif result.filesize < 1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024) }} {{ _('kiB') -}} - {%- elif result.filesize < 1024*1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024/1024) }} {{ _('MiB') -}} - {%- elif result.filesize < 1024*1024*1024*1024 %}{{ '{0:0.2f}'.format(result.filesize/1024/1024/1024) }} {{ _('GiB') -}} - {%- else %}{{ '{0:0.2f}'.format(result.filesize/1024/1024/1024/1024) }} {{ _('TiB') }}{% endif -%} - {% endif -%} -{%- if result.files %}
{{ icon('file') }} {{ _('Number of Files') }} {{ result.files }}{% endif -%} - -{%- if result.content %}
{{ result.content|safe }}{% endif -%} - -

- -{%- if rtl -%} -{{ result_footer_rtl(result, loop.index) }} -{%- else -%} -{{ result_footer(result, loop.index) }} -{%- endif -%} -- cgit v1.2.3