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
kipukun 95173a0f33 Frontend v9000 (#1008)
* Should fix old uploader name in torrent view

* Fix "save changes" in modtools

* Modtool more colorful

* Fix search bar placement in modpanel

* Make colors more consistent; less would be super helpful tbqach fam

* Display the old username if it's there

* Fix some admin index html

* Add custom icons and remove png code from all CSS

* Move a good amount of cosmetic code from main to classic

* Fix some weird bug with point-events; add some global icon formatting; fix mascot fucking up

* Spruce up admin panel with icons on smaller viewports, along with adding trash icon

* 404 redesign ;^)

* Mufuyu mascot on all themes; says something slightly lewd

* Fix weird user menu bug where shit would overflow
2017-06-16 08:57:52 +10:00

22 lignes
982 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 home-td"><a href="{{ genRoute "user_profile_details" "id" (print .ID) "username" .Username }}">{{ .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="form-input btn-red" onclick="if (!confirm('{{ call $.T "are_you_sure" }}')) return false;"><i class="icon-trash"></i> {{ call $.T "delete" }}</a>{{end}}</td>
</tr>
{{end}}
</tbody>
</table>
</div>
{{end}}