| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <%@page contentType="text/html;charset=UTF-8"%>
- <%@include file="/taglibs.jsp"%>
- <%pageContext.setAttribute("currentHeader", "sendmail");%>
- <%pageContext.setAttribute("currentMenu", "sendmail");%>
- <!doctype html>
- <html lang="en">
- <head>
- <%@include file="/common/meta.jsp"%>
- <title>编辑</title>
- <%@include file="/common/s3.jsp"%>
- <script type="text/javascript">
- $(function() {
- $("#mailConfigForm").validate({
- submitHandler: function(form) {
- bootbox.animate(false);
- var box = bootbox.dialog('<div class="progress progress-striped active" style="margin:0px;"><div class="bar" style="width: 100%;"></div></div>');
- form.submit();
- },
- errorClass: 'validate-error'
- });
- })
- </script>
- </head>
- <body>
- <%@include file="/header/sendmail.jsp"%>
- <div class="row-fluid">
- <%@include file="/menu/sendmail.jsp"%>
- <!-- start of main -->
- <section id="m-main" class="col-md-10" style=" ">
- <div class="panel panel-default">
- <div class="panel-heading">
- <i class="glyphicon glyphicon-list"></i>
- ${mailDto.success ? '发送成功' : '发送失败'}
- </div>
- <div class="panel-body">
- <c:if test="${mailDto.success}">
- 发送成功
- </c:if>
- <c:if test="${not mailDto.success}">
- <pre>${exception}</pre>
- </c:if>
- </div>
- </div>
- </section>
- <!-- end of main -->
- </div>
- </body>
- </html>
|