From 7b0018b661565d6cddf96d24a2ca676e2f95c32c Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Fri, 12 Apr 2024 11:11:55 +0200 Subject: [PATCH] Add new popup-small component and update general.blade.php --- .../views/components/popup-small.blade.php | 28 +++++++++++++++++++ .../project/application/general.blade.php | 25 ++++++++++++----- 2 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 resources/views/components/popup-small.blade.php diff --git a/resources/views/components/popup-small.blade.php b/resources/views/components/popup-small.blade.php new file mode 100644 index 000000000..d623f3add --- /dev/null +++ b/resources/views/components/popup-small.blade.php @@ -0,0 +1,28 @@ +@props(['title' => 'Default title', 'description' => 'Default Description', 'buttonText' => 'Default Button Text']) +
+
+
+ @if (isset($icon)) + {{ $icon }} + + @endif + +
+

+ {{ $title }} +

+

{{ $description }}

+
+
+
+
diff --git a/resources/views/livewire/project/application/general.blade.php b/resources/views/livewire/project/application/general.blade.php index b31c14882..981024057 100644 --- a/resources/views/livewire/project/application/general.blade.php +++ b/resources/views/livewire/project/application/general.blade.php @@ -1,17 +1,28 @@
-
+

General

Save @if ($isConfigurationChanged && !is_null($application->config_hash) && !$application->isExited()) -
- - - -
+ + + The latest configuration has not been applied. + + + + + + Please restart (or redeploy) to apply the new configuration, especially if you have changed your domains. + + + Disable This Popup + + @endif
General configuration for your application.