123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- {include file='common/header' /}
- <link rel="stylesheet" href="/static/admin/css/common.css" media="all">
- <body class="layui-layout-body LM-all">
- <div class="layui-layout layui-layout-admin">
- <div class="layui-header header">
- <div class="layui-logo"><a href="">
- <img src="{:site_logo()}" alt="lemocms">
- <h1>{:site_name()}</h1>
- </a>
- </div>
- <a>
- <div class="LM-tool"><i title="展开" class="fa fa-outdent" data-side-fold="1"></i></div>
- </a>
- <!--pc 端-->
- <ul class="layui-nav layui-layout-left layui-header-menu layui-header-pc-menu mobile layui-hide-xs">
- </ul>
- <!--手机端-->
- <ul class="layui-nav layui-layout-left layui-header-menu mobile layui-hide-sm">
- <li class="layui-nav-item">
- <a href="javascript:;"><i class="fa fa-list-ul"></i> 选择模块</a>
- <dl class="layui-nav-child layui-header-mini-menu">
- </dl>
- </li>
- </ul>
- <ul class="layui-nav layui-layout-right">
- <li class="layui-nav-item">
- <a href="javascript:;" data-refresh="刷新"><i class="fa fa-refresh"></i></a>
- </li>
- <li class="layui-nav-item">
- <a href="javascript:;" data-clear="清理" data-href="{:url('cleardata')}" class="LM-clear"><i class="fa fa-trash-o"></i></a>
- </li>
- <li class="layui-nav-item LM-setting">
- <a href="javascript:;">{:session('admin.username')}</a>
- <dl class="layui-nav-child">
- <dd>
- <a href="javascript:;" data-iframe-tab="{:url('auth/adminEdit')}" data-title="基本资料" data-icon="fa fa-gears">基本资料</a>
- </dd>
- <dd>
- <a href="javascript:;" data-iframe-tab="{:url('password')}" data-title="修改密码" data-icon="fa fa-gears">修改密码</a>
- </dd>
- <dd>
- <a href="javascript:;" class="login-out">退出登录</a>
- </dd>
- </dl>
- </li>
- <li class="layui-nav-item LM-select-bgcolor mobile layui-hide-xs">
- <a href="javascript:;" data-bgcolor="配色方案"><i class="fa fa-ellipsis-v"></i></a>
- </li>
- </ul>
- </div>
- <div class="layui-side layui-bg-black">
- <div class="layui-side-scroll layui-left-menu">
- </div>
- </div>
- <div class="layui-body">
- <div class="layui-tab" lay-filter="LMTab" id="top_tabs_box">
- <ul class="layui-tab-title" id="top_tabs">
- <li class="layui-this" id="LMHomeTabId" lay-id=""></li>
- </ul>
- <!-- 关闭按钮-->
- <ul class="layui-nav closeBox">
- <li class="layui-nav-item">
- <a href="javascript:;"> <i class="fa fa-dot-circle-o"></i> 页面操作</a>
- <dl class="layui-nav-child">
- <dd><a href="javascript:;" data-page-close="other"><i class="fa fa-window-close"></i> 关闭其他</a></dd>
- <dd><a href="javascript:;" data-page-close="all"><i class="fa fa-window-close-o"></i> 关闭全部</a></dd>
- </dl>
- </li>
- </ul>
- <div class="layui-tab-content clildFrame">
- <!-- 加载iframe /-->
- <div id="LMHomeTabIframe" class="layui-tab-item layui-show"
- </div>
- </div>
- </div>
- <div class="layui-footer footer footer-demo" id="admin-footer">
- <div class="layui-main">
- <p><?php echo( date("Y",time())); ?> ©
- <a href="#">BTS</a> Apache Licence 2.0
- </p>
- </div>
- </div>
- </div>
- {include file='common/footer' /}
- <script>
- var menus ='{$menus|raw}';
- layui.config({
- base: "/static/admin/js/",
- version: true
- }).extend({
- LM: "LM"
- }).use(['element', 'layer', 'LM'], function () {
- var $ = layui.jquery,
- element = layui.element,
- layer = layui.layer;
- if(layui.cache.menus){
- menus = layui.cache.menus;
- }else{
- layui.cache.menus = menus;
- }
- // console.log("menus",menus)
- LM.init(menus);
- });
- </script>
- </body>
|