A free open source IT asset/license management system
Added route and base livewire blade
snipeead224bf343c
diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.phpindex 4fe32da853..9a802e7cc3 100755--- a/resources/views/settings/index.blade.php+++ b/resources/views/settings/index.blade.php@@ -209,7 +209,7 @@<div class="admin box box-default"><div class="box-body text-center"><h5>- <a href="{{ route('settings.ldap.index') }}" class="settings_button">+ <a href="{{ route('settings.ldap.wizard') }}" class="settings_button"><x-icon type="ldap" class="fa-4x"/><br><br><span class="name">{{ trans('admin/settings/general.ldap') }}</span>diff --git a/resources/views/settings/ldap-wizard.blade.php b/resources/views/settings/ldap-wizard.blade.phpnew file mode 100644index 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')+ <div class="row">+ <div class="col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2">+ <livewire:ldap-settings />+ </div>+ </div>+@stopdiff --git a/routes/web.php b/routes/web.phpindex 582e0cf1bc..571f082ca7 100644--- a/routes/web.php+++ b/routes/web.php@@ -240,6 +240,14 @@ Route::group(['prefix' => 'admin', 'middleware' => ['auth', 'authorize:superuserRoute::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')