Finalize detail page
This commit is contained in:
		@@ -8,23 +8,28 @@ vim: ts=2 noexpandtab
 | 
			
		||||
<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.name }}</h4>
 | 
			
		||||
	<h4>{{ torrent.category }} » {{ torrent.subcategory}} » {{ torrent.name }}</h4>
 | 
			
		||||
	<div id="details" class="clearfix">
 | 
			
		||||
		<div class="detailrow clearfix">
 | 
			
		||||
			<div>Info Hash:</div>
 | 
			
		||||
			<div>{{ torrent.fileid }}</div>
 | 
			
		||||
			<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>Category:</span>
 | 
			
		||||
			<span>{{ torrent.category }}</span>
 | 
			
		||||
			<span>Size:</span>
 | 
			
		||||
			<span>{{ torrent.metadata.torrentsize_human }}</span>
 | 
			
		||||
		</div>
 | 
			
		||||
		<div class="detailrow clearfix">
 | 
			
		||||
			<span>Subcategory:</span>
 | 
			
		||||
			<span>{{ torrent.subcategory }}</span>
 | 
			
		||||
			<span>Date:</span>
 | 
			
		||||
			<span>{{ torrent.metadata.creation_date }}</span>
 | 
			
		||||
		</div>
 | 
			
		||||
		<div class="detailrow clearfix">
 | 
			
		||||
			<span>Description:</span>
 | 
			
		||||
 
 | 
			
		||||
@@ -17,7 +17,7 @@ vim: ts=2 noexpandtab
 | 
			
		||||
		</tr>
 | 
			
		||||
		{% for result in results %}
 | 
			
		||||
		<tr>
 | 
			
		||||
			<td><a href="/download/{{ result[0] }}">{{ result[1] }}</a></td>
 | 
			
		||||
			<td><a href="/details?h={{ result[0] }}">{{ result[1] }}</a></td>
 | 
			
		||||
			<td>{{ result[2] }}</td>
 | 
			
		||||
			<td>{{ _("N/A") }}</td>
 | 
			
		||||
			<td>{{ _("N/A") }}</td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user