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

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {{template "base/head" .}}
  2. {{template "base/navbar" .}}
  3. <div id="gogs-body" class="container" data-page="admin">
  4. {{template "admin/nav" .}}
  5. <div id="gogs-admin-container" class="col-md-9">
  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>Forks</th>
  20. <th>Created</th>
  21. </tr>
  22. </thead>
  23. <tbody>
  24. {{range .Repos}}
  25. <tr>
  26. <td>{{.Id}}</td>
  27. <th>{{.UserName}}</th>
  28. <td><a href="/{{.UserName}}/{{.Name}}">{{.Name}}</a></td>
  29. <td><i class="fa fa{{if .IsPrivate}}-check{{end}}-square-o"></i></td>
  30. <td>{{.NumWatches}}</td>
  31. <td>{{.NumForks}}</td>
  32. <td>{{DateFormat .Created "M d, Y"}}</td>
  33. </tr>
  34. {{end}}
  35. </tbody>
  36. </table>
  37. </div>
  38. </div>
  39. </div>
  40. </div>
  41. {{template "base/footer" .}}