From 65aa53fc52ff15efe54df4147564828d535837f8 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 11 Oct 2024 12:27:00 +0200 Subject: Adding upstream version 8.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 00000000..dc0196fc --- /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