2023-04-23 18:21:21 +08:00
|
|
|
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin authentication")}}
|
|
|
|
|
<div class="admin-setting-content">
|
2017-03-15 22:39:38 +00:00
|
|
|
<h4 class="ui top attached header">
|
2023-09-25 20:42:40 +08:00
|
|
|
{{ctx.Locale.Tr "admin.auths.auth_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}})
|
2017-03-15 22:39:38 +00:00
|
|
|
<div class="ui right">
|
2023-09-25 10:56:50 +02:00
|
|
|
<a class="ui primary tiny button" href="{{AppSubUrl}}/admin/auths/new">{{ctx.Locale.Tr "admin.auths.new"}}</a>
|
2015-09-10 15:45:03 -04:00
|
|
|
</div>
|
2017-03-15 22:39:38 +00:00
|
|
|
</h4>
|
|
|
|
|
<div class="ui attached table segment">
|
2022-05-01 16:11:21 +00:00
|
|
|
<table class="ui very basic striped table unstackable">
|
2017-03-15 22:39:38 +00:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>ID</th>
|
2023-09-25 10:56:50 +02:00
|
|
|
<th>{{ctx.Locale.Tr "admin.auths.name"}}</th>
|
|
|
|
|
<th>{{ctx.Locale.Tr "admin.auths.type"}}</th>
|
|
|
|
|
<th>{{ctx.Locale.Tr "admin.auths.enabled"}}</th>
|
|
|
|
|
<th>{{ctx.Locale.Tr "admin.auths.updated"}}</th>
|
|
|
|
|
<th>{{ctx.Locale.Tr "admin.users.created"}}</th>
|
|
|
|
|
<th>{{ctx.Locale.Tr "admin.users.edit"}}</th>
|
2017-03-15 22:39:38 +00:00
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
{{range .Sources}}
|
|
|
|
|
<tr>
|
|
|
|
|
<td>{{.ID}}</td>
|
|
|
|
|
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{.Name}}</a></td>
|
|
|
|
|
<td>{{.TypeName}}</td>
|
2021-07-24 11:16:34 +01:00
|
|
|
<td>{{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
|
2023-04-26 03:48:30 +08:00
|
|
|
<td>{{DateTime "short" .UpdatedUnix}}</td>
|
|
|
|
|
<td>{{DateTime "short" .CreatedUnix}}</td>
|
2020-12-09 20:03:19 +01:00
|
|
|
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{svg "octicon-pencil"}}</a></td>
|
2017-03-15 22:39:38 +00:00
|
|
|
</tr>
|
|
|
|
|
{{end}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
2015-12-07 23:30:52 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-04-23 18:21:21 +08:00
|
|
|
{{template "admin/layout_footer" .}}
|