templates/admin/auth/list: move "new" button to table foot

This commit is contained in:
Unknwon 2018-04-11 19:38:52 -04:00
parent b69294b6d6
commit 6e207c823e
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3

View File

@ -7,9 +7,6 @@
{{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>
</div>
</h4>
<div class="ui attached table segment">
<table class="ui very basic striped table">
@ -37,6 +34,16 @@
</tr>
{{end}}
</tbody>
<tfoot class="full-width">
<tr>
<th></th>
<th colspan="6">
<div class="ui right">
<a class="ui blue small button" href="{{AppSubURL}}/admin/auths/new">{{.i18n.Tr "admin.auths.new"}}</a>
</div>
</th>
</tr>
</tfoot>
</table>
</div>
</div>