<%@ page language="java" 	pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>发布邮件</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- bootstrap 3.0.2 -->
<link href="<c:url value='/scripts/lib/layui/layui.css'/>" rel="stylesheet" type="text/css" />
<link media="screen" type="text/css" href="<c:url value='/scripts/lib/ueditor/themes/default/css/ueditor.min.css'/>" rel="stylesheet"/>

<!-- Theme style -->
<link href="<c:url value='/styles/AdminLTE.css'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/styles/notice/noticeEmailPublish.css?v=23132123'/>" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<c:url value='/scripts/lib/jquery-1.8.2.min.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/layui/layui.js'/>"></script>
<%-- <script type="text/javascript" src="<c:url value='/scripts/lib/layDate/laydate.dev.js'/>"></script> --%>
<script type="text/javascript" src="<c:url value='/scripts/lib/ueditor/ueditor.config.js'/>"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/ueditor/ueditor.all.js'/>"></script>
<script type="text/javascript" src="${ctx}/scripts/jquery/ajaxfileupload.js"></script>
<script type="text/javascript" src="<c:url value='/scripts/lib/template-native.js'/>"></script>

</head>
<body>
<div class="bread-wp">
			公告通知 >  发布公告消息  > 邮件消息
</div>
	<div class="right-content">
	<input type="hidden" value="${ctx}" id="contextPath">
		 <ul class="third-tabs">
	          <li class="third-tab ">
	            <a href="noticeAppPublish">公告</a>
	          </li>
	          <li class="third-tab ">
	            <a href="wxPublish">微信模板消息</a>
	          </li>
	          <li class="third-tab">
	            <a href="msgPublish">短信消息</a>
	          </li>
	          <li class="third-tab active">
	            <a href="emailPublish">邮件消息</a>
	          </li>
        </ul>
		<div class="main-content-mode-wp clearfloat email-publish-wp ">
		 	<div class="email-con-left">
		 		<div class="email-send-wp ">
					<c:if test="${fn:length(orgs) > 1}">
			 		<span class="e-tips-wp">项目：</span>
			 		<select class="select-width180 orgId" name="orgId" id="orgId" >
					<option value="">请选择项目</option>
					<c:forEach items="${orgs }"  var="org">
					<option value="${org.id }">${org.name }</option>
					</c:forEach>
				</select>
					</c:if>
					<c:if test="${fn:length(orgs) == 1}">
						<input type="hidden" name="orgId" id="orgId" value="${orgs[0].id}">
					</c:if>
		 		</div>
		 		<br/>
		 			<span class="e-tips-wp">发件邮箱：</span>
		 			<select class="send-email-num select-width180">
		 				<option value="">选择发件邮箱</option>
		 			</select>
					<div class="approvalStyle">
					<span class="e-tips-wp">审核类型:</span>
					<select name="city" class="small-input select-width180" id="approvalType">
						<option value="">请选择审核类型</option>
					</select>
					</div>
		 			
		 		<div class="email-number-wp clearfloat">
		 			<span class="e-tips-wp">目标邮箱：<span class="tip">（每行一个）</span></span>
		 			<div class="email-list-wp">
		 				<textarea  class="email-list"></textarea>
		 				<div class="m-white-btns">
			 				<button class="filter-btn btn-white-width90">重号过滤</button>
			 				<button class="clear-btn btn-white-width90">清空</button>
			 			</div>
			 			<div class="m-red-btns">
			 				<!-- <button class="choose-btn btn-red-width90">选择群组</button> -->
			 				<button class="export-btn btn-red-width90">导入</button>
			 			</div>
			 			
		 			</div>
		 		</div>
		 	</div>
		 	<div class="email-con-right">
		 		<div class="email-theme-wp clearfloat">
		 			<span class="e-tips-wp">邮件主题</span>
		 			<input class="email-theme-input" type="text"/>
		 		</div>
		 		<div class="email-inform-wp clearfloat">
		 			<span class="e-tips-wp">邮件正文</span>
		 			<div class="email-inform-con">
		 				<div class="email-inform" id="myeditor"></div>
		 				<div class="add-attach-wp">
		 					<div class="add-attach-btn">
		 						<button class="btn-white-width90 btn">添加附件</button>
		 						<input type="file" class="file-input" id="attach_File" name="uploadfile"/>
		 					</div>
		 					<div class="attach-list clearfloat">
		 					</div>
		 				</div>
		 				<div class="email-operate-wp">
		 					<button class="e-sure-btn btn-red-width90">确定发送</button>
			 				<button class="c-clear-btn btn-white-width90">清空</button>
		 				</div>
		 			</div>
		 			
		 		</div>
		 	</div>
		</div>
	</div>
<script type="text/javascript" src="<c:url value='/scripts/admin/notice/noticeEmailPublish.js?v=12121'/>"></script>
</body>
</html>