2015-09-11 03:45:03 +08:00
|
|
|
{{template "base/head" .}}
|
2020-12-01 12:00:14 +08:00
|
|
|
<div class="page-content admin authentication">
|
2017-03-16 06:39:38 +08:00
|
|
|
{{template "admin/navbar" .}}
|
2015-12-08 06:30:52 +08:00
|
|
|
<div class="ui container">
|
2017-03-16 06:39:38 +08:00
|
|
|
{{template "base/alert" .}}
|
|
|
|
<h4 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "admin.auths.auth_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
|
|
|
|
<div class="ui right">
|
|
|
|
<a class="ui blue tiny button" href="{{AppSubUrl}}/admin/auths/new">{{.i18n.Tr "admin.auths.new"}}</a>
|
2015-09-11 03:45:03 +08:00
|
|
|
</div>
|
2017-03-16 06:39:38 +08:00
|
|
|
</h4>
|
|
|
|
<div class="ui attached table segment">
|
|
|
|
<table class="ui very basic striped table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>{{.i18n.Tr "admin.auths.name"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.auths.type"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.auths.enabled"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.auths.updated"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.users.created"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.users.edit"}}</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{range .Sources}}
|
|
|
|
<tr>
|
|
|
|
<td>{{.ID}}</td>
|
|
|
|
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{.Name}}</a></td>
|
|
|
|
<td>{{.TypeName}}</td>
|
2020-12-10 03:03:19 +08:00
|
|
|
<td>{{if .IsActived}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
|
2017-12-11 12:37:04 +08:00
|
|
|
<td><span class="poping up" data-content="{{.UpdatedUnix.FormatShort}}" data-variation="tiny">{{.UpdatedUnix.FormatShort}}</span></td>
|
|
|
|
<td><span class="poping up" data-content="{{.CreatedUnix.FormatLong}}" data-variation="tiny">{{.CreatedUnix.FormatShort}}</span></td>
|
2020-12-10 03:03:19 +08:00
|
|
|
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{svg "octicon-pencil"}}</a></td>
|
2017-03-16 06:39:38 +08:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-12-08 06:30:52 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-29 20:50:43 +08:00
|
|
|
</div>
|
2015-12-08 06:30:52 +08:00
|
|
|
{{template "base/footer" .}}
|