testing php storm code cleanup and styling
This commit is contained in:
@@ -7,29 +7,30 @@
|
||||
</x-forms.button>
|
||||
@if ($model->discord_enabled)
|
||||
<x-forms.button class="text-white normal-case btn btn-xs no-animation btn-primary"
|
||||
wire:click="sendTestNotification">
|
||||
wire:click="sendTestNotification">
|
||||
Send Test Notifications
|
||||
</x-forms.button>
|
||||
@endif
|
||||
</div>
|
||||
<div class="w-48">
|
||||
<x-forms.checkbox instantSave id="model.discord_enabled" label="Notification Enabled" />
|
||||
<x-forms.checkbox instantSave id="model.discord_enabled" label="Notification Enabled"/>
|
||||
</div>
|
||||
<x-forms.input type="password"
|
||||
helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...." required
|
||||
id="model.discord_webhook_url" label="Webhook" />
|
||||
helper="Generate a webhook in Discord.<br>Example: https://discord.com/api/webhooks/...."
|
||||
required
|
||||
id="model.discord_webhook_url" label="Webhook"/>
|
||||
</form>
|
||||
@if (data_get($model, 'discord_enabled'))
|
||||
<h4 class="mt-4">Subscribe to events</h4>
|
||||
<div class="w-64 ">
|
||||
@if (isDev())
|
||||
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_test" label="Test" />
|
||||
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_test" label="Test"/>
|
||||
@endif
|
||||
<h5 class="mt-4">Applications</h5>
|
||||
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_deployments"
|
||||
label="Deployments" />
|
||||
label="Deployments"/>
|
||||
<x-forms.checkbox instantSave="saveModel" id="model.discord_notifications_status_changes"
|
||||
label="Status Changes" />
|
||||
label="Status Changes"/>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user