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_manage.tmpl | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 templates/admin/queue_manage.tmpl (limited to 'templates/admin/queue_manage.tmpl') diff --git a/templates/admin/queue_manage.tmpl b/templates/admin/queue_manage.tmpl new file mode 100644 index 0000000..dc0196f --- /dev/null +++ b/templates/admin/queue_manage.tmpl @@ -0,0 +1,61 @@ +{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}} +
+

+ {{ctx.Locale.Tr "admin.monitor.queue" .Queue.GetName}} +

+
+ + + + + + + + + + + + + + + + + + + + + + + +
{{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.maxnumberworkers"}}{{ctx.Locale.Tr "admin.monitor.queue.numberinqueue"}}
{{.Queue.GetName}}{{.Queue.GetType}}{{.Queue.GetItemTypeName}}{{.Queue.GetWorkerNumber}}{{.Queue.GetWorkerActiveNumber}}{{.Queue.GetWorkerMaxNumber}} + {{$sum := .Queue.GetQueueItemNumber}} + {{if lt $sum 0}} + - + {{else}} + {{$sum}} +
+ {{$.CsrfTokenHtml}} + +
+ {{end}} +
+
+ +

+ {{ctx.Locale.Tr "admin.monitor.queue.settings.title"}} +

+
+

{{ctx.Locale.Tr "admin.monitor.queue.settings.desc"}}

+
+ {{$.CsrfTokenHtml}} +
+
+ + +
+ +
+
+
+
+{{template "admin/layout_footer" .}} -- cgit v1.2.3