2015-08-18 22:04:11 +05:30
|
|
|
{{template "base/head" .}}
|
2020-12-01 09:30:14 +05:30
|
|
|
<div class="page-content admin monitor">
|
2017-03-16 04:09:38 +05:30
|
|
|
{{template "admin/navbar" .}}
|
2015-12-08 04:00:52 +05:30
|
|
|
<div class="ui container">
|
2017-03-16 04:09:38 +05:30
|
|
|
{{template "base/alert" .}}
|
2022-03-29 07:01:07 +05:30
|
|
|
{{template "admin/cron" .}}
|
2020-01-07 16:53:09 +05:30
|
|
|
<h4 class="ui top attached header">
|
|
|
|
{{.i18n.Tr "admin.monitor.queues"}}
|
|
|
|
</h4>
|
|
|
|
<div class="ui attached table segment">
|
|
|
|
<table class="ui very basic striped table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>{{.i18n.Tr "admin.monitor.queue.name"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.monitor.queue.type"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.monitor.queue.exemplar"}}</th>
|
|
|
|
<th>{{.i18n.Tr "admin.monitor.queue.numberworkers"}}</th>
|
2022-02-12 11:01:26 +05:30
|
|
|
<th>{{.i18n.Tr "admin.monitor.queue.numberinqueue"}}</th>
|
2020-01-07 16:53:09 +05:30
|
|
|
<th></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{{range .Queues}}
|
|
|
|
<tr>
|
|
|
|
<td>{{.Name}}</td>
|
|
|
|
<td>{{.Type}}</td>
|
|
|
|
<td>{{.ExemplarType}}</td>
|
|
|
|
<td>{{$sum := .NumberOfWorkers}}{{if lt $sum 0}}-{{else}}{{$sum}}{{end}}</td>
|
2022-02-12 11:01:26 +05:30
|
|
|
<td>{{$sum := .NumberInQueue}}{{if lt $sum 0}}-{{else}}{{$sum}}{{end}}</td>
|
2020-01-07 16:53:09 +05:30
|
|
|
<td><a href="{{$.Link}}/queue/{{.QID}}" class="button">{{if lt $sum 0}}{{$.i18n.Tr "admin.monitor.queue.review"}}{{else}}{{$.i18n.Tr "admin.monitor.queue.review_add"}}{{end}}</a>
|
|
|
|
</tr>
|
|
|
|
{{end}}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
|
2021-12-01 01:36:32 +05:30
|
|
|
{{template "admin/process" .}}
|
2015-12-08 04:00:52 +05:30
|
|
|
</div>
|
2014-08-30 18:19:51 +05:30
|
|
|
</div>
|
2019-11-30 20:10:22 +05:30
|
|
|
<div class="ui small basic delete modal">
|
|
|
|
<div class="ui icon header">
|
2020-12-10 00:33:19 +05:30
|
|
|
{{svg "octicon-x" 16 "close inside"}}
|
2019-11-30 20:10:22 +05:30
|
|
|
{{.i18n.Tr "admin.monitor.process.cancel"}}
|
|
|
|
</div>
|
|
|
|
<div class="content">
|
|
|
|
<p>{{$.i18n.Tr "admin.monitor.process.cancel_notices" `<span class="name"></span>` | Safe}}</p>
|
|
|
|
<p>{{$.i18n.Tr "admin.monitor.process.cancel_desc"}}</p>
|
|
|
|
</div>
|
|
|
|
{{template "base/delete_modal_actions" .}}
|
|
|
|
</div>
|
2015-12-08 04:00:52 +05:30
|
|
|
{{template "base/footer" .}}
|