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/admin/announcements.jet.html
2017-08-03 03:38:07 +02:00

34 lignes
1,2 Kio
HTML

{{ extends "layouts/index_admin" }}
{{block title()}}{{ T("announcements") }}{{end}}
{{ block content_body()}}
<div class="results box">
<h1>{{ T("announcements") }}</h1>
<table class="table">
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ T("message") }}</th>
<th class="tr-links">{{ T("expire") }}</th>
<th class="tr-actions">{{ T("actions") }}</th>
</tr>
</thead>
<tbody>
{{ range Models}}
<tr>
<td class="tr-name home-td">
<a href="/mod/announcement/form?id={{ .ID }}">{{ .Content }}</a>
</td>
<td class="tr-name home-td">
<a href="/mod/announcement/form?id={{ .ID }}">{{ .Expire }}</a>
</td>
<td class="tr-actions home-td">
<a href="/mod/announcement/delete?id={{ .ID }}" class="form-input btn-red" onclick="if (!confirm('{{ T(" are_you_sure ") }}')) return false;">
<i class="icon-trash"></i> {{ T("delete") }}
</a>
</td>
</tr>
{{end}}
</tbody>
</table>
<a href="/mod/announcement/form" class="form-input btn-green">{{ T("add") }}</a>
</div>
{{end}}