lasthourcloud/resources/views/livewire/notifications/email-settings.blade.php

38 lines
1.9 KiB
PHP
Raw Normal View History

2023-06-01 10:15:33 +00:00
<div>
<form wire:submit.prevent='submit' class="flex flex-col mt-2">
<div class="flex items-center gap-2">
<h3>E-mail (SMTP)</h3>
<x-forms.button class="w-16 mt-4" type="submit">
Save
</x-forms.button>
</div>
2023-05-25 16:27:52 +00:00
<div class="flex flex-col w-96">
2023-06-01 11:24:20 +00:00
<x-forms.checkbox instantSave id="model.extra_attributes.smtp_active" label="Notification Enabled" />
2023-05-25 16:27:52 +00:00
</div>
2023-06-01 11:54:38 +00:00
<x-forms.input id="model.extra_attributes.test_notification_recipients" label="Test Notification Recipient(s)"
helper="Emails separated by comma." />
2023-05-25 16:27:52 +00:00
<div class="flex flex-col gap-2 xl:flex-row">
<div class="flex flex-col w-96">
2023-06-01 11:54:38 +00:00
<x-forms.input required id="model.extra_attributes.recipients" helper="Emails separated by comma."
label="Recipient(s)" />
2023-05-25 16:27:52 +00:00
</div>
</div>
<div class="flex flex-col gap-2 xl:flex-row">
<div class="flex flex-col w-96">
2023-06-01 11:24:20 +00:00
<x-forms.input required id="model.extra_attributes.smtp_host" label="Host" />
<x-forms.input required id="model.extra_attributes.smtp_port" label="Port" />
<x-forms.input id="model.extra_attributes.smtp_encryption" label="Encryption" />
2023-05-25 16:27:52 +00:00
</div>
<div class="flex flex-col w-96">
2023-06-01 11:24:20 +00:00
<x-forms.input id="model.extra_attributes.smtp_username" label="Username" />
<x-forms.input id="model.extra_attributes.smtp_password" label="Password" />
<x-forms.input id="model.extra_attributes.smtp_timeout" label="Timeout" />
2023-05-25 16:27:52 +00:00
</div>
<div class="flex flex-col w-96">
2023-06-01 11:24:20 +00:00
<x-forms.input required id="model.extra_attributes.from_address" label="From Address" />
<x-forms.input required id="model.extra_attributes.from_name" label="From Name" />
2023-05-25 16:27:52 +00:00
</div>
</div>
</form>
</div>