fix: pushover

This commit is contained in:
Andras Bacsai
2024-12-12 08:40:34 +01:00
parent f88438edd3
commit e5f534b6ef
2 changed files with 72 additions and 70 deletions

View File

@@ -23,12 +23,14 @@
<div class="w-32"> <div class="w-32">
<x-forms.checkbox instantSave="instantSavePushoverEnabled" id="pushoverEnabled" label="Enabled" /> <x-forms.checkbox instantSave="instantSavePushoverEnabled" id="pushoverEnabled" label="Enabled" />
</div> </div>
<div class="flex gap-2">
<x-forms.input type="password" <x-forms.input type="password"
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. <br><a class='inline-block underline dark:text-white' href='https://pushover.net/' target='_blank'>Pushover Dashboard</a>" required 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. <br><a class='inline-block underline dark:text-white' href='https://pushover.net/' target='_blank'>Pushover Dashboard</a>"
id="pushoverUserKey" label="User Key" /> required id="pushoverUserKey" label="User Key" />
<x-forms.input type="password" <x-forms.input type="password"
helper="Generate an API Token/Key in Pushover by creating a new application. <br><a class='inline-block underline dark:text-white' href='https://pushover.net/apps/build' target='_blank'>Create Pushover Application</a>" required helper="Generate an API Token/Key in Pushover by creating a new application. <br><a class='inline-block underline dark:text-white' href='https://pushover.net/apps/build' target='_blank'>Create Pushover Application</a>"
id="pushoverApiToken" label="API Token" /> required id="pushoverApiToken" label="API Token" />
</div>
</form> </form>
<h2 class="mt-4">Notification Settings</h2> <h2 class="mt-4">Notification Settings</h2>
<p class="mb-4"> <p class="mb-4">

View File

@@ -12,9 +12,9 @@ use App\Livewire\Destination\Show as DestinationShow;
use App\Livewire\ForcePasswordReset; use App\Livewire\ForcePasswordReset;
use App\Livewire\Notifications\Discord as NotificationDiscord; use App\Livewire\Notifications\Discord as NotificationDiscord;
use App\Livewire\Notifications\Email as NotificationEmail; 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\Slack as NotificationSlack;
use App\Livewire\Notifications\Telegram as NotificationTelegram; use App\Livewire\Notifications\Telegram as NotificationTelegram;
use App\Livewire\Notifications\Pushover as NotificationPushover;
use App\Livewire\Profile\Index as ProfileIndex; use App\Livewire\Profile\Index as ProfileIndex;
use App\Livewire\Project\Application\Configuration as ApplicationConfiguration; use App\Livewire\Project\Application\Configuration as ApplicationConfiguration;
use App\Livewire\Project\Application\Deployment\Index as DeploymentIndex; use App\Livewire\Project\Application\Deployment\Index as DeploymentIndex;