<%@ 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}/js/plugin/layui/css/layui.css">
    <link rel="stylesheet" href="${ctx}/css/basic.css">
    <style>
        .layui-form-label {
            width: auto;
        }

        .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="pd15 bg-white">
<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">
        <label class="layui-form-label">资源路径</label>
        <div class="layui-input-block">
            <input id="path" type="text" name="path" placeholder="请输入资源路径"
                   class="layui-input" lay-verify="required" autocomplete="off">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上级节点</label>
        <div class="layui-input-block">
            <select id="parentSelect" name="parentName" lay-search="">
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">资源类型</label>
        <div class="layui-input-block">
            <select id="typeSelect" name="typeName" lay-search="">
            </select>
        </div>
    </div>
    <div class="layui-form-item layui-form-text">
        <label class="layui-form-label">描述</label>
        <div class="layui-input-block">
            <textarea id="des" name="menudes" 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="addMenu">立即提交
            </button>
        </div>
    </div>
</form>
<script src="${ctx}/js/plugin/jquery.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/addChildMenu.js"></script>
</body>
</html>