summaryrefslogtreecommitdiffstats
path: root/templates/admin/users.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/users.tmpl')
-rw-r--r--templates/admin/users.tmpl26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/admin/users.tmpl b/templates/admin/users.tmpl
index 8acf256d05..c087f268f2 100644
--- a/templates/admin/users.tmpl
+++ b/templates/admin/users.tmpl
@@ -16,6 +16,32 @@
</div>
<div class="panel-body">
+ <table class="table table-striped">
+ <thead>
+ <tr>
+ <th>Id</th>
+ <th>Name</th>
+ <th>E-mail</th>
+ <th>Actived</th>
+ <th>Admin</th>
+ <th>Repos</th>
+ <th>Join</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{range .Users}}
+ <tr>
+ <td>{{.Id}}</td>
+ <td>{{.Name}}</td>
+ <td>{{.Email}}</td>
+ <td><i class="fa fa{{if .IsActive}}-check{{end}}-square-o"></i></td>
+ <td><i class="fa fa{{if .IsAdmin}}-check{{end}}-square-o"></i></td>
+ <td>{{.NumRepos}}</td>
+ <td>{{DateFormat .Created "M d, Y"}}</td>
+ </tr>
+ {{end}}
+ </tbody>
+ </table>
</div>
</div>
</div>