From e68b9d00a6e05b3a941f63ffb696f91e554ac5ec Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 18 Oct 2024 20:33:49 +0200 Subject: Adding upstream version 9.0.3. Signed-off-by: Daniel Baumann --- templates/admin/queue.tmpl | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 templates/admin/queue.tmpl (limited to 'templates/admin/queue.tmpl') diff --git a/templates/admin/queue.tmpl b/templates/admin/queue.tmpl new file mode 100644 index 0000000..1be35cf --- /dev/null +++ b/templates/admin/queue.tmpl @@ -0,0 +1,36 @@ +{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}} +
+

+ {{ctx.Locale.Tr "admin.monitor.queues"}} +

+
+ + + + + + + + + + + + + + {{range $qid, $q := .Queues}} + + + + + + + + + + {{end}} + +
{{ctx.Locale.Tr "admin.monitor.queue.name"}}{{ctx.Locale.Tr "admin.monitor.queue.type"}}{{ctx.Locale.Tr "admin.monitor.queue.exemplar"}}{{ctx.Locale.Tr "admin.monitor.queue.numberworkers"}}{{ctx.Locale.Tr "admin.monitor.queue.activeworkers"}}{{ctx.Locale.Tr "admin.monitor.queue.numberinqueue"}}
{{$q.GetName}}{{$q.GetType}}{{$q.GetItemTypeName}}{{$q.GetWorkerNumber}}{{$q.GetWorkerActiveNumber}}{{$sum := $q.GetQueueItemNumber}}{{if lt $sum 0}}-{{else}}{{$sum}}{{end}}{{ctx.Locale.Tr "admin.monitor.queue.review_add"}}
+
+
+{{template "admin/layout_footer" .}} + -- cgit v1.2.3