2015-09-10 22:45:03 +03:00
|
|
|
{{template "base/head" .}}
|
2020-12-01 07:00:14 +03:00
|
|
|
<div class="page-content admin authentication">
|
2017-03-16 01:39:38 +03:00
|
|
|
{{template "admin/navbar" .}}
|
2015-12-08 01:30:52 +03:00
|
|
|
<div class="ui container">
|
2017-03-16 01:39:38 +03: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-10 22:45:03 +03:00
|
|
|
</div>
|
2017-03-16 01:39:38 +03: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>
|
2021-07-24 13:16:34 +03:00
|
|
|
<td>{{if .IsActive}}{{svg "octicon-check"}}{{else}}{{svg "octicon-x"}}{{end}}</td>
|
2021-11-18 06:26:50 +03:00
|
|
|
<td><span class="tooltip" data-content="{{.UpdatedUnix.FormatShort}}">{{.UpdatedUnix.FormatShort}}</span></td>
|
|
|
|
<td><span class="tooltip" data-content="{{.CreatedUnix.FormatLong}}">{{.CreatedUnix.FormatShort}}</span></td>
|
2020-12-09 22:03:19 +03:00
|
|
|
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{svg "octicon-pencil"}}</a></td>
|
2017-03-16 01:39:38 +03:00
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-12-08 01:30:52 +03:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-08-29 16:50:43 +04:00
|
|
|
</div>
|
2015-12-08 01:30:52 +03:00
|
|
|
{{template "base/footer" .}}
|