59 lignes
2,2 Kio
HTML
59 lignes
2,2 Kio
HTML
{{define "title"}}{{.Torrent.Name}}{{end}}
|
|
{{define "contclass"}}cont-view{{end}}
|
|
{{define "content"}}
|
|
<div class="blockBody">
|
|
{{with .Torrent}}
|
|
<hr>
|
|
<table class="table table-borderless">
|
|
<tr {{if eq .Status 2}}class="remake"{{end}}
|
|
{{if eq .Status 3}}class="trusted"{{end}}
|
|
{{if eq .Status 4}}class="aplus"{{end}}>
|
|
<td>Name</td>
|
|
<td>
|
|
{{.Name}}
|
|
<img style="float:right" src="{{$.URL.Parse (printf "/img/torrents/%s.png" .Sub_Category) }}">
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Hash</td>
|
|
<td class="torrent-hash">{{.Hash}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Date</td>
|
|
<td class="date-full">{{.Date}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Size</td>
|
|
<td>{{.Filesize}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Links</td>
|
|
<td>
|
|
<a aria-label="Magnet Button" href="{{.Magnet}}" type="button" class="btn btn-success download-btn">
|
|
<span class="glyphicon glyphicon-magnet" aria-hidden="true"></span> Download!</button>
|
|
</a>
|
|
<a style="padding-left: 0.5em"></a>
|
|
<a aria-label="Torrent file" href="http://anicache.com/torrent/{{.Hash}}.torrent" type="button" class="btn btn-success">
|
|
<span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span> Torrent file
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Description</td>
|
|
<td>{{.Description}}</td>
|
|
</tr>
|
|
<tr style="height:2em"> <td></td><td></td> </tr>
|
|
<tr>
|
|
<td>Comments</td>
|
|
<td></td>
|
|
</tr>
|
|
{{ range .Comments }}
|
|
<tr class="comment-row">
|
|
<td>{{.Username}}</td>
|
|
<td>{{.Content}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</table>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|