<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html >
<html lang="zh-CN">
<head>
    <title>菜单管理</title>
    <link rel="stylesheet" href="${ctx}/css/plugin/bootstrap/bootstrap.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/fontawesome/font-awesome.min.css">
    <link rel="stylesheet" href="${ctx}/css/plugin/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="${ctx}/js/plugin/layui/css/layui.css">
    <link rel="stylesheet" href="${ctx}/css/basic.css">
    <style>
        .self-style {
            margin: 0px;
            position: absolute;
            left: 433px;
            top: 20%;
            bottom: 0;
            z-index: 1;
        }

        .layui-input, .layui-textarea {
            width: 250px;
        }

        .layui-input-block {
            margin-left: 80px;
        }

        .layui-btn-sm {
            height: 30px;
            line-height: 30px;
            padding: 0 10px;
            font-size: 12px
        }

        .layui-btn-sm i {
            font-size: 16px !important
        }

        .layui-form-select dl {
            min-width: 250px;
        }

        .layui-form-select .layui-edge {
            right: 45px;
        }

        .layui-form-select dl dd.layui-this {
            background-color: #006565;
        }
    </style>
</head>
<body class="bg-white" style="font-size: 12px; overflow: hidden;">
<div id="roleTree"
     style="width: 180px;margin-left:5px;float: left;margin-right:10px;height: 100%;border: 1px solid #085820;margin-top: 4px;">
    <div id="roleZtree" class="ztree" style="overflow:auto;"></div>
</div>
<%@include file="../../include/menuSettingTree.jsp" %>
<div class="self-style">
    <form class="layui-form">
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input id="name" type="text" name="name" placeholder="请输入名称"
                       class="layui-input" lay-verify="required" autocomplete="off">
            </div>
        </div>
        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">描述</label>
            <div class="layui-input-block">
                <textarea id="configdes" name="configdes" placeholder="请输入描述内容，可不填" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item" style="margin-left: 182px;">
            <div class="layui-input-block">
                <button type="submit" class="layui-btn layui-btn-sm themeBGColor" lay-submit="" lay-filter="addConfig">
                    立即提交
                </button>
            </div>
        </div>
    </form>
</div>
<script src="${ctx}/js/plugin/bootstrap/bootstrap.min.js"></script>
<script src="${ctx}/js/plugin/layui/layui.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/js/plugin/xss/security.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.js"></script>
<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.zh-CN.js"></script>
<script src="${ctx}/js/basic.js"></script>
<script src="${ctx}/js/plugin/xss/xss.js"></script>
<script src="${ctx}/js/plugin/xss/aes.js"></script>
<script src="${ctx}/jspJS/audit/addConfig.js"></script>
</body>
</html>