50 lignes
1,7 Kio
HTML
50 lignes
1,7 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}}</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
|
|
href="https://itorrents.org/torrent/{{.Hash}}.torrent" title="Torrent file"><span class="glyphicon glyphicon-floppy-save" aria-hidden="true"></span></a>-->
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Description</td>
|
|
<td>{{.Description}}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Comments</td>
|
|
{{ range .Comments }}
|
|
<tr>
|
|
<td>{{.Un}}</td>
|
|
<td>{{.C}}</td>
|
|
</tr>
|
|
{{end}}
|
|
</tr>
|
|
|
|
</table>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|