Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/view.html
2017-05-06 13:27:35 +02:00

51 lignes
1,8 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 style="height:2em"> <td></td><td></td> </tr>
<tr>
<td>Comments</td>
<td></td>
</tr>
{{ range .Comments }}
<tr class="comment-row">
<td>{{.Un}}</td>
<td>{{.C}}</td>
</tr>
{{end}}
</table>
{{end}}
</div>
{{end}}