mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 08:42:32 -05:00
74 lines
No EOL
3.7 KiB
Cheetah
74 lines
No EOL
3.7 KiB
Cheetah
{{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" .}} |