<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>




<!DOCTYPE html>
<html lang="zh-cn">


<jsp:include page="/admin/head.jsp"></jsp:include>


<body>

<div class="panel admin-panel">
    <div class="body-content">
        <form method="post" class="form-x" action="addEarlyWarning.do" enctype="multipart/form-data" >
              <div class="form-group">
                  <div class="label">
                      <label>预警名称：</label>
                  </div>
                  <div class="field">
                      <input type="text" class="input" name="name"  id="nameTxt"  placeholder="请输入名称"  onblur="return checkName()"  />
                      <div class="tips"></div>
                  </div>
              </div>
                <div class="form-group">
                    <div class="label">
                        <label>分类：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input"  name="btype"  id="btypeTxt" placeholder="请输入分类"  />
                        <div id='btypeCheck' class="tips"></div>
                    </div>
                </div>
              <%--<div class="form-group">
                  <div class="label">
                      <label>用户：</label>
                  </div>
                  <div class="field">
                      <select name="uid" class="input" >
                          <c:forEach items="${ulist}" var="t">
                              <option value="${t.id}" >${t.name}</option>
                          </c:forEach>
                      </select>
                  </div>
              </div>--%>
              <div class="form-group">
                  <div class="label">
                      <label>预警任务：</label>
                  </div>
                  <div class="field">
                      <textarea class="form-control" id="note" rows="5" id="noteTxt" style="width: 680px;" name="note"></textarea>
                      <div class="tips"></div>
                  </div>
              </div>
                <div class="form-group">
                    <div class="label">
                        <label>目前状态：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input"  name="status"  id="statusTxt" placeholder="请输入目前状态"  />
                        <div id='statusCheck' class="tips"></div>
                    </div>
                </div>
            <div class="form-group">
                <div class="label">
                    <label></label>
                </div>
                <div class="field">
                    <button class="button bg-main icon-check-square-o" type="submit" onclick="return check()"> 提交</button>
                </div>
            </div>
        </form>
    </div>
</div>


</body>
</html>


