mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
93 lines
4.8 KiB
PHP
93 lines
4.8 KiB
PHP
|
<div class="bg-white shadow overflow-hidden rounded-lg mt-6">
|
||
|
<div class="px-4 py-5 border-b border-gray-200 sm:px-6">
|
||
|
<h3 class="text-lg leading-6 font-medium text-gray-900">
|
||
|
{{ ctrans('texts.email_settings') }}
|
||
|
</h3>
|
||
|
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500">
|
||
|
Let's configure e-mail settings.
|
||
|
</p>
|
||
|
</div>
|
||
|
<div>
|
||
|
<dl>
|
||
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.driver') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<select name="smtp_driver" class="input form-select">
|
||
|
<option value="1">SMTP</option>
|
||
|
</select>
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.from_name') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<input type="text" class="input" name="email_from_name">
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.from_address') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<input type="email" class="input" name="email_from_address">
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.username') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<input type="text" class="input" name="smtp_username">
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.host') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<input type="text" class="input" name="smtp_host">
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.port') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<input type="text" class="input" name="smtp_port">
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.encryption') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<select name="smpt_encryption" class="input form-select">
|
||
|
<option value="1">TLS</option>
|
||
|
<option value="2">SSL</option>
|
||
|
</select>
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-white px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
{{ ctrans('texts.encryption') }}
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<input type="password" class="input" name="smtp_password">
|
||
|
</dd>
|
||
|
</div>
|
||
|
<div class="bg-gray-50 px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6 sm:flex sm:items-center">
|
||
|
<dt class="text-sm leading-5 font-medium text-gray-500">
|
||
|
<button class="button button-primary py-2 px-3 text-xs">{{ ctrans('texts.test_connection') }}</button>
|
||
|
</dt>
|
||
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
||
|
<div class="alert alert-failure py-2 bg-gray-50">
|
||
|
Oops!
|
||
|
</div>
|
||
|
</dd>
|
||
|
</div>
|
||
|
</dl>
|
||
|
</div>
|
||
|
</div>
|