* Add octicon SVG sprite Signed-off-by: jolheiser <[email protected]> * Static prefix Signed-off-by: jolheiser <[email protected]> * SVG for all repo icons Signed-off-by: jolheiser <[email protected]> * make vendor Signed-off-by: jolheiser <[email protected]> * Swap out octicons Signed-off-by: jolheiser <[email protected]> * Move octicons to top of less imports Signed-off-by: jolheiser <[email protected]> * Fix JS Signed-off-by: jolheiser <[email protected]> * Definitely not a search/replace Signed-off-by: jolheiser <[email protected]> * Missed regex Signed-off-by: jolheiser <[email protected]> * Move to more generic calls and webpack Signed-off-by: jolheiser <[email protected]> * make svg -> make webpack Signed-off-by: jolheiser <[email protected]> * Remove svg-sprite Signed-off-by: jolheiser <[email protected]> * Update tests Signed-off-by: jolheiser <[email protected]> * Missed a test Signed-off-by: jolheiser <[email protected]> * Remove svg from makefile Signed-off-by: jolheiser <[email protected]> * Suggestions Signed-off-by: jolheiser <[email protected]> * Attempt to fix test Signed-off-by: jolheiser <[email protected]> * Update tests Signed-off-by: jolheiser <[email protected]> * Revert timetracking test Signed-off-by: jolheiser <[email protected]> * Swap .octicon for .svg in less Signed-off-by: jolheiser <[email protected]> * Add aria-hidden Signed-off-by: jolheiser <[email protected]> * Replace mega-octicon Signed-off-by: jolheiser <[email protected]> * Fix webpack globbing on Windows Signed-off-by: jolheiser <[email protected]> * Revert Co-Authored-By: silverwind <[email protected]> * Fix octions from upstream Signed-off-by: jolheiser <[email protected]> * Fix Vue and missed JS function Signed-off-by: jolheiser <[email protected]> * Add JS helper and PWA Signed-off-by: jolheiser <[email protected]> * Preload SVG Signed-off-by: jolheiser <[email protected]> Co-authored-by: silverwind <[email protected]> Co-authored-by: techknowlogick <[email protected]>
53 lines
1.6 KiB
Cheetah
53 lines
1.6 KiB
Cheetah
{{template "base/head" .}}
|
|
<div class="admin user">
|
|
{{template "admin/navbar" .}}
|
|
<div class="ui container">
|
|
{{template "base/alert" .}}
|
|
<h4 class="ui top attached header">
|
|
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
|
|
<div class="ui right">
|
|
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
|
|
</div>
|
|
</h4>
|
|
<div class="ui attached segment">
|
|
{{template "admin/base/search" .}}
|
|
</div>
|
|
<div class="ui attached table segment">
|
|
<table class="ui very basic striped table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>{{.i18n.Tr "admin.orgs.name"}}</th>
|
|
<th>{{.i18n.Tr "admin.orgs.teams"}}</th>
|
|
<th>{{.i18n.Tr "admin.orgs.members"}}</th>
|
|
<th>{{.i18n.Tr "admin.users.repos"}}</th>
|
|
<th>{{.i18n.Tr "admin.users.created"}}</th>
|
|
<th>{{.i18n.Tr "admin.users.edit"}}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{range .Users}}
|
|
<tr>
|
|
<td>{{.ID}}</td>
|
|
<td>
|
|
<a href="{{.HomeLink}}">{{.Name}}</a>
|
|
{{if .Visibility.IsPrivate}}
|
|
<span class="text gold">{{svg "octicon-lock" 16}}</span>
|
|
{{end}}
|
|
</td>
|
|
<td>{{.NumTeams}}</td>
|
|
<td>{{.NumMembers}}</td>
|
|
<td>{{.NumRepos}}</td>
|
|
<td><span title="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
|
|
<td><a href="{{AppSubUrl}}/org/{{.Name}}/settings"><i class="fa fa-pencil-square-o"></i></a></td>
|
|
</tr>
|
|
{{end}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
{{template "base/paginate" .}}
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|