From d177e49e62abfee19f4da56f8c01b6b29ab3974f Mon Sep 17 00:00:00 2001
From: ayntk-ai <122374094+ayntk-ai@users.noreply.github.com>
Date: Fri, 9 Aug 2024 18:43:13 +0200
Subject: [PATCH] updated warning message and formating
---
.../livewire/project/service/navbar.blade.php | 208 +++++++++---------
1 file changed, 100 insertions(+), 108 deletions(-)
diff --git a/resources/views/livewire/project/service/navbar.blade.php b/resources/views/livewire/project/service/navbar.blade.php
index 125f9121a..67d6a78ca 100644
--- a/resources/views/livewire/project/service/navbar.blade.php
+++ b/resources/views/livewire/project/service/navbar.blade.php
@@ -10,130 +10,122 @@
@if (str($service->status())->contains('running'))
-
-
-
-
-
-
-
-
-
-
- Stop
-
- This service will be stopped.
Please think again.
-
+ Stop
+
+ This service will be stopped.
+
And all none persitant data will be deleted (Containers, Networks, Unused Images).
+ Please think again.
+
@elseif (str($service->status())->contains('degraded'))
-
-
-
-
-
-
-
-
-
-
- Stop
-
- This service will be stopped.
Please think again.
-
+ Stop
+
+ This service will be stopped.
+
And all none persitant data will be deleted (Containers, Networks, Unused Images).
+ Please think again.
+
@elseif (str($service->status())->contains('exited'))
-
-
-
-
-
- Force Cleanup Containers
-
-
-
-
-
-
- Deploy
-
+
+
+
+
+
+ Force Cleanup Containers
+
+
+
+
+
+
+ Deploy
+
@else
-
-
-
-
-
-
-
-
-
- Stop
-
- This service will be stopped.
Please think again.
-
-
-
-
-
+
+
+
+
+
+
+
+
- Deploy
-
+ Stop
+
+ This service will be stopped.
+
And all none persitant data will be deleted (Containers, Networks, Unused Images).
+ Please think again.
+
+
+
+
+
+
+ Deploy
+
@endif
@script
-
+
@endscript