{% load staticfiles %}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>后台管理</title>
    <link rel="stylesheet" href="{% static '/lib/layui/css/layui.css' %}">
    <link rel="stylesheet" href="{% static '/lib/css/reset.css' %}">
    <link rel="stylesheet" href="{% static '/lib/font-awesome/4.5.0/css/font-awesome.css' %}">
    <link rel="stylesheet" href="{% static '/css/home.css' %}">
</head>

<body>
    <!-- 头部 -->
    <div class="header" id="navbar">
        <div class="logo">休闲农业旅游网</div>
        <div class="navigation">
            <ul class="layui-nav layui-bg-blue">
                <li class="layui-nav-item">
                    <a href="">控制台
                        <!-- <span class="layui-badge">9</span> -->
                    </a>
                </li>
                <li class="layui-nav-item">
                    <a href="">个人中心
                        <!-- <span class="layui-badge-dot"></span> -->
                    </a>
                </li>
                <li class="layui-nav-item" lay-unselect="">
                    <a href="javascript:;">
                        <img src="{% static 'imgs/productImg.jpg'%}" class="layui-nav-img">
                        <span class="currUser" id="">我</span>
                    </a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="videoList.html" target="BoardRight">修改信息</a>
                        </dd>
                        <dd>
                            <a href="javascript:;">安全管理</a>
                        </dd>
                        <dd>
                            <a href="javascript:;">退了</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>
    </div>
    <!-- 下半部 -->
    <div class="main-container" id="main-container">
        <!-- 菜单栏 -->
        <div class="sidebar" id="sidebar">
            <ul class="leftNav">
                <li class="nav-item active">
                    <a href="map" target="BoardRight">
                        <i class="fa fa-home" aria-hidden="true"></i>
                        <span class="menu-text">首页</span>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="allot" target="BoardRight">
                        <i class="fa fa-wrench" aria-hidden="true"></i>
                        <span class="menu-text">设备管理</span>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="javascript:;">
                        <i class="fa fa-paper-plane" aria-hidden="true"></i>
                        <span class="menu-text">通知公告</span>
                        <span class="fa fa-chevron-down downIcon" aria-hidden="true"></span>
                    </a>
                    <dl class="nav-child">
                        <dd class="">
                            <a href="info_pub" target="BoardRight">信息发布</a>
                        </dd>
                        <dd>
                            <a href="info_manage" target="BoardRight">信息维护</a>
                        </dd>
                    </dl>
                </li>
                <li class="nav-item">
                    <a href="equipmanage_jk" target="BoardRight">
                        <i class="fa fa-play-circle" aria-hidden="true"></i>
                        <span class="menu-text">视频监控</span>
                    </a>
                </li>
                <li class="nav-item">
                    <a href="javascript:;">
                        <i class="fa fa-sitemap" aria-hidden="true"></i>
                        <span class="menu-text">传感及控制</span>
                        <span class="fa fa-chevron-down downIcon" aria-hidden="true"></span>
                    </a>
                    <dl class="nav-child">
                        <dd class="">
                            <a href="qxzcontrol" target="BoardRight">控制模块</a>
                        </dd>
                        <dd>
                            <a href="qxzchart" target="BoardRight">趋势分析</a>
                        </dd>
                        <dd>
                            <a href="qxz_status" target="BoardRight">数据统计</a>
                        </dd>
                    </dl>
                </li>

            </ul>
        </div>
        <!-- 主题部分 -->
        <div class="main-content">
            <!-- 内容 -->
            <div class="iframeDiv">
                <iframe name="BoardRight" id="iframe-main" src="map" width="100%" height="800px" frameborder="1"></iframe>
            </div>
        </div>
        <!-- banquan -->
        <div class="copyrightBox">
            <div>
                <p>
                    <a class="copyright" rel="nofollow" href="">版权信息</a>
                </p>
            </div>

        </div>
    </div>
    <!-- <a href="javascript:;" onclick="goUp()" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse display">
        <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
    </a> -->

    <script src="{% static '/lib/js/jquery-2.1.4.min.js'%}"></script>
    <script src="{% static '/lib/layui/layui.js'%}"></script>
    <script src="{% static '/js/backstageNet/home.js'%}"></script>
    <script>
        layui.use('element', function () {
            var element = layui.element;

            //一些事件监听
            element.on('tab(demo)', function (data) {
                console.log(data);
            });
        });
    </script>
</body>

</html>