first commit
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
|
||||
<title>Installation - {{ setting('app_name') }}</title>
|
||||
|
||||
{{-- Icon font, served statically so the installer needs no build of its own. --}}
|
||||
<link media="all" type="text/css" rel="stylesheet" href="{{ url('assets/css/fontawesome-all.min.css') }}">
|
||||
|
||||
{{--
|
||||
The installer runs before .env exists, so it stays plain Blade and loads
|
||||
its own stylesheet rather than the Vue application bundle.
|
||||
--}}
|
||||
@vite('resources/css/install.css')
|
||||
|
||||
@yield('styles')
|
||||
</head>
|
||||
<body class="bg-white text-slate-700">
|
||||
|
||||
<div class="mx-auto w-full max-w-3xl px-4 py-10">
|
||||
<div class="mb-8 text-center">
|
||||
<img src="{{ url('assets/img/logo.png') }}" alt="{{ setting('app_name') }}" height="50" class="inline-block">
|
||||
</div>
|
||||
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/*
|
||||
* Replaces the jQuery loader helper: disable the button on submit and
|
||||
* swap its label, so the install step cannot be triggered twice.
|
||||
*/
|
||||
document.querySelectorAll('[data-loading-text]').forEach(function (button) {
|
||||
button.form?.addEventListener('submit', function () {
|
||||
button.disabled = true;
|
||||
button.innerHTML = button.dataset.loadingText;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@yield('scripts')
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user