<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>授权验证管理平台</title>
    <link rel="stylesheet" href="/static/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/style.css">
</head>
<body class="layui-layout-body">
    <div class="layui-layout layui-layout-admin">
        <!-- 头部 -->
        <div class="layui-header">
            <div class="layui-logo">
                <img src="/static/images/logo.png" alt="logo" id="site-logo">
                <span id="site-name">授权验证管理平台</span>
            </div>
            <ul class="layui-nav layui-layout-right">
                <li class="layui-nav-item">
                    <a href="javascript:;">
                        <span id="current-user"></span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd><a href="javascript:;" class="change-password">修改密码</a></dd>
                        <dd><a href="javascript:;" class="logout">退出登录</a></dd>
                    </dl>
                </li>
            </ul>
        </div>

        <!-- 左侧导航 -->
        <div class="layui-side layui-bg-black">
            <div class="layui-side-scroll">
                <ul class="layui-nav layui-nav-tree">
                    <li class="layui-nav-item layui-this">
                        <a href="javascript:;" data-url="/admin/dashboard">
                            <i class="layui-icon">&#xe68e;</i> 控制台
                        </a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <i class="layui-icon">&#xe665;</i> 设备管理
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" data-url="/admin/devices">设备型号管理</a></dd>
                            <dd><a href="javascript:;" data-url="/admin/device-files">设备文件管理</a></dd>
                            <dd><a href="javascript:;" data-url="/admin/device-license">设备授权管理</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <i class="layui-icon">&#xe672;</i> 授权管理
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" data-url="/admin/licenses">授权码管理</a></dd>
                            <dd><a href="javascript:;" data-url="/admin/license-logs">授权日志</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;">
                            <i class="layui-icon">&#xe674;</i> 令牌管理
                        </a>
                        <dl class="layui-nav-child">
                            <dd><a href="javascript:;" data-url="/admin/tokens">访问令牌</a></dd>
                            <dd><a href="javascript:;" data-url="/admin/token-logs">令牌日志</a></dd>
                        </dl>
                    </li>
                    <li class="layui-nav-item admin-only">
                        <a href="javascript:;" data-url="/admin/users">
                            <i class="layui-icon">&#xe770;</i> 用户管理
                        </a>
                    </li>
                    <li class="layui-nav-item">
                        <a href="javascript:;" data-url="/admin/monitor">
                            <i class="layui-icon">&#xe665;</i> 系统监控
                        </a>
                    </li>
                    <li class="layui-nav-item admin-only">
                        <a href="javascript:;" data-url="/admin/site-settings">
                            <i class="layui-icon">&#xe716;</i> 站点设置
                        </a>
                    </li>
                </ul>
            </div>
        </div>

        <!-- 内容主体 -->
        <div class="layui-body">
            <div class="layui-breadcrumb" lay-separator="/">
                <a href="javascript:;">首页</a>
                <a><cite>控制台</cite></a>
            </div>
            <div class="content-container">
                <iframe id="content-frame" frameborder="0" class="layadmin-iframe"></iframe>
            </div>
        </div>

        <!-- 底部 -->
        <div class="layui-footer">
            <div class="footer-left">
                <span id="site-copyright"></span>
            </div>
            <div class="footer-right">
                <span id="site-icp"></span>
            </div>
        </div>
    </div>

    <script src="/static/layui/layui.js"></script>
    <script src="/static/js/main.js"></script>
</body>
</html>
