초기소스
This commit is contained in:
@@ -0,0 +1,231 @@
|
||||
<%@ 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="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
|
||||
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ page import="java.util.Date" %>
|
||||
<%--
|
||||
Class Name : EmailPassivSndngC.jsp
|
||||
Description : 이메일 수동 발송 폼
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2024-02-28 리브가 최초 생성
|
||||
2024-04-04 이대환 sndng>email 분리
|
||||
--%>
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
$('.rjctCopy').hide();
|
||||
|
||||
var urlParams = new URLSearchParams(window.location.search);
|
||||
|
||||
if (urlParams.has('mbrInfo')) {
|
||||
$('.mbrInfo').val(urlParams.get('mbrInfo'));
|
||||
$('.srchMbrCnt').html(urlParams.get('sndngCnt')+' 명');
|
||||
}
|
||||
});
|
||||
|
||||
/**********************************************
|
||||
* 이메일 수신거부 링크 입력 이벤트
|
||||
***********************************************/
|
||||
$("input[name='recptnRjctUrl']").change(function() {
|
||||
$('.rjctCopy').hide();
|
||||
});
|
||||
|
||||
|
||||
/**********************************************
|
||||
* ? 버튼 처리
|
||||
***********************************************/
|
||||
$(".mini-info-btn").on("click", function (event){
|
||||
event.preventDefault();
|
||||
const info = $(this).data("info");
|
||||
|
||||
$("#" + info).css({
|
||||
top: $(this).offset().top,
|
||||
left: $(this).offset().left,
|
||||
});
|
||||
|
||||
if ($(this).offset().left > 1000) {
|
||||
$("#" + info).css({
|
||||
left: $(this).offset().left - $("#" + info).width() - 10,
|
||||
});
|
||||
}
|
||||
|
||||
$("#" + info).show();
|
||||
})
|
||||
|
||||
fn_set_niceSelect_datePicker("#tx_editor_form");
|
||||
</script>
|
||||
<form id='tx_editor_form' name="tx_editor_form">
|
||||
<section class="content-section">
|
||||
<h3 class="content-section__title">이메일</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>보내는 사람</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<input class="input-text xl" type="text" title="해당 인풋에 대한 설명" name="sndrEmail" id="sndrEmail"
|
||||
placeholder="메일 주소 입력">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>받는 사람 (검색 입력)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<input type="hidden" class="input-text mbrInfo" name="mbrInfo"/>
|
||||
<span class="fw-500 fs-15 ml-5 srchMbrCnt">0 명</span>
|
||||
<button type="button" id="mbrSrchBtn"
|
||||
class="btn xsm primary" title="회원 검색 새창열림" onclick="fn_open_modal('#modalDiv',
|
||||
'#member-search',
|
||||
'/mngr/ntcn/email/selectMbrSrchPopupRForm',
|
||||
{'actionDv' : 'email'}); return false;">
|
||||
회원검색
|
||||
</button>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>받는 사람 (직접 입력)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<input class="input-text xl" type="text" title="해당 인풋에 대한 설명" name="recpntEmail" id="recpntEmail"
|
||||
placeholder="메일 주소는 ,(콤마)로 구분하여 입력">
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<%-- <tr>
|
||||
<th>받는 사람 (엑셀 입력)</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="table-wrapper" style="width: 600px;">
|
||||
<table class="table vertical">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<colgroup>
|
||||
<col>
|
||||
<col style="width:20%;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>엑셀 파일 업로드</th>
|
||||
<th>
|
||||
<button class="circle-btn add"><span
|
||||
class="visually-hidden">추가</span></button>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<input class="input-text md" type="text"
|
||||
title="해당 인풋에 대한 설명" placeholder=""
|
||||
value="111">
|
||||
<div class="input-file">
|
||||
<input type="file" id="f-1">
|
||||
<label for="f-1">첨부 파일</label>
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<button class="circle-btn delete"><span
|
||||
class="visually-hidden">삭제</span></button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr> --%>
|
||||
<tr>
|
||||
<th>최근 이메일 불러오기</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<div class="select-box">
|
||||
<select class="lg" onchange="fn_apply_rcntEmail(this.value)" title="해당 셀렉트에 대한 설명">
|
||||
<option value="">최근 발송한 이메일 선택</option>
|
||||
<c:forEach items="${ resultListMap.boCtrlMap }" var="list" varStatus="status">
|
||||
<option value="${list.emailLogInnb}">
|
||||
[<c:out value="${list.registDt}"/>] <c:out value="${list.sj}"/>
|
||||
</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>제목</th>
|
||||
<td>
|
||||
<div class="td-inner vertical">
|
||||
<input class="input-text xl" type="text" title="제목" id="sj" name="sj"
|
||||
placeholder="메일 제목을 입력하세요.">
|
||||
<div class="gray-7">
|
||||
<p class="fyi">‘정보통신망이용 촉진 및 정보 보호 등의 관한 법률 및 시행령’에 따라 광고 전송 시 제목에 (광고)를 표시해주세요.</p>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>내용</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
<%@ include file="EmailPassivSndngEditor.jsp" %>
|
||||
<textarea class="textarea" id="cn" name="cn" style="display: none"></textarea>
|
||||
<div class="gray-7">
|
||||
<p class="fyi">‘정보통신망이용 촉진 및 정보보호등에 관한 법률 및 시행령’에 규정된 광고 전송 사업자의 의무사항을 준수하세요.
|
||||
<button type="button" class="mini-info-btn mb-3" data-info="info01">?</button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<h3 class="content-section__title">수신 거부 안내</h3>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<colgroup>
|
||||
<col style="width: 12%;">
|
||||
<col>
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>수신 거부 링크
|
||||
<button type="button" class="mini-info-btn mb-3" data-info="info02">?</button>
|
||||
</th>
|
||||
<td>
|
||||
<div class="td-inner">
|
||||
https://
|
||||
<input class="input-text md" type="text" title="해당 인풋에 대한 설명" name="recptnRjctUrl" value="/mngr/ntcn/email/updateMarktRecptnArgeAt">
|
||||
?mbrInnb={mbrInnb}
|
||||
<div class="manage-btn-container">
|
||||
<button type="button" class="btn xsm outline rjctCopy" onclick="recptnRjct('ko')">한글 복사</button>
|
||||
<button type="button" class="btn xsm outline rjctCopy" onclick="recptnRjct('en')">영문 복사</button>
|
||||
<button type="button" class="btn xsm gray" onclick="recptnRjct()">정상 여부 확인</button>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="b-checkbox-container justify-center fs-16 mt-30">
|
||||
<label class="b-checkbox checkbox">
|
||||
<input type="checkbox" id="legalResp">
|
||||
<span class="check"></span>
|
||||
<span class="control-label">‘정보통신망이용 촉진 및 정보보호등에 관한 법률 및 시행령’ 위반에 따른 책임은 당사에게 있음에 동의합니다.</span>
|
||||
</label>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
Reference in New Issue
Block a user