fixes
This commit is contained in:
parent
9c393ff6bc
commit
e9bd1f88c0
@ -19,7 +19,6 @@ class Email extends Component
|
|||||||
'settings.smtp_username' => 'nullable',
|
'settings.smtp_username' => 'nullable',
|
||||||
'settings.smtp_password' => 'nullable',
|
'settings.smtp_password' => 'nullable',
|
||||||
'settings.smtp_timeout' => 'nullable',
|
'settings.smtp_timeout' => 'nullable',
|
||||||
'settings.smtp_test_recipients' => 'nullable',
|
|
||||||
'settings.smtp_from_address' => 'required|email',
|
'settings.smtp_from_address' => 'required|email',
|
||||||
'settings.smtp_from_name' => 'required',
|
'settings.smtp_from_name' => 'required',
|
||||||
];
|
];
|
||||||
@ -32,7 +31,6 @@ class Email extends Component
|
|||||||
'settings.smtp_encryption' => 'Encryption',
|
'settings.smtp_encryption' => 'Encryption',
|
||||||
'settings.smtp_username' => 'Username',
|
'settings.smtp_username' => 'Username',
|
||||||
'settings.smtp_password' => 'Password',
|
'settings.smtp_password' => 'Password',
|
||||||
'settings.smtp_test_recipients' => 'Test Recipients',
|
|
||||||
];
|
];
|
||||||
public function mount()
|
public function mount()
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<div class="form-control min-w-fit">
|
<div class="form-control min-w-fit">
|
||||||
<label class="flex gap-4 cursor-pointer label">
|
<label class="flex gap-4 px-0 cursor-pointer label">
|
||||||
<span class="flex gap-2 label-text min-w-fit">
|
<span class="flex gap-2 label-text min-w-fit">
|
||||||
@if ($label)
|
@if ($label)
|
||||||
{{ $label }}
|
{{ $label }}
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
@if ($label)
|
@if ($label)
|
||||||
<label for="small-input"
|
<label for="small-input" class="flex items-center gap-1 mb-1 text-sm font-medium">{{ $label }}
|
||||||
class="flex items-center gap-1 mb-2 text-sm font-medium text-neutral-400">{{ $label }}
|
|
||||||
@if ($required)
|
@if ($required)
|
||||||
<span class="text-warning">*</span>
|
<span class="text-warning">*</span>
|
||||||
@endif
|
@endif
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
<div class="w-full">
|
<div class="w-full">
|
||||||
@if ($label)
|
@if ($label)
|
||||||
<label for="small-input"
|
<label for="small-input" class="flex items-center gap-1 mb-1 text-sm font-medium">{{ $label }}
|
||||||
class="flex items-center gap-1 mb-2 text-sm font-medium text-neutral-400">{{ $label }}
|
|
||||||
@if ($required)
|
@if ($required)
|
||||||
<span class="text-warning">*</span>
|
<span class="text-warning">*</span>
|
||||||
@endif
|
@endif
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<x-navbar-subscription />
|
<x-navbar-subscription />
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<main class="main">
|
<main class="main max-w-screen-2xl">
|
||||||
{{ $slot }}
|
{{ $slot }}
|
||||||
</main>
|
</main>
|
||||||
<x-version class="fixed left-2 bottom-1" />
|
<x-version class="fixed left-2 bottom-1" />
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
Save
|
Save
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col gap-2">
|
<div class="flex flex-col gap-2 pt-4">
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2 w-96">
|
||||||
<x-forms.input id="settings.fqdn" label="Coolify's Domain" />
|
<x-forms.input id="settings.fqdn" label="Coolify's Domain" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -12,14 +12,10 @@
|
|||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="pt-2 pb-4 ">SMTP settings for password resets, invitations, etc.</div>
|
<div class="pt-2 pb-4 ">SMTP settings for password resets, invitations, etc.</div>
|
||||||
<div class="w-32">
|
<div class="w-32 pb-4">
|
||||||
<x-forms.checkbox instantSave id="settings.smtp_enabled" label="Enabled" />
|
<x-forms.checkbox instantSave id="settings.smtp_enabled" label="Enabled" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex items-end gap-2">
|
<div class="flex flex-col gap-4">
|
||||||
<x-forms.input id="settings.smtp_test_recipients" label="Test Recipients"
|
|
||||||
helper="Email list to send a test email to, separated by comma." />
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="flex flex-col w-full gap-2 xl:flex-row">
|
<div class="flex flex-col w-full gap-2 xl:flex-row">
|
||||||
<x-forms.input required id="settings.smtp_host" helper="SMTP Hostname" placeholder="smtp.mailgun.org"
|
<x-forms.input required id="settings.smtp_host" helper="SMTP Hostname" placeholder="smtp.mailgun.org"
|
||||||
label="Host" />
|
label="Host" />
|
||||||
@ -29,7 +25,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col w-full gap-2 xl:flex-row">
|
<div class="flex flex-col w-full gap-2 xl:flex-row">
|
||||||
<x-forms.input id="settings.smtp_username" helper="SMTP Username" label="SMTP Username" />
|
<x-forms.input id="settings.smtp_username" helper="SMTP Username" label="SMTP Username" />
|
||||||
<x-forms.input id="settings.smtp_password" type="password" helper="SMTP Password" label="SMTP Password" />
|
<x-forms.input id="settings.smtp_password" type="password" helper="SMTP Password"
|
||||||
|
label="SMTP Password" />
|
||||||
<x-forms.input id="settings.smtp_timeout" helper="Timeout value for sending emails." label="Timeout" />
|
<x-forms.input id="settings.smtp_timeout" helper="Timeout value for sending emails." label="Timeout" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col w-full gap-2 xl:flex-row">
|
<div class="flex flex-col w-full gap-2 xl:flex-row">
|
||||||
@ -37,5 +34,6 @@
|
|||||||
<x-forms.input required id="settings.smtp_from_address" helper="Email address used in emails."
|
<x-forms.input required id="settings.smtp_from_address" helper="Email address used in emails."
|
||||||
label="From Address" />
|
label="From Address" />
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user