add structure to individual views as well
Cette révision appartient à :
Parent
0e71cd1fbb
révision
fc6f55f991
4 fichiers modifiés avec 25 ajouts et 0 suppressions
|
@ -1,6 +1,12 @@
|
|||
{{define "title"}}Comments List{{end}}
|
||||
{{define "content"}}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="col-xs-10">Content</th>
|
||||
<th class="col-xs-1">User</th>
|
||||
<th class="col-xs-1">Action</th>
|
||||
</tr>
|
||||
|
||||
{{ 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>
|
||||
|
|
|
@ -1,6 +1,14 @@
|
|||
{{define "title"}}Torrents Report{{end}}
|
||||
{{define "content"}}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="col-xs-8">Torrent Name</th>
|
||||
<th class="col-xs-1">User</th>
|
||||
<th class="col-xs-1">Reason</th>
|
||||
<th class="col-xs-1">Action</th>
|
||||
<th class="col-xs-1">Action</th>
|
||||
</tr>
|
||||
|
||||
{{ range .TorrentReports}}
|
||||
<tr>
|
||||
<td><a href="{{ genRoute "mod_tedit"}}?id={{.Torrent.ID}}">{{.Torrent.Name}}</a></td>
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
{{define "content"}}
|
||||
<div class="blockBody">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="col-xs-10">Torrent Name</th>
|
||||
<th class="col-xs-1">Uploader</th>
|
||||
<th class="col-xs-1">Action</th>
|
||||
</tr>
|
||||
|
||||
{{ range .Torrents}}
|
||||
|
||||
<tr><td><a href="{{ genRoute "mod_tedit" }}?id={{.ID}}">{{ .Name }}</a></td><td><a href="{{ genRoute "mod_tlist" }}?userid={{.UploaderID}}">{{ .UploaderID }}</a></td>
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{{define "title"}}Users List{{end}}
|
||||
{{define "content"}}
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th class="col-xs-11">Username</th>
|
||||
<th class="col-xs-1">Action</th>
|
||||
</tr>
|
||||
|
||||
{{ range .Users}}
|
||||
|
||||
<tr>
|
||||
|
|
Référencer dans un nouveau ticket