mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
8b211ed461
For PR #3406 - Updated naming from 'redirect' to 'initate/initation'. - Updated phpunit.xml and .env.example.complete files with the new option. - Cleaned up controller logic a bit. - Added content and design to the new initation view to not leave user on a blank view for a while. - Added non-JS button to initiation view as fallback option for progression. - Moved new test to it's own Test class and expanded with additional scenario tests for better functionality coverage.
38 lines
1.1 KiB
PHP
38 lines
1.1 KiB
PHP
@extends('layouts.simple')
|
|
|
|
@section('content')
|
|
|
|
<div class="container very-small">
|
|
|
|
<div class="my-l"> </div>
|
|
|
|
<div class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ trans('auth.auto_init_starting') }}</h1>
|
|
|
|
<div style="display:none">
|
|
@include('auth.parts.login-form-' . $authMethod)
|
|
</div>
|
|
|
|
<div class="grid half left-focus">
|
|
<div>
|
|
<p class="text-small">{{ trans('auth.auto_init_starting_desc') }}</p>
|
|
<p>
|
|
<button type="submit" form="login-form" class="p-none text-button hover-underline">
|
|
{{ trans('auth.auto_init_start_link') }}
|
|
</button>
|
|
</p>
|
|
</div>
|
|
<div class="text-center">
|
|
@include('common.loading-icon')
|
|
</div>
|
|
</div>
|
|
|
|
<script nonce="{{ $cspNonce }}">
|
|
window.addEventListener('load', () => document.forms['login-form'].submit());
|
|
</script>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
@stop
|