ui: notifications
This commit is contained in:
parent
35f45492e3
commit
d79c063fd6
@ -22,29 +22,15 @@
|
|||||||
@if (data_get($team, 'discord_enabled'))
|
@if (data_get($team, 'discord_enabled'))
|
||||||
<h2 class="mt-4">Subscribe to events</h2>
|
<h2 class="mt-4">Subscribe to events</h2>
|
||||||
<div class="w-64">
|
<div class="w-64">
|
||||||
|
|
||||||
|
|
||||||
@if (isDev())
|
@if (isDev())
|
||||||
<h3 class="mt-4">Test</h3>
|
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_test" label="Test" />
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_test" label="Enabled" />
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
<h3 class="mt-4">Container Status Changes</h3>
|
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_status_changes"
|
||||||
<div class="flex items-end gap-10">
|
label="Container Status Changes" />
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_status_changes"
|
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_deployments"
|
||||||
label="Enabled" />
|
label="Application Deployments" />
|
||||||
</div>
|
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_database_backups"
|
||||||
<h3 class="mt-4">Application Deployments</h3>
|
label="Backup Status" />
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_deployments"
|
|
||||||
label="Enabled" />
|
|
||||||
</div>
|
|
||||||
<h3 class="mt-4">Backup Status</h3>
|
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.discord_notifications_database_backups"
|
|
||||||
label="Enabled" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,24 +104,14 @@
|
|||||||
<h2 class="mt-4">Subscribe to events</h2>
|
<h2 class="mt-4">Subscribe to events</h2>
|
||||||
<div class="w-64">
|
<div class="w-64">
|
||||||
@if (isDev())
|
@if (isDev())
|
||||||
<h3 class="mt-4">Test</h3>
|
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_test" label="Test" />
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_test" label="Enabled" />
|
|
||||||
</div>
|
|
||||||
@endif
|
@endif
|
||||||
<h3 class="mt-4">Container Status Changes</h3>
|
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_status_changes"
|
||||||
<div class="flex items-end gap-10">
|
label="Container Status Changes" />
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_status_changes" label="Enabled" />
|
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_deployments"
|
||||||
</div>
|
label="Application Deployments" />
|
||||||
<h3 class="mt-4">Application Deployments</h3>
|
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_database_backups"
|
||||||
<div class="flex items-end gap-10">
|
label="Backup Status" />
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_deployments" label="Enabled" />
|
|
||||||
</div>
|
|
||||||
<h3 class="mt-4">Backup Status</h3>
|
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.smtp_notifications_database_backups"
|
|
||||||
label="Enabled" />
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,34 +27,30 @@
|
|||||||
<h2 class="mt-4">Subscribe to events</h2>
|
<h2 class="mt-4">Subscribe to events</h2>
|
||||||
<div class="w-96">
|
<div class="w-96">
|
||||||
@if (isDev())
|
@if (isDev())
|
||||||
<h3 class="mt-4">Test</h3>
|
<div class="w-64">
|
||||||
<div class="flex items-end gap-10">
|
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_test" label="Test" />
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_test" label="Enabled" />
|
|
||||||
<x-forms.input
|
<x-forms.input
|
||||||
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
||||||
id="team.telegram_notifications_test_message_thread_id" label="Custom Topic ID" />
|
id="team.telegram_notifications_test_message_thread_id" label="Custom Topic ID" />
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
<h3 class="mt-4">Container Status Changes</h3>
|
<div class="w-64">
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_status_changes"
|
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_status_changes"
|
||||||
label="Enabled" />
|
label="Container Status Changes" />
|
||||||
<x-forms.input
|
<x-forms.input
|
||||||
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
||||||
id="team.telegram_notifications_status_changes_message_thread_id" label="Custom Topic ID" />
|
id="team.telegram_notifications_status_changes_message_thread_id" label="Custom Topic ID" />
|
||||||
</div>
|
</div>
|
||||||
<h3 class="mt-4">Application Deployments</h3>
|
<div class="w-64">
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_deployments"
|
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_deployments"
|
||||||
label="Enabled" />
|
label="Application Deployments" />
|
||||||
<x-forms.input
|
<x-forms.input
|
||||||
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
||||||
id="team.telegram_notifications_deployments_message_thread_id" label="Custom Topic ID" />
|
id="team.telegram_notifications_deployments_message_thread_id" label="Custom Topic ID" />
|
||||||
</div>
|
</div>
|
||||||
<h3 class="mt-4">Backup Status</h3>
|
<div class="w-64">
|
||||||
<div class="flex items-end gap-10">
|
|
||||||
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_database_backups"
|
<x-forms.checkbox instantSave="saveModel" id="team.telegram_notifications_database_backups"
|
||||||
label="Enabled" />
|
label="Backup Status" />
|
||||||
<x-forms.input
|
<x-forms.input
|
||||||
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
helper="If you are using Group chat with Topics, you can specify the topics ID. If empty, General topic will be used."
|
||||||
id="team.telegram_notifications_database_backups_message_thread_id" label="Custom Topic ID" />
|
id="team.telegram_notifications_database_backups_message_thread_id" label="Custom Topic ID" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user