aboutsummaryrefslogtreecommitdiff
path: root/templates/admin/repos.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/repos.tmpl')
-rw-r--r--templates/admin/repos.tmpl24
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/admin/repos.tmpl b/templates/admin/repos.tmpl
index ec7f47e0..4522c667 100644
--- a/templates/admin/repos.tmpl
+++ b/templates/admin/repos.tmpl
@@ -16,6 +16,30 @@
</div>
<div class="panel-body">
+ <table class="table table-striped">
+ <thead>
+ <tr>
+ <th>Id</th>
+ <th>Name</th>
+ <th>Private</th>
+ <th>Watches</th>
+ <th>Forks</th>
+ <th>Created</th>
+ </tr>
+ </thead>
+ <tbody>
+ {{range .Repos}}
+ <tr>
+ <td>{{.Id}}</td>
+ <td>{{.Name}}</td>
+ <td><i class="fa fa{{if .Private}}-check{{end}}-square-o"></i></td>
+ <td>{{.NumWatches}}</td>
+ <td>{{.NumForks}}</td>
+ <td>{{DateFormat .Created "M d, Y"}}</td>
+ </tr>
+ {{end}}
+ </tbody>
+ </table>
</div>
</div>
</div>