<%@ 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>
<link rel="stylesheet" href="${ctx}/js/plugin/layui/css/layui.css"
      media="all">
<link rel="stylesheet"
      href="${ctx}/css/plugin/bootstrap/bootstrap.min.css">
<link rel="stylesheet"
      href="${ctx}/css/plugin/datatables/datatables.bootstrap.css">
<link rel="stylesheet"
      href="${ctx}/css/plugin/datatables/buttons.dataTables.min.css">
<link rel="stylesheet" href="${ctx}/css/basic.css">
<head>
    <title>修改资源</title>
    <style>
        .btn {
            padding: 0px 5px;
            font-size: 12px;
        }

        .tr {
            text-align: center;
        }

        .td {
            height: 37px;
            line-height: 37px
        }

        body {
            max-height: 500px;
        }

        .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td,
        .table > tbody > tr > td, .table > tfoot > tr > td {
            padding: 7px 0;
            line-height: 1.42857143;
            vertical-align: top;
            border-top: 1px solid #ddd;
        }

        @media screen and (min-width: 1200px) and (max-width: 1400px) {
            .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td,
            .table > tbody > tr > td, .table > tfoot > tr > td {
                padding: 4px;
                line-height: 1.42857143;
                vertical-align: top;
                border-top: 1px solid #ddd;
            }

            body {
                min-width: 1620px;
                max-height: 500px;
            }
        }

        @media screen and (min-width: 1600px) and (max-width: 1700px) and (max-height: 1100px) {

        }
    </style>
</head>
<body class="bg-white">
<form class="form-inline ml12" enctype="multipart/form-data" id="uploadForm">
    <div class="layui-form-item" style="margin-top: -6px; width: 320px">
        <label class="layui-form-label" style="margin-top: 10px;width: 94px">资源名称：</label>
        <div>
            <input type="text" id="name" placeholder="请输入名称" maxlength="200"
                   autocomplete="off" style="width: 202px; margin-top: 16px;height: 30px">
            <font color="red">*</font>
        </div>
    </div>
    <div class="layui-form-item" style="margin-top: -6px; width: 320px">
        <label class="layui-form-label" style="margin-top: -4px;width: 94px">资源类目：</label>
        <div>
            <select autocomplete="off" style="width: 202px;height: 30px" id="type"></select>
            <font color="red">*</font>
        </div>
    </div>
    <div class="layui-form-item layui-form-text" style=" width: 320px;margin-top: -10px;">
        <label class="layui-form-label" style=";width: 94px">资源描述：</label>
        <div>
				<textarea placeholder="请输入内容" maxlength="2000"
                          style="resize: none;width: 202px;height: 87px;" id="description"></textarea>
            <font color="red">*</font>
        </div>
    </div>
    <div style="width: 98%;margin-top: -5%;margin-left: 1%;text-align: center;">
        <button type="button" class="layui-btn themeBGColor"
                id="update"
                style="margin-top: 10px">提交
        </button>
        <button type="reset" class="layui-btn cancleBGColor"
                style="margin-left: 10%; margin-top: 10px"
                id="close">取消
        </button>
    </div>
</form>
<input type="hidden" id="username" value="${username}">
<input type="hidden" id="token" value="${token}">
<script src="${ctx}/js/plugin/jquery/jquery.min.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/plugin/layui/layer.js"></script>
<script src="${ctx}/js/basic.js"></script>
<script src="${ctx}/js/plugin/xss/xss.js"></script>
<script src="${ctx}/jspJS/utils/loading.js"></script>
<script src="${ctx}/jspJS/utils/judgeAjaxStatus.js"></script>
<script src="${ctx}/js/plugin/xss/aes.js"></script>
<script src="${ctx}/jspJS/sm2.js"></script>
<script src="${ctx}/jspJS/sm3.js"></script>
<script src="${ctx}/js/plugin/xss/security.js"></script>
<script src="${ctx}/jspJS/confirmIndentity.js"></script>
<script src="${ctx}/jspJS/settings/updateManageList.js"></script>
</body>

</html>