diff options
author | Unknown <joe2010xtmf@163.com> | 2014-03-20 16:04:56 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-03-20 16:04:56 -0400 |
commit | 06631ab91f5d84b48d6f71ac8eaf4df740ba0282 (patch) | |
tree | 8bfcccc57550c016b90a73fc57cc24942d508096 /templates/admin/users.tmpl | |
parent | 686348974b1a1f6f11cab5244df2362f99e0a124 (diff) | |
download | gitea-06631ab91f5d84b48d6f71ac8eaf4df740ba0282.tar.gz gitea-06631ab91f5d84b48d6f71ac8eaf4df740ba0282.zip |
Basic admin data table, models changes
Diffstat (limited to 'templates/admin/users.tmpl')
-rw-r--r-- | templates/admin/users.tmpl | 26 |
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> |