diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/dashboard.tmpl | 10 | ||||
-rw-r--r-- | templates/admin/monitor.tmpl | 1 |
2 files changed, 6 insertions, 5 deletions
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index c1ac8fb489..f6acc9457f 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -14,9 +14,9 @@ <h4 class="ui top attached header"> {{.i18n.Tr "admin.dashboard.operations"}} </h4> - <div class="ui attached table segment"> - <form method="post" action="{{AppSubUrl}}/admin"> - {{.CsrfTokenHtml}} + <form method="post" action="{{AppSubUrl}}/admin"> + {{.CsrfTokenHtml}} + <div class="ui attached table segment"> <table class="ui very basic table"> <tbody> <tr> @@ -62,8 +62,8 @@ </tr> </tbody> </table> - </form> - </div> + </div> + </form> <h4 class="ui top attached header"> {{.i18n.Tr "admin.dashboard.system_status"}} diff --git a/templates/admin/monitor.tmpl b/templates/admin/monitor.tmpl index 2980a2e9d8..8dd0d939d7 100644 --- a/templates/admin/monitor.tmpl +++ b/templates/admin/monitor.tmpl @@ -8,6 +8,7 @@ </h4> <div class="ui attached table segment"> <form method="post" action="{{AppSubUrl}}/admin"> + <input type="hidden" name="from" value="monitor"/> {{.CsrfTokenHtml}} <table class="ui very basic striped table"> <thead> |