TorrentIndexer/templates/details.html
2018-04-01 01:29:57 +02:00

48 lines
1.6 KiB
HTML

<!--
vim: ts=2 noexpandtab
-->
{% extends "index.html" %}
{% block title %}{{ super() }} - {{ _("Results") }}{% endblock%}
{% set active_page = "search" %}
{% block content %}
<link href="{{ url_for("static", filename="css/details.css") }}" rel="stylesheet">
<script src="{{ url_for("static", filename="js/main.js") }}"></script>
<div id="torrent" class="clearfix">
<h4><a href="/search?c={{ torrent.category }}">{{ torrent.category_string }}</a> » <a href="/search?s={{ torrent.subcategory }}">{{ torrent.subcategory_string }}</a> » <span id="name">{{ torrent.name }}</span></h4>
<div id="details" class="clearfix">
<div class="detailrow clearfix">
<div>.torrent-file:</div>
<div>
<a href="/download/{{ torrent.fileid }}">
{{ torrent.fileid }}
<span class="glyphicon glyphicon-save" aria-hidden="true"></span>
</a>
</div>
</div>
<div class="detailrow clearfix">
<span>Name:</span>
<span>{{ torrent.name }}</span>
</div>
<div class="detailrow clearfix">
<span>Size:</span>
<span>{{ torrent.metadata.torrentsize_human }}</span>
</div>
<div class="detailrow clearfix">
<span>Date:</span>
<span>{{ torrent.metadata.creation_date }}</span>
</div>
<div class="detailrow clearfix">
<span>Description:</span>
<span>{{ torrent.description or "-" }}</span>
</div>
<div class="detailrow clearfix">
<span>Audio quality:</span>
<span>{{ torrent.audioquality_description or "-" }}</span>
</div>
<div class="detailrow clearfix">
<span>Video quality:</span>
<span>{{ torrent.videoquality_description or "-" }}</span>
</div>
</div>
</div>
{% endblock content%}