0bf8088457
Someone need to do torrent edit page Can't do it :/
15 lignes
658 o
HTML
15 lignes
658 o
HTML
{{define "title"}}Comments List{{end}}
|
|
{{define "content"}}
|
|
<table>
|
|
{{ range .Comments}}
|
|
|
|
<tr><td><a href="{{ genRoute "mod_cedit" }}?id={{.ID}}">{{ .Content }}</a></td><td><a href="{{ genRoute "mod_cedit" }}?id={{.ID}}">{{ .User.Username }}</a></td>
|
|
<td><a href="{{ genRoute "mod_cdelete" }}?id={{ .ID }}" class="btn btn-danger btn-lg" onclick="if (!confirm('Are you sure?')) return false;"><i class="glyphicon glyphicon-trash"></i>{{ T "delete" }}</a></td></tr>
|
|
{{end}}
|
|
</table>
|
|
<nav class="torrentNav" aria-label="Page navigation">
|
|
<ul class="pagination">
|
|
{{ genNav .Navigation .URL 5 }}
|
|
</ul>
|
|
</nav>
|
|
{{end}}
|