Browse Source

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

pull/5168/head
Unknwon 7 years ago
parent
commit
6e207c823e
No known key found for this signature in database
GPG Key ID: 25B575AE3213B2B3
  1. 13
      templates/admin/auth/list.tmpl

13
templates/admin/auth/list.tmpl

@ -7,9 +7,6 @@
{{template "base/alert" .}} {{template "base/alert" .}}
<h4 class="ui top attached header"> <h4 class="ui top attached header">
{{.i18n.Tr "admin.auths.auth_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) {{.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> </h4>
<div class="ui attached table segment"> <div class="ui attached table segment">
<table class="ui very basic striped table"> <table class="ui very basic striped table">
@ -37,6 +34,16 @@
</tr> </tr>
{{end}} {{end}}
</tbody> </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> </table>
</div> </div>
</div> </div>

Loading…
Cancel
Save