<%@ 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>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>新增资源（弹出窗口）</title>
<link rel="stylesheet"  href="${ctx}/js/plugin/layui/css/layui.css"  media="all">
<link rel="stylesheet"  href="${ctx}/css/basic.css">
<style type="text/css">
	html { overflow: hidden; }
</style>
</head>
<body class="bg-white">
	<form class="layui-form" style="margin-top: 10px">
		<div class="layui-form-item layui-form-text" style="width:320px">
		    <label class="layui-form-label" style="width:100px">资源名</label>
		    <div class="layui-input-block">
		     	<input type="text" id="permissionName" placeholder="请输入" autocomplete="off"  class="layui-input">
		    </div>
		  </div>

		  <div class="layui-form-item layui-form-text" style="width:320px">
		    <label class="layui-form-label" style="width:100px">资源路径</label>
		    <div class="layui-input-block">
		     <input type="text" id="permissionPath" placeholder="请输入" autocomplete="off"
					class="layui-input">
		    </div>
		  </div>

		  <div class="layui-form-item layui-form-text" style="width:320px">
		    <label class="layui-form-label" style="width:100px">资源描述</label>
		    <div class="layui-input-block">
		      <textarea placeholder="请输入内容" class="layui-textarea" style="resize: none;" id="permissionDescription"></textarea>
		    </div>
		  </div>
		  <div class="layui-form-item layui-form-text" style="width:320px">
		    <label class="layui-form-label" style="width:100px">一级节点</label> 
		    <div class="layui-input-block">
		    <select style="width:210px; height: 38px" id="first" lay-filter="first">
		    <option value="">---------------</option>
			</select>
			</div>
		  </div>
		  
		  <div class="layui-form-item layui-form-text" style="width:320px">
		    <label class="layui-form-label" style="width:100px">二级节点</label> 
		   <div class="layui-input-block">
		    <select style="width:210px; height: 38px" id="second" lay-filter="second">
		    <option value="">---------------</option>
			</select>
			</div>
		  </div>
		    <div class="layui-form-item">
		    <div class="layui-input-block"style="width:320px">
		      <button type="button" class="layui-btn layui-btn-primary themeBGColor" id="addPermission" style="margin-left:10px" >提交</button>
		      <button type="reset" class="layui-btn layui-btn-primary cancleBGColor" style="margin-left:45px" id="cancleAdd">取消</button>
		    </div>
  </div>
	</form>
	<script src="${ctx}/js/plugin/jquery.min.js"></script>
	<script src="${ctx}/js/plugin/bootstrap/bootstrap.min.js"></script>
	<script src="${ctx}/js/plugin/bootstrap/jquery.dataTables.min.js"></script>
	<script src="${ctx}/js/plugin/bootstrap/dataTables.bootstrap.min.js"></script>
	<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.min.js"></script>
	<script src="${ctx}/js/plugin/bootstrap/bootstrap-datetimepicker.zh-CN.js"></script>
	<script src="${ctx}/js/plugin/bootstrap-table/bootstrap-table.js"></script>
	<script src="${ctx}/js/plugin/bootstrap-table/locales/bootstrap-table-zh-CN.js"></script>
	<script src="${ctx}/js/plugin/bootstrap-table/bootstrap-table.js"></script>
	<script src="${ctx}/js/plugin/layui/layer.js"></script>
	<script src="${ctx}/js/basic.js"></script>
	<script src="${ctx}/js/plugin/jquery-ui/jquery-ui.js"></script>
	<script src="${ctx}/js/plugin/layui/layui.js"></script>
	<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
	<script src="${ctx}/jspJS/audit/addPermission.js"></script>
	<script type="text/javascript">
	
	
	</script>
</body>
</html>