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/clientlist.jet.html
kilo 83540ad31c Fix a condition that didn't behave as intended (#1651)
* Update profile.go

* Update router.go

* Update torrents.go

* Update router.go

* Update announcements.go

* Update comments.go

* Update oauth.go

* Update reports.go

* Update router.go

* Update index.jet.html

* Update torrentlist.jet.html

* Update commentlist.jet.html

* Update announcements.jet.html

* Update clientlist.jet.html

* Update torrent_report.jet.html

* Update userlist.jet.html

* Update userlist.jet.html

* Update userlist.jet.html

* Update edit.jet.html

* Update delete.go

* Update edit.jet.html

* Update index.jet.html

* Update profile.go

* Update router.go

* Update profile.go

* Update edit.jet.html

* Update userlist.jet.html

* Update index.jet.html

* remove hotfix that didn't even hit live
2017-10-12 02:54:01 +02:00

31 lignes
1 Kio
HTML

{{ extends "layouts/index_admin" }}
{{block title()}}{{ T("oauth_clients_list") }}{{end}}
{{ block content_body()}}
<div class="results box">
<h1>{{ T("oauth_clients_list") }}</h1>
<table class="table">
<thead class="torrent-info">
<tr>
<th class="tr-name">{{ T("owner") }}</th>
<th class="tr-actions">{{ T("actions") }}</th>
</tr>
</thead>
<tbody>
{{ range Models}}
<tr>
<td class="tr-name home-td">
<a href="/mod/oauth_client/form?id={{ .ID }}">{{ .Owner }}</a>
</td>
<td class="tr-actions home-td">
<form method="POST" action="/mod/oauth_client/delete">
<input type="hidden" name="id" value="{{ .ID }}">
<button type="submit" class="form-input btn-red"><i class="icon-trash"></i> {{ T("delete") }}</button>
</form>
</td>
</tr>
{{end}}
</tbody>
</table>
<a href="/mod/oauth_client/form" class="form-input btn-green">{{ T("add") }}</a>
</div>
{{end}}