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.

48 lines
1.5 KiB

  1. {{template "base/head" .}}
  2. <div class="admin user">
  3. <div class="ui container">
  4. <div class="ui grid">
  5. {{template "admin/navbar" .}}
  6. <div class="twelve wide column content">
  7. {{template "base/alert" .}}
  8. <h4 class="ui top attached header">
  9. {{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
  10. </h4>
  11. <div class="ui attached segment">
  12. {{template "admin/base/search" .}}
  13. </div>
  14. <div class="ui attached table segment">
  15. <table class="ui very basic striped table">
  16. <thead>
  17. <tr>
  18. <th>ID</th>
  19. <th>{{.i18n.Tr "admin.orgs.name"}}</th>
  20. <th>{{.i18n.Tr "admin.orgs.teams"}}</th>
  21. <th>{{.i18n.Tr "admin.orgs.members"}}</th>
  22. <th>{{.i18n.Tr "admin.users.repos"}}</th>
  23. <th>{{.i18n.Tr "admin.users.created"}}</th>
  24. <th>{{.i18n.Tr "admin.users.edit"}}</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. {{range .Users}}
  29. <tr>
  30. <td>{{.ID}}</td>
  31. <td><a href="{{.HomeLink}}">{{.Name}}</a></td>
  32. <td>{{.NumTeams}}</td>
  33. <td>{{.NumMembers}}</td>
  34. <td>{{.NumRepos}}</td>
  35. <td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td>
  36. <td><a href="{{AppSubUrl}}/org/{{.Name}}/settings"><i class="fa fa-pencil-square-o"></i></a></td>
  37. </tr>
  38. {{end}}
  39. </tbody>
  40. </table>
  41. </div>
  42. {{template "admin/base/page" .}}
  43. </div>
  44. </div>
  45. </div>
  46. </div>
  47. {{template "base/footer" .}}