2020-03-26 00:40:09 +01:00
|
|
|
<div class="bg-white shadow overflow-hidden rounded-lg mt-8">
|
|
|
|
<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">
|
2020-06-30 14:28:14 +02:00
|
|
|
{{ ctrans('texts.application_settings') }}
|
2020-03-26 00:40:09 +01:00
|
|
|
</h3>
|
|
|
|
<p class="mt-1 max-w-2xl text-sm leading-5 text-gray-500">
|
2020-06-30 14:28:14 +02:00
|
|
|
{{ ctrans('texts.application_settings_label') }}
|
2020-03-26 00:40:09 +01:00
|
|
|
</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.url') }}*
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-05-01 14:18:22 +02:00
|
|
|
<input type="text" class="input w-full" name="url" required value="{{ old('url') }}">
|
2020-03-26 00:40:09 +01:00
|
|
|
</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.https') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-06-30 14:28:14 +02:00
|
|
|
<input type="checkbox" class="form-checkbox mr-1" name="https" {{ old('https') ? 'checked': '' }} checked>
|
2020-03-26 00:40:09 +01:00
|
|
|
<span>{{ ctrans('texts.require') }}</span>
|
2020-06-30 14:28:14 +02:00
|
|
|
<span class="text-gray-600 text-xs ml-2">({{ ctrans('texts.recommended_in_production') }})</span>
|
2020-03-26 00:40:09 +01:00
|
|
|
</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.debug') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-03-28 04:46:50 +01:00
|
|
|
<input type="checkbox" class="form-checkbox mr-1" name="debug" {{ old('debug') ? 'checked': '' }}>
|
2020-03-26 00:40:09 +01:00
|
|
|
<span>{{ ctrans('texts.enable') }}</span>
|
2020-06-30 14:28:14 +02:00
|
|
|
<span class="text-gray-600 text-xs ml-2">({{ ctrans('texts.enable_only_for_development') }})</span>
|
2020-03-26 00:40:09 +01:00
|
|
|
</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.reports') }}
|
|
|
|
</dt>
|
|
|
|
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
2020-03-28 04:46:50 +01:00
|
|
|
<input type="checkbox" class="form-checkbox mr-1" name="send_logs" {{ old('send_logs' ? 'checked': '') }}>
|
2020-03-26 00:40:09 +01:00
|
|
|
<span>{{ ctrans('texts.send_fail_logs_to_our_server') }}</span>
|
2020-05-01 14:18:22 +02:00
|
|
|
<a class="button-link mt-1 block" href="https://www.invoiceninja.com/privacy-policy/">Read more about how we use this.</a>
|
2020-03-26 00:40:09 +01:00
|
|
|
</dd>
|
|
|
|
</div>
|
2020-07-02 13:58:39 +02:00
|
|
|
<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 type="button" class="button button-primary py-2 px-3 text-xs" id="test-pdf">
|
|
|
|
{{ ctrans('texts.test_pdf') }}
|
|
|
|
</button>
|
|
|
|
</dt>
|
|
|
|
<dd class="text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
|
|
|
|
<div class="alert py-2 bg-gray-50" id="test-pdf-response"></div>
|
|
|
|
</dd>
|
|
|
|
</div>
|
2020-03-26 00:40:09 +01:00
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|