调整管理员导航内容

*给将来的功能铺路
This commit is contained in:
Chenx221 2024-04-07 14:32:44 +08:00
parent 47c8592c26
commit cde9da5824
Signed by: chenx221
GPG Key ID: D7A9EC07024C3021

View File

@ -72,16 +72,27 @@ $this->registerCssFile('@web/css/fuckyou-navpadding.css');
'options' => ['class' => 'navbar-nav'], 'options' => ['class' => 'navbar-nav'],
'items' => [ 'items' => [
['label' => '首页', 'url' => ['/site/index']], ['label' => '首页', 'url' => ['/site/index']],
['label' => '管理面板', 'url' => ['/admin/index']], ['label' => '面板', 'url' => ['/admin/index']], // 未完工
['label' => '管理', 'items' => [
['label' => '用户管理', 'url' => ['/admin/user']], ['label' => '用户管理', 'url' => ['/admin/user']],
['label' => '个人设置', 'url' => ['/admin/info']], ['label' => '文件分享管理', 'url' => ['/admin/share-manage']], // 未完工
['label' => '日志管理', 'items' => [ ['label' => '文件收集管理', 'url' => ['/admin/collection-manage']], // 未完工
['label' => '站点公告管理', 'url' => ['/admin/notice-manage']], // 未完工
['label' => '用户反馈管理', 'url' => ['/admin/feedback-manage']], // 未完工
],
],
['label' => '日志', 'items' => [
['label' => '用户登录日志', 'url' => ['/admin/login-log']], ['label' => '用户登录日志', 'url' => ['/admin/login-log']],
['label' => '分享访问日志', 'url' => ['/admin/access-log']], ['label' => '分享访问日志', 'url' => ['/admin/access-log']],
['label' => '文件收集上传日志', 'url' => ['/admin/collection-up-log']], ['label' => '文件收集上传日志', 'url' => ['/admin/collection-up-log']],
], ],
], ],
['label' => '设置', 'items' => [
['label' => '个人设置', 'url' => ['/admin/info']],
['label' => '系统设置', 'url' => ['/admin/system']], ['label' => '系统设置', 'url' => ['/admin/system']],
['label' => '系统信息', 'url' => ['/admin/sysinfo']], // 未完工
],
],
'<li class="nav-item">' '<li class="nav-item">'
. Html::beginForm(['/user/logout']) . Html::beginForm(['/user/logout'])
. Html::submitButton( . Html::submitButton(