diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2016-09-22 23:51:07 +0200 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2016-09-22 23:51:07 +0200 |
| commit | bee7b497a300622f5ba2b619817f5c89c29ae871 (patch) | |
| tree | 525c3d85020cedd88663a4bb4a0e18c54500044b /searx/templates/legacy/result_templates/torrent.html | |
| parent | aaf5d506e51197603922d7b9d259c0f4e498f62b (diff) | |
[mod] rename "default" theme to "legacy"
Diffstat (limited to 'searx/templates/legacy/result_templates/torrent.html')
| -rw-r--r-- | searx/templates/legacy/result_templates/torrent.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/searx/templates/legacy/result_templates/torrent.html b/searx/templates/legacy/result_templates/torrent.html new file mode 100644 index 000000000..67e058ae5 --- /dev/null +++ b/searx/templates/legacy/result_templates/torrent.html @@ -0,0 +1,13 @@ +<div class="result torrent_result"> + {% if "icon_"~result.engine~".ico" in favicons %} + <img width="14" height="14" class="favicon" src="{{ url_for('static', filename='img/icons/icon_'+result.engine+'.ico') }}" alt="{{result.engine}}" /> + {% endif %} + <h3 class="result_title"><a href="{{ result.url }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %}>{{ result.title|safe }}</a></h3> + <p class="url">{{ result.pretty_url }}‎</p> + {% if result.content %}<p class="content">{{ result.content|safe }}</p>{% endif %} + <p> + {% if result.magnetlink %}<a href="{{ result.magnetlink }}" class="magnetlink">{{ _('magnet link') }}</a>{% endif %} + {% if result.torrentfile %}<a href="{{ result.torrentfile }}" {% if results_on_new_tab %}target="_blank" rel="noopener noreferrer"{% else %}rel="noreferrer"{% endif %} class="torrentfile">{{ _('torrent file') }}</a>{% endif %} - + <span class="stats">{{ _('Seeder') }} : {{ result.seed }}, {{ _('Leecher') }} : {{ result.leech }}</span> + </p> +</div> |