1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-18 09:04:35 +01:00
invoiceninja/resources/views/setup/_application.blade.php

63 lines
3.4 KiB
PHP
Raw Normal View History

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">
2021-01-04 13:42:31 +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">
<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.reports') }}
</dt>
<dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
<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>
<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>
2021-01-04 13:42:31 +01:00
<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">
2020-07-02 13:58:39 +02:00
<dt class="text-sm leading-5 font-medium text-gray-500">
<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">
2021-01-04 13:42:31 +01:00
<div class="alert py-2 bg-white" id="test-pdf-response"></div>
2020-07-02 13:58:39 +02:00
</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>
</div>