diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2022-04-30 08:04:09 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2022-04-30 13:20:27 +0200 |
| commit | ad1aca682318657955369b1f2cb28a86bc25394c (patch) | |
| tree | 1e653c1503bd98960326841f08f64c923cdd812c /searx/templates/oscar/result_templates/torrent.html | |
| parent | e8541b6006cd6a00556957433c9de64c23ba0c84 (diff) | |
[theme] delete static/themes/oscar and templates/oscar
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
templates/oscar# gelöscht: searx/static/themes/oscar/fonts/glyphicons-halflings-regular.ttf
Diffstat (limited to 'searx/templates/oscar/result_templates/torrent.html')
| -rw-r--r-- | searx/templates/oscar/result_templates/torrent.html | 25 |
1 files changed, 0 insertions, 25 deletions
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 %}<p class="result-content">{{ icon('transfer') }} {{ _('Seeder') }} <span class="badge">{{ result.seed }}</span> • {{ _('Leecher') }} <span class="badge">{{ result.leech }}</span>{% endif -%} -{%- if result.filesize %}<br />{{ icon('floppy-disk') }} {{ _('Filesize') -}} - <span class="badge"> - {%- 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 -%} - </span>{% endif -%} -{%- if result.files %}<br />{{ icon('file') }} {{ _('Number of Files') }} <span class="badge">{{ result.files }}</span>{% endif -%} - -{%- if result.content %}<br />{{ result.content|safe }}{% endif -%} - -</p> - -{%- if rtl -%} -{{ result_footer_rtl(result, loop.index) }} -{%- else -%} -{{ result_footer(result, loop.index) }} -{%- endif -%} |