diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php index 4fe32da853..9a802e7cc3 100755 --- a/resources/views/settings/index.blade.php +++ b/resources/views/settings/index.blade.php @@ -209,7 +209,7 @@
- +

{{ trans('admin/settings/general.ldap') }} diff --git a/resources/views/settings/ldap-wizard.blade.php b/resources/views/settings/ldap-wizard.blade.php new file mode 100644 index 0000000000..a93c388438 --- /dev/null +++ b/resources/views/settings/ldap-wizard.blade.php @@ -0,0 +1,16 @@ +@extends('layouts/default') + +{{-- Page title --}} +@section('title') + {{ trans('admin/settings/general.ldap_ad') }} + @parent +@stop + +{{-- Page content --}} +@section('content') +
+
+ +
+
+@stop diff --git a/routes/web.php b/routes/web.php index 582e0cf1bc..571f082ca7 100644 --- a/routes/web.php +++ b/routes/web.php @@ -240,6 +240,14 @@ Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'authorize:superuser Route::post('ldap', [SettingsController::class, 'postLdapSettings']) ->name('settings.ldap.save'); + // Livewire wizard version of the LDAP settings screen. Lives at its + // own URL for now; the legacy form stays in place until the wizard + // has been tested end-to-end. + Route::view('ldap-wizard', 'settings.ldap-wizard') + ->name('settings.ldap.wizard') + ->breadcrumbs(fn (Trail $trail) => $trail->parent('settings.index') + ->push(trans('admin/settings/general.ldap_ad'), route('settings.ldap.wizard'))); + Route::get('phpinfo', [SettingsController::class, 'getPhpInfo']) ->name('settings.phpinfo.index') ->breadcrumbs(fn (Trail $trail) => $trail->parent('settings.index')