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.

47 lines
1.5 KiB

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