diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-08-30 20:49:51 +0800 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-08-30 20:49:51 +0800 |
commit | 9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (patch) | |
tree | 7c900df2d0ec5e15cebeddee8ba6fb3e418d2297 /templates/admin/monitor.tmpl | |
parent | 66d51804c92d39b494563693fe912f11b59810bd (diff) | |
download | gitea-9bc63bda7ded31b77ad4aaf3495582a7c8555d2f.tar.gz gitea-9bc63bda7ded31b77ad4aaf3495582a7c8555d2f.zip |
Finish all new admin pages.
Diffstat (limited to 'templates/admin/monitor.tmpl')
-rw-r--r-- | templates/admin/monitor.tmpl | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/templates/admin/monitor.tmpl b/templates/admin/monitor.tmpl new file mode 100644 index 0000000000..b94f92b664 --- /dev/null +++ b/templates/admin/monitor.tmpl @@ -0,0 +1,74 @@ +{{template "ng/base/head" .}} +{{template "ng/base/header" .}} +<div id="admin-wrapper"> + <div id="setting-wrapper" class="main-wrapper"> + <div id="admin-setting" class="container clear"> + {{template "admin/nav" .}} + <div class="grid-4-5 left"> + <div class="setting-content"> + {{template "ng/base/alert" .}} + <div id="setting-content"> + <div class="panel panel-radius"> + <div class="panel-header"> + <strong>{{.i18n.Tr "admin.monitor.cron"}}</strong> + </div> + <div class="panel-body admin-panel"> + <table class="table table-striped"> + <thead> + <tr> + <th>{{.i18n.Tr "admin.monitor.name"}}</th> + <th>{{.i18n.Tr "admin.monitor.schedule"}}</th> + <th>{{.i18n.Tr "admin.monitor.next"}}</th> + <th>{{.i18n.Tr "admin.monitor.previous"}}</th> + <th>{{.i18n.Tr "admin.monitor.execute_times"}}</th> + </tr> + </thead> + <tbody> + {{range .Entries}} + <tr> + <td>{{.Description}}</td> + <td>{{.Spec}}</td> + <td>{{.Next}}</td> + <td>{{.Prev}}</td> + <td>{{.ExecTimes}}</td> + </tr> + {{end}} + </tbody> + </table> + </div> + </div> + <br> + <div class="panel panel-radius"> + <div class="panel-header"> + <strong>{{.i18n.Tr "admin.monitor.process"}}</strong> + </div> + <div class="panel-body admin-panel"> + <table class="table table-striped"> + <thead> + <tr> + <th>Pid</th> + <th>{{.i18n.Tr "admin.monitor.desc"}}</th> + <th>{{.i18n.Tr "admin.monitor.start"}}</th> + <th>{{.i18n.Tr "admin.monitor.execute_time"}}</th> + </tr> + </thead> + <tbody> + {{range .Processes}} + <tr> + <td>{{.Pid}}</td> + <td>{{.Description}}</td> + <td>{{.Start}}</td> + <td>{{TimeSince .Start}}</td> + </tr> + {{end}} + </tbody> + </table> + </div> + </div> + </div> + </div> + </div> + </div> + </div> +</div> +{{template "ng/base/footer" .}}
\ No newline at end of file |