From e9e12ad8434cdd252d30a2f0f51d3c561429002e Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Wed, 5 Jun 2024 11:44:25 +0200 Subject: [PATCH] feat: able to change database passwords on the UI. It won't sync to the database. --- .../database/mariadb/general.blade.php | 20 ++++++++--------- .../database/mongodb/general.blade.php | 14 ++++++------ .../project/database/mysql/general.blade.php | 20 ++++++++--------- .../database/postgresql/general.blade.php | 22 +++++++++---------- .../views/livewire/settings/backup.blade.php | 2 +- 5 files changed, 38 insertions(+), 40 deletions(-) diff --git a/resources/views/livewire/project/database/mariadb/general.blade.php b/resources/views/livewire/project/database/mariadb/general.blade.php index 9ba97fa59..7f0596b5c 100644 --- a/resources/views/livewire/project/database/mariadb/general.blade.php +++ b/resources/views/livewire/project/database/mariadb/general.blade.php @@ -12,23 +12,23 @@ +
If you change the values in the database, please sync it here, otherwise + automations (like backups) won't work. +
@if ($database->started_at) -
- - +
+ + + helper="If you change this in the database, please sync it here, otherwise automations (like backups) won't work." />
@else -
Please verify these values. You can only modify them before the initial - start. After that, you need to modify it in the database. -
-
+
+
If you change the values in the database, please sync it here, otherwise + automations (like backups) won't work. +
@if ($database->started_at) -
+
+ placeholder="If empty: postgres" helper="If you change this in the database, please sync it here, otherwise automations (like backups) won't work." /> + required helper="If you change this in the database, please sync it here, otherwise automations (like backups) won't work." />
@else -
Please verify these values. You can only modify them before the initial - start. After that, you need to modify it in the database. -
-
+
diff --git a/resources/views/livewire/project/database/mysql/general.blade.php b/resources/views/livewire/project/database/mysql/general.blade.php index fd22fedb0..539948b2e 100644 --- a/resources/views/livewire/project/database/mysql/general.blade.php +++ b/resources/views/livewire/project/database/mysql/general.blade.php @@ -12,23 +12,23 @@
+
If you change the values in the database, please sync it here, otherwise + automations (like backups) won't work. +
@if ($database->started_at) -
- - +
+ + + helper="If you change this in the database, please sync it here, otherwise automations (like backups) won't work." />
@else -
Please verify these values. You can only modify them before the initial - start. After that, you need to modify it in the database. -
-
+
-
+
- +
If you change the values in the database, please sync it here, otherwise automations (like backups) won't work. +
@if ($database->started_at) -
- - +
+ +
@else -
Please verify these values. You can only modify them before the initial - start. After that, you need to modify it in the database. -
-
+
-
@endif diff --git a/resources/views/livewire/settings/backup.blade.php b/resources/views/livewire/settings/backup.blade.php index cd1d1f428..4ca132123 100644 --- a/resources/views/livewire/settings/backup.blade.php +++ b/resources/views/livewire/settings/backup.blade.php @@ -30,7 +30,7 @@ @endif
- +