Update index.html

This commit is contained in:
Anyon 2020-04-08 14:53:29 +08:00
parent a0350d37f3
commit cb6aa18557

View File

@ -48,6 +48,7 @@
{if session('user.username')}
<li class="layui-nav-item">
<dl class="layui-nav-child">
{if session('user.username') eq 'admin'}
<dd lay-unselect class="layui-form text-center think-switch-button">
<a></a>
{if $app->isDebug()}
@ -56,6 +57,7 @@
<input type="checkbox" lay-skin="switch" lay-text="生产模式|开发模式" lay-filter="ThinkAdminDebug" checked>
{/if}
</dd>
{/if}
<dd lay-unselect><a data-modal="{:url('admin/index/info',['id'=>session('user.id')])}"><i class="layui-icon layui-icon-set-fill margin-right-5"></i> 基本资料</a></dd>
<dd lay-unselect><a data-modal="{:url('admin/index/pass',['id'=>session('user.id')])}"><i class="layui-icon layui-icon-component margin-right-5"></i> 安全设置</a></dd>
<dd lay-unselect><a data-load="{:url('admin/api.plugs/optimize')}"><i class="layui-icon layui-icon-template-1 margin-right-5"></i> 缓存加速</a></dd>