diff options
author | Unknwon <u@gogs.io> | 2018-04-11 19:38:52 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-04-11 19:38:52 -0400 |
commit | 6e207c823e2ebccb5444d65a5b9e1d3dde8a8c4e (patch) | |
tree | 40d7623094a8512dd9c9a5790d5415781fe48093 /templates/admin | |
parent | b69294b6d6fc8062c738da6c216cc7cee02200e2 (diff) |
templates/admin/auth/list: move "new" button to table foot
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/auth/list.tmpl | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index dee67ab4..77a95384 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -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> |