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

50 lignes
1,7 Kio
HTML
Brut Vue normale Historique

{{define "title"}}{{.Torrent.Name}}{{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>
2017-05-05 22:13:38 +02:00
<td class="torrent-hash">{{.Hash}}</td>
</tr>
<tr>
<td>Date</td>
2017-05-05 15:55:25 +02:00
<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>
2017-05-05 13:06:41 +02:00
<!-- <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>
2017-05-06 04:18:24 +02:00
<tr>
<td>Comments</td>
<tr>
{{ range .Comments }}
<td>{{.Un}}</td>
<td>{{.C}}</td>
{{end}}
</tr>
</tr>
</table>
{{end}}
</div>
2017-05-05 13:06:41 +02:00
{{end}}