From 04315817a23c64553b36388531da62c50478d601 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 15 Feb 2024 23:18:36 -0800 Subject: [PATCH] Obsessing about styling --- .../system-status-dialog.component.html | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 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 d74e28d8d..5b60abe34 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 @@ -45,20 +45,20 @@
Type
{{status.database.type}}
Status
-
+
{{status.database.status}} @if (status.database.status === 'OK') { - + } @else { - + }
Migration Status
-
+
@if (status.database.migration_status.unapplied_migrations.length === 0) { - Up to date + Up to date } @else { - {{status.database.migration_status.unapplied_migrations.length}} Pending + {{status.database.migration_status.unapplied_migrations.length}} Pending }
Latest Migration:
{{status.database.migration_status.latest_migration}} @@ -85,50 +85,50 @@
Redis Status
-
+
{{status.tasks.redis_status}} @if (status.tasks.redis_status === 'OK') { - + } @else { - + }
Celery Status
-
+
{{status.tasks.celery_status}} @if (status.tasks.celery_status === 'OK') { - + } @else { - + }
Search Index
-
+
{{status.tasks.index_status}} @if (status.tasks.index_status === 'OK') { @if (isStale(status.tasks.index_last_modified)) { - + } @else { - + } } @else { - + }
Last Updated:
{{status.tasks.index_last_modified | customDate:'medium'}}
Classifier
-
+
{{status.tasks.classifier_status}} @if (status.tasks.classifier_status === 'OK') { @if (isStale(status.tasks.classifier_last_trained)) { - + } @else { - + } } @else { - + }