侧边栏管理
@include('system_settings.partials.navigation')
先选择用户类型或指定用户,再勾选允许显示的一级、二级目录。指定用户配置优先于用户类型配置。
@csrf @method('PATCH') @if ($errors->any())
@foreach ($errors->all() as $error)

{{ $error }}

@endforeach
@endif

{{ $subjects[$subject] }}

{{ $configured ? '当前正在使用自定义权限。' : '当前未单独配置,默认显示全部目录。保存后将启用自定义权限。' }}

@foreach ($navigation as $section)
{{ $section['icon'] }} {{ $section['title'] }} 点击展开二级目录 expand_more
@if (! empty($section['pages']))
@foreach ($section['pages'] as $page) @php $pageKey = $section['slug'] . '/' . $page['slug']; @endphp @endforeach
@else

此一级目录没有二级目录。

@endif
@endforeach