You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

repos.tmpl 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="body" class="container" data-page="admin">
  4. {{template "admin/nav" .}}
  5. <div id="admin-container" class="col-md-10">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">
  8. Repository Management
  9. </div>
  10. <div class="panel-body">
  11. <table class="table table-striped">
  12. <thead>
  13. <tr>
  14. <th>Id</th>
  15. <th>Owner</th>
  16. <th>Name</th>
  17. <th>Private</th>
  18. <th>Watches</th>
  19. <th>Issues</th>
  20. <th>Forks</th>
  21. <th>Created</th>
  22. </tr>
  23. </thead>
  24. <tbody>
  25. {{range .Repos}}
  26. <tr>
  27. <td>{{.Id}}</td>
  28. <th>{{.Owner.Name}}</th>
  29. <td><a href="/{{.Owner.Name}}/{{.Name}}">{{.Name}}</a></td>
  30. <td><i class="fa fa{{if .IsPrivate}}-check{{end}}-square-o"></i></td>
  31. <td>{{.NumWatches}}</td>
  32. <td>{{.NumIssues}}</td>
  33. <td>{{.NumForks}}</td>
  34. <td>{{DateFormat .Created "M d, Y"}}</td>
  35. </tr>
  36. {{end}}
  37. </tbody>
  38. </table>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. {{template "base/footer" .}}