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/userlist.html
akuma06 bd7fe52273 New ModPanel Theme (#883)
* New ModPanel Theme

* Implemented the new @kipukun theme in ModPanel
* Added new translation string
* Fixed the toolbar in /mod/torrents

* Little fix on torrents report

* Remove double navigation

* Added a tag h1 for pages and new translation strings~

* fix warn message
2017-06-02 20:10:36 +02:00

22 lignes
974 o
HTML

{{define "title"}}{{ call $.T "users_list" }}{{end}}
{{define "content"}}
<div class="results box">
<h1>{{ call $.T "users_list" }}</h1>
<table class="table">
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ call $.T "username" }}</th>
<th class="tr-actions">{{ call $.T "actions" }}</th>
</tr>
</thead>
<tbody>
{{ range .Models}}
<tr>
<td class="tr-name"><a href="{{ genRoute "user_profile" "id" (print .ID) "username" .Username }}?edit">{{ .Username }}</a></td>
<td class="tr-actions home-td">{{if gt .ID 0}}<a href="{{ genRoute "user_profile" "id" (print .ID) "username" .Username }}?delete" class="btn btn-danger btn-lg" onclick="if (!confirm('{{ call $.T "are_you_sure" }}')) return false;"><i class="trash-icon"></i> {{ call $.T "delete" }}</a>{{end}}</td>
</tr>
{{end}}
</tbody>
</table>
</div>
{{end}}