From e5f534b6ef655aebf92891d129e5f7917307e2ec Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 12 Dec 2024 08:40:34 +0100 Subject: [PATCH] fix: pushover --- .../livewire/notifications/pushover.blade.php | 140 +++++++++--------- routes/web.php | 2 +- 2 files changed, 72 insertions(+), 70 deletions(-) diff --git a/resources/views/livewire/notifications/pushover.blade.php b/resources/views/livewire/notifications/pushover.blade.php index 271af5367..c8dd777d8 100644 --- a/resources/views/livewire/notifications/pushover.blade.php +++ b/resources/views/livewire/notifications/pushover.blade.php @@ -1,84 +1,86 @@
Notifications | Coolify - - -
-
-

Pushover

- - Save - - @if ($pushoverEnabled) + + + +
+

Pushover

+ + Save + + @if ($pushoverEnabled) Send Test Notification - @else + @else Send Test Notification - @endif -
-
- -
+ @endif +
+
+ +
+
+ helper="Get your User Key in Pushover. You need to be logged in to Pushover to see your user key in the top right corner.
Pushover Dashboard" + required id="pushoverUserKey" label="User Key" /> - -

Notification Settings

-

- Select events for which you would like to receive Pushover notifications. -

-
-
-

Deployments

-
- - - -
-
-
-

Backups

-
- - -
-
-
-

Scheduled Tasks

-
- - -
-
-
-

Server

-
- - - - - -
+ helper="Generate an API Token/Key in Pushover by creating a new application.
Create Pushover Application" + required id="pushoverApiToken" label="API Token" /> +
+ +

Notification Settings

+

+ Select events for which you would like to receive Pushover notifications. +

+
+
+

Deployments

+
+ + +
+
+

Backups

+
+ + +
+
+
+

Scheduled Tasks

+
+ + +
+
+
+

Server

+
+ + + + + +
+
+
diff --git a/routes/web.php b/routes/web.php index 38ce7f15c..3d12b9b46 100644 --- a/routes/web.php +++ b/routes/web.php @@ -12,9 +12,9 @@ use App\Livewire\Destination\Show as DestinationShow; use App\Livewire\ForcePasswordReset; use App\Livewire\Notifications\Discord as NotificationDiscord; use App\Livewire\Notifications\Email as NotificationEmail; +use App\Livewire\Notifications\Pushover as NotificationPushover; use App\Livewire\Notifications\Slack as NotificationSlack; use App\Livewire\Notifications\Telegram as NotificationTelegram; -use App\Livewire\Notifications\Pushover as NotificationPushover; use App\Livewire\Profile\Index as ProfileIndex; use App\Livewire\Project\Application\Configuration as ApplicationConfiguration; use App\Livewire\Project\Application\Deployment\Index as DeploymentIndex;