bde8ff4f49
* Fix invalid comment date when JS is enabled * fix travis * fix wrong url in admin torrent list * Fix wrong pubDate for /feed * Different function name * same changes as rss for magnet rss * travis test * fix delete button on torrent view * Update edit.jet.html * Update index.jet.html * Update userlist.jet.html * Update torrentlist.jet.html
31 lignes
960 o
HTML
31 lignes
960 o
HTML
{{ extends "layouts/index_admin" }}
|
|
{{block title()}}{{ T("users_list") }}{{end}}
|
|
{{ block content_body()}}
|
|
<div class="results box">
|
|
<h1>{{ T("users_list") }}</h1>
|
|
<table class="table">
|
|
<thead class="torrent-info">
|
|
<tr>
|
|
<th class="tr-name">{{ T("username") }}</th>
|
|
<th class="tr-actions">{{ T("actions") }}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{ range Models}}
|
|
<tr>
|
|
<td class="tr-name home-td">
|
|
<a href="/user/{{.ID}}/{{.Username }}">{{ .Username }}</a>
|
|
</td>
|
|
<td class="tr-actions home-td">
|
|
{{if .ID > 0}}
|
|
<form method="POST" action="/user/{{.ID}}/{{.Username }}/delete">
|
|
<button type="submit" class="form-input btn-red" onclick="if (!confirm('{{ T(" are_you_sure ") }}')) return false;"><i class="icon-trash"></i> {{ T("delete") }}</button>
|
|
</form>
|
|
{{end}}
|
|
</td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{end}}
|