<!--
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>{{ torrent.category }} » {{ torrent.subcategory}} » {{ torrent.name }}</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%}