parent
26ac016b9f
commit
fa728d8dff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,59 +1,46 @@ |
|||||||
{{template "ng/base/head" .}} |
{{template "base/head" .}} |
||||||
{{template "ng/base/header" .}} |
<div class="admin authentication"> |
||||||
<div id="admin-wrapper"> |
<div class="ui container"> |
||||||
<div id="setting-wrapper" class="main-wrapper"> |
<div class="ui grid"> |
||||||
<div id="admin-setting" class="container clear"> |
{{template "admin/navbar" .}} |
||||||
{{template "admin/nav" .}} |
<div class="twelve wide column content"> |
||||||
<div class="grid-4-5 left"> |
{{template "base/alert" .}} |
||||||
<div class="setting-content"> |
<h4 class="ui top attached header"> |
||||||
{{template "ng/base/alert" .}} |
{{.i18n.Tr "admin.auths.auth_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) |
||||||
<div id="setting-content"> |
<div class="ui right"> |
||||||
<div class="panel panel-radius"> |
<a class="ui blue tiny button" href="{{AppSubUrl}}/admin/auths/new">{{.i18n.Tr "admin.auths.new"}}</a> |
||||||
<div class="panel-header"> |
</div> |
||||||
<strong>{{.i18n.Tr "admin.auths.auth_manage_panel"}}</strong> |
</h4> |
||||||
</div> |
<div class="ui attached table segment"> |
||||||
<div class="panel-body admin-panel"> |
<table class="ui very basic striped table"> |
||||||
<a class="btn-blue btn-medium btn-link btn-radius" href="{{AppSubUrl}}/admin/auths/new">{{.i18n.Tr "admin.auths.new"}}</a> |
<thead> |
||||||
<div class="admin-table"> |
<tr> |
||||||
<table class="table table-striped"> |
<th>ID</th> |
||||||
<thead> |
<th>{{.i18n.Tr "admin.auths.name"}}</th> |
||||||
<tr> |
<th>{{.i18n.Tr "admin.auths.type"}}</th> |
||||||
<th>Id</th> |
<th>{{.i18n.Tr "admin.auths.enabled"}}</th> |
||||||
<th>{{.i18n.Tr "admin.auths.name"}}</th> |
<th>{{.i18n.Tr "admin.auths.updated"}}</th> |
||||||
<th>{{.i18n.Tr "admin.auths.type"}}</th> |
<th>{{.i18n.Tr "admin.users.created"}}</th> |
||||||
<th>{{.i18n.Tr "admin.auths.enabled"}}</th> |
<th>{{.i18n.Tr "admin.users.edit"}}</th> |
||||||
<th>{{.i18n.Tr "admin.auths.updated"}}</th> |
</tr> |
||||||
<th>{{.i18n.Tr "admin.users.created"}}</th> |
</thead> |
||||||
<th>{{.i18n.Tr "admin.users.edit"}}</th> |
<tbody> |
||||||
</tr> |
{{range .Sources}} |
||||||
</thead> |
<tr> |
||||||
<tbody> |
<td>{{.ID}}</td> |
||||||
{{range .Sources}} |
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{.Name}}</a></td> |
||||||
<tr> |
<td>{{.TypeString}}</td> |
||||||
<td>{{.ID}}</td> |
<td><i class="fa fa{{if .IsActived}}-check{{end}}-square-o"></i></td> |
||||||
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}">{{.Name}}</a></td> |
<td><span class="poping up" data-content="{{DateFmtLong .Updated}}" data-variation="tiny">{{DateFmtShort .Updated}}</span></td> |
||||||
<td>{{.TypeString}}</td> |
<td><span class="poping up" data-content="{{DateFmtLong .Created}}" data-variation="tiny">{{DateFmtShort .Created}}</span></td> |
||||||
<td><i class="fa fa{{if .IsActived}}-check{{end}}-square-o"></i></td> |
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}"><i class="fa fa-pencil-square-o"></i></a></td> |
||||||
<td><span title="{{DateFmtLong .Updated}}">{{DateFmtShort .Updated}}</span></td> |
</tr> |
||||||
<td><span title="{{DateFmtLong .Created}}">{{DateFmtShort .Created}}</span></td> |
{{end}} |
||||||
<td><a href="{{AppSubUrl}}/admin/auths/{{.ID}}"><i class="fa fa-pencil-square-o"></i></a></td> |
</tbody> |
||||||
</tr> |
</table> |
||||||
{{end}} |
</div> |
||||||
</tbody> |
</div> |
||||||
</table> |
|
||||||
{{if or .LastPageNum .NextPageNum}} |
|
||||||
<ul class="pagination"> |
|
||||||
{{if .LastPageNum}}<li><a class="btn btn-medium btn-gray btn-radius" href="{{AppSubUrl}}/admin/auths?p={{.LastPageNum}}">« Prev.</a></li>{{end}} |
|
||||||
{{if .NextPageNum}}<li><a class="btn btn-medium btn-gray btn-radius" href="{{AppSubUrl}}/admin/auths?p={{.NextPageNum}}">» Next</a></li>{{end}} |
|
||||||
</ul> |
|
||||||
{{end}} |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
|
||||||
</div> |
</div> |
||||||
|
</div> |
||||||
</div> |
</div> |
||||||
{{template "ng/base/footer" .}} |
{{template "base/footer" .}} |
Loading…
Reference in new issue