<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="security" uri="http://www.ccpit.org/" %>
<!DOCTYPE html>
<html>
<head>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="chrome=1,IE=9">
    <meta charset="utf-8">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="<c:url value='/resource/themes-1.3.1/default/easyui.css'/>" rel="stylesheet" type="text/css"/>
    <link href="<c:url value='/resource/themes-1.3.1/icon.css' />" rel="stylesheet" type="text/css"/>
    <link href="<c:url value='/resource/themes-1.3.1/css/default.css'/>" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .edittable{
            width:80%;
            margin-left:20%;
            margin:0 auto;
        }
        .props >div{
            width:50%;
            float:left;
            height:35px;
        }
        .props>div>label{
            display:block;
        }
        .props>div>label,
        .props>div>div{
            *display:inline;
            *zoom:1;
        }
        .edittable .actions{
            clear:both;
            display:block;
            margin:0 auto;
            padding-top:20px;
        }
        .dropable{
            overflow-y: auto;
        }
        .dropable .block{
            padding:5px;
            width:200px;
            margin:5px 0;
        }
        .dropable .block:hover{
            background-color:#F0F0F0;
        }
        .dropable .block+.block{
            border-top:1px dashed;
        }
        .dropable .block>div{
            display:inline-block;
            *display:inline;
            *zoom:1;
        }
        .dropable .ele{
            margin-left:10px;
            float:right;
        }
        .dropable .ele a{
            border:1px solid #ccc;
            cursor:pointer;
            display: inline-block;
            width: 15px;
            text-align: center;
        }
        .dropable .ele a+a{
            margin-left:5px;
        }
        .querytable > div{
            display:inline-block;
            *display:inline;
            *zoom:1;
        }
    </style>
</head>
<body style="overflow:hidden">
<div class="easyui-panel" id="queryDiv" title="查询" collapsed="false" collapsible="false">
    <form method="post" id="queryFormId" name="queryForm">
        <div class="querytable" align="left">
            <tr>
                <div width="10%"><span>名&emsp;&emsp;称:</span></div>
                <div>
                    <input id="query-name"   name='title' title="50字以内" class="easyui-textbox"  />
                </div>
                <div>
                    <a id="searchButton" href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="queryData()">查询</a>
                    <a id="resetButton" href="#" class="easyui-linkbutton" iconCls="icon-undo" onclick="clearQueryForm()">清空</a>
                </div>
            </tr>
        </div>
    </form>
</div>
<!-- 	datagrid列表  -->
<table id="registersTable" toolbar="#toolbar" key="newsList" title="角色列表"
       width="98%" singleSelect="false">
</table>
<!-- 	datagrid工具栏 -->
<div id="toolbar">
    <security:url uri="/admin/business/registerManage/add"><a href="#"  class="easyui-linkbutton" iconCls="icon-edit_add" plain="true" onclick="openAddWin()"><span >新增</span></a></security:url>
    <security:url uri="/admin/business/registerManage/update"><a href="#"  class="easyui-linkbutton" iconCls="icon-pencil" plain="true" onclick="openEditWin()"><span >修改</span></a></security:url>
<%--    <security:url uri="/admin/business/registerManage/delete"><a href="#"  class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="deleteNews()"><span >删除</span></a></security:url>--%>
    <a href="#"  class="easyui-linkbutton" iconCls="icon-ok" plain="true" onclick="active()"><span >启用</span></a>
    <a href="#"  class="easyui-linkbutton" iconCls="icon-no" plain="true" onclick="inActive()"><span >关闭</span></a>
</div>
<div id="addNewsWinId" class="easyui-window" >
    <div id="main_area" style="margin:15px 0px 0px -20px">
        <!-- 新增form表单 -->
        <form id="newsForm" method="post">
            <div class="edittable">
                <div class="props">
                    <div>
                        <label ><span>考试期数:<b style="color:red;font-weight:bold">*</b></span></label>
                        <div >
                            <input name='name' title="20字以内" class="easyui-validatebox" data-options="required:true"/>
                        </div>
                    </div>
                    <div>
                        <label><span>考试时间:</span></label>
                        <div >
                            <input id="date1" name="time" type="text" class="easyui-datebox" />
                        </div>
                    </div>
                </div>
                <div class="actions">
                    <div colspan="4" align="center">
                        <a id="saveButton01" href="#" class="easyui-linkbutton" iconCls="icon-ok" onclick="saveData()">保存</a>
                        <a id="buttonId02" href="#" class="easyui-linkbutton" iconCls="icon-cancel" onclick="closeWindow();">取消</a>
                    </div>
                </div>

            </div>
        </form>
    </div>
</div>
<script src="<c:url value='/resource/home/js/jquery-1.6.min.js' />"></script><!-- jQuery v@1.8.0  -->
<script src="<c:url value='/resource/home/js/jquery.easyui.min.js'/>"></script> <!-- jQuery EasyUI 1.3.1  -->
<script src="<c:url value='/resource/locale/easyui-lang-zh_CN.js'/>"></script>
<script type="text/javascript" src="<c:url value='/resource/business/phase.js'/>"></script>
</body>

</html>