From cd56e8c5d898da429a815b9be7caf74230b813f6 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 25 Feb 2025 12:42:05 -0800 Subject: [PATCH] Use buttons --- .../system-status-dialog.component.html | 42 +++++++++---------- .../system-status-dialog.component.scss | 4 +- 2 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html index df3b6940d..f0e1081b2 100644 --- a/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html +++ b/src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html @@ -46,14 +46,14 @@
{{status.database.type}}
Status
-
+
+ @if (status.database.status === 'OK') { {{status.database.url}} @@ -64,7 +64,7 @@
Migration Status
-
+
+
@@ -97,14 +97,14 @@
Redis Status
-
+
+ @if (status.tasks.redis_status === 'OK') { {{status.tasks.redis_url}} @@ -115,14 +115,14 @@
Celery Status
-
+
+ @if (status.tasks.celery_status === 'OK') { {{status.tasks.celery_url}} @@ -145,7 +145,7 @@
Search Index
-
+
+ @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.IndexOptimize)) {
} @else { -
+
+ } }
@@ -177,7 +177,7 @@
Classifier
-
+
+ @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.TrainClassifier)) {
} @else { -
+
+ } }
@@ -211,7 +211,7 @@
Sanity Checker
-
+
+ @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.SanityCheck)) {
} @else { -
+
+ } }
@@ -251,7 +251,7 @@ }