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-12-29 11:35:22 +01:00
|
|
|
<input
|
|
|
|
type="url" class="input w-full" name="url" placeholder="https://example.com"
|
|
|
|
pattern="https?://.*" size="45" value="{{ old('url', 'https://') }}" required>
|
|
|
|
<small>(including http:// or https://)</small>
|
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-12-15 16:10:50 +01: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-12-15 16:10: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-12-15 16:10:50 +01: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">
|
2020-10-14 13:40:00 +02:00
|
|
|
<button type="button" class="button button-primary bg-blue-600 py-2 px-3 text-xs" id="test-pdf">
|
2020-07-02 13:58:39 +02:00
|
|
|
{{ 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>
|
2020-12-16 16:55:33 +01:00
|
|
|
<a target="_blank" class="block text-sm text-gray-900 leading-5 underline"
|
|
|
|
href="https://invoiceninja.github.io/selfhost.html#phantom-js">
|
|
|
|
{{ ctrans('texts.setup_phantomjs_note') }}
|
|
|
|
</a>
|
2020-07-02 13:58:39 +02:00
|
|
|
</div>
|
2020-03-26 00:40:09 +01:00
|
|
|
</dl>
|
|
|
|
</div>
|
2020-10-14 13:40:00 +02:00
|
|
|
</div>
|