+++ base/.idea/webContexts.xml
... | ... | @@ -0,0 +1,10 @@ |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | |
| 2 | +<project version="4"> | |
| 3 | + <component name="WebContextManager"> | |
| 4 | + <option name="state"> | |
| 5 | + <map> | |
| 6 | + <entry key="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp" value="file://$PROJECT_DIR$/src/main/webapp/WEB-INF/jsp/egovframework/mng/template" /> | |
| 7 | + </map> | |
| 8 | + </option> | |
| 9 | + </component> | |
| 10 | +</project>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/java/egovframework/com/cmm/ImagePaginationRenderer.java
+++ base/src/main/java/egovframework/com/cmm/ImagePaginationRenderer.java
... | ... | @@ -4,29 +4,37 @@ |
| 4 | 4 |
|
| 5 | 5 |
public class ImagePaginationRenderer extends AbstractPaginationRenderer {
|
| 6 | 6 |
|
| 7 |
- public ImagePaginationRenderer() {
|
|
| 8 |
- /* |
|
| 9 |
- firstPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_prevstart.gif\" alt=\"첫 페이지\"/></a></li>";
|
|
| 10 |
- previousPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_prev.gif\" alt=\"이전\"/></a></li>";
|
|
| 11 |
- currentPageLabel = "<li><span class=\"current\">{0}</span></li>";
|
|
| 12 |
- otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\">{2}</a></li>";
|
|
| 13 |
- nextPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_next.gif\" alt=\"다음\"/></a></li>";
|
|
| 14 |
- lastPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_nextend.gif\" alt=\"마지막 페이지\"/></a></li>";
|
|
| 15 |
- */ |
|
| 16 |
- /* |
|
| 17 |
- firstPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\"><span>◀</span> First</a></li>";
|
|
| 18 |
- previousPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\"><span>◀</span></a></li>";
|
|
| 19 |
- currentPageLabel = "<li><em class=\"active\" title=\"현재페이지\">■</em></li>"; |
|
| 20 |
- otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\" title=\"{1}페이지\">■</a></li>";
|
|
| 21 |
- nextPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\"> <span>▶</span></a></li>";
|
|
| 22 |
- lastPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\">Last <span>▶</span></a></li>";
|
|
| 23 |
- */ |
|
| 24 |
- firstPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_first.gif\" alt=\"처음\"/></a></li>";
|
|
| 25 |
- previousPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_prew.gif\" alt=\"이전\"/></a></li>";
|
|
| 26 |
- currentPageLabel = "<li><a class=\"commthis\">{0}</a></li>";
|
|
| 27 |
- otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\">{2}</a></li>";
|
|
| 28 |
- nextPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_next.gif\" alt=\"다음\"/></a></li>";
|
|
| 29 |
- lastPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_last.gif\" alt=\"마지막\"/></a></li>";
|
|
| 30 |
- } |
|
| 7 |
+ public ImagePaginationRenderer() {
|
|
| 8 |
+ /* |
|
| 9 |
+ firstPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_prevstart.gif\" alt=\"첫 페이지\"/></a></li>";
|
|
| 10 |
+ previousPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_prev.gif\" alt=\"이전\"/></a></li>";
|
|
| 11 |
+ currentPageLabel = "<li><span class=\"current\">{0}</span></li>";
|
|
| 12 |
+ otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\">{2}</a></li>";
|
|
| 13 |
+ nextPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_next.gif\" alt=\"다음\"/></a></li>";
|
|
| 14 |
+ lastPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"btn\"><img src=\"/template/common/images/bbs/btn_li_nextend.gif\" alt=\"마지막 페이지\"/></a></li>";
|
|
| 15 |
+ */ |
|
| 16 |
+ /* |
|
| 17 |
+ firstPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\"><span>◀</span> First</a></li>";
|
|
| 18 |
+ previousPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\"><span>◀</span></a></li>";
|
|
| 19 |
+ currentPageLabel = "<li><em class=\"active\" title=\"현재페이지\">■</em></li>"; |
|
| 20 |
+ otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\" title=\"{1}페이지\">■</a></li>";
|
|
| 21 |
+ nextPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\"> <span>▶</span></a></li>";
|
|
| 22 |
+ lastPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\" title=\"{1}페이지\">Last <span>▶</span></a></li>";
|
|
| 23 |
+ */ |
|
| 24 |
+ /* |
|
| 25 |
+ firstPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_first.gif\" alt=\"처음\"/></a></li>";
|
|
| 26 |
+ previousPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_prew.gif\" alt=\"이전\"/></a></li>";
|
|
| 27 |
+ currentPageLabel = "<li><a class=\"commthis\">{0}</a></li>";
|
|
| 28 |
+ otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\">{2}</a></li>";
|
|
| 29 |
+ nextPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_next.gif\" alt=\"다음\"/></a></li>";
|
|
| 30 |
+ lastPageLabel = "<li><a href=\"{0}&pageIndex={1}\" class=\"move\"><img src=\"/template/manage/images/board/btn_last.gif\" alt=\"마지막\"/></a></li>";
|
|
| 31 |
+ */ |
|
| 32 |
+ firstPageLabel = "<li class=\"ppv\"><a href=\"{0}&pageIndex={1}\" title=\"처음으로\"><span class=\"txt-hide\">처음으로</span></a></li>";
|
|
| 33 |
+ previousPageLabel = "<li class=\"pv\"><a href=\"{0}&pageIndex={1}\" title=\"이전\"><span class=\"txt-hide\">이전</span></a></li>";
|
|
| 34 |
+ currentPageLabel = "<li class=\"is-active\"><a href=\"#none\" title=\"to {0} page\">{0}</a></li>";
|
|
| 35 |
+ otherPageLabel = "<li><a href=\"{0}&pageIndex={1}\" title=\"to {1} page\">{1}</a></li>";
|
|
| 36 |
+ nextPageLabel = "<li class=\"fw\"><a href=\"{0}&pageIndex={1}\" title=\"다음\"><span class=\"txt-hide\">다음</span></a></li>";
|
|
| 37 |
+ lastPageLabel = "<li class=\"ffw\"><a href=\"{0}&pageIndex={1}\" title=\"끝으로\"><span class=\"txt-hide\">끝으로</span></a></li>";
|
|
| 38 |
+ } |
|
| 31 | 39 |
|
| 32 | 40 |
} |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp
... | ... | @@ -3,6 +3,9 @@ |
| 3 | 3 |
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> |
| 4 | 4 |
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> |
| 5 | 5 |
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
| 6 |
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 7 |
+<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 8 |
+<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 6 | 9 |
<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
| 7 | 10 |
<%@ page import="egovframework.com.cmm.service.Globals"%> |
| 8 | 11 |
<%@ page import="java.util.Date" %> |
... | ... | @@ -17,9 +20,10 @@ |
| 17 | 20 |
<c:set var="_CSS" value="${LytFileStoreWebPathByWebFile}sit/${siteInfo.lytTmplatId}"/>
|
| 18 | 21 |
<c:set var="_JS" value="${LytFileStoreWebPathByWebFile}sit/${siteInfo.lytTmplatId}"/>
|
| 19 | 22 |
<c:set var="C_JS" value="/resources/template/common/js"/> |
| 23 |
+<c:set var="C_LIB" value="/resources/lib"/> |
|
| 20 | 24 |
|
| 21 | 25 |
<%-- 관리자 --%> |
| 22 |
-<c:set var="mngimg" value="/resources/template/manage/images"/> |
|
| 26 |
+<c:set var="M_IMG" value="/resources/manage/image"/> |
|
| 23 | 27 |
|
| 24 | 28 |
<c:set var="SE_CODE" value="01" /> |
| 25 | 29 |
<c:if test="${not empty USER_INFO.id}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryList.jsp
... | ... | @@ -1,23 +1,14 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 8 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 9 |
-<c:set var="_C_IMG" value="/template/common/images"/> |
|
| 10 |
-<c:set var="_C_JS" value="/template/common/js"/> |
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 12 | 4 |
<c:set var="_PREFIX" value="/mng/cop/bbs"/> |
| 13 | 5 |
|
| 14 | 6 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 15 | 7 |
<c:param name="title" value="레이아웃 복원"/> |
| 16 | 8 |
</c:import> |
| 17 | 9 |
|
| 18 |
-<script type="text/javascript" language="javascript"> |
|
| 10 |
+<script> |
|
| 19 | 11 |
function fn_egov_Rollback(id){
|
| 20 |
- |
|
| 21 | 12 |
if(confirm("복원하시겠습니까?")){
|
| 22 | 13 |
document.location.href = "${pageContext.request.contextPath}/mng/cop/com/updateLytSourcRollBack.do?lytSourcId=${searchVO.lytSourcId}&lytSourcHistId=" + id;
|
| 23 | 14 |
} |
... | ... | @@ -26,64 +17,55 @@ |
| 26 | 17 |
<c:if test="${rollbackComplete eq 'Y'}">
|
| 27 | 18 |
alert('복원이 완료 되었습니다.');
|
| 28 | 19 |
</c:if> |
| 29 |
- |
|
| 30 | 20 |
</script> |
| 31 | 21 |
|
| 32 |
-<div id="cntnts"> |
|
| 33 |
- |
|
| 34 |
- |
|
| 35 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 36 |
- |
|
| 37 |
- <table class="chart_board"> |
|
| 38 |
- <colgroup> |
|
| 39 |
- <col class="co1"/> |
|
| 40 |
- <col class="co3"/> |
|
| 41 |
- <col class="co6"/> |
|
| 42 |
- </colgroup> |
|
| 43 |
- <thead> |
|
| 44 |
- <tr> |
|
| 45 |
- <th>번호</th> |
|
| 46 |
- <th>변경일자</th> |
|
| 47 |
- <th>복원</th> |
|
| 48 |
- </tr> |
|
| 49 |
- </thead> |
|
| 50 |
- <tbody> |
|
| 51 |
- |
|
| 52 |
- |
|
| 53 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 54 |
- <tr> |
|
| 55 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 56 |
- <td> |
|
| 57 |
- <c:url var="viewUrl" value="/mng/cop/com/selectLytSourcHistory.do"> |
|
| 58 |
- <c:param name="lytSourcHistId" value="${result.lytSourcHistId}" />
|
|
| 59 |
- <c:param name="lytSourcId" value="${searchVO.lytSourcId}" />
|
|
| 60 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 61 |
- </c:url> |
|
| 62 |
- <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 63 |
- </td> |
|
| 64 |
- <td><a href="#" onclick="fn_egov_Rollback('${result.lytSourcHistId}'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 65 |
- </tr> |
|
| 66 |
- </c:forEach> |
|
| 67 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 68 |
- <tr> |
|
| 69 |
- <td colspan="3" ><spring:message code="common.nodata.msg" /></td> |
|
| 70 |
- </tr> |
|
| 71 |
- </c:if> |
|
| 72 |
- |
|
| 73 |
- </tbody> |
|
| 74 |
- </table> |
|
| 75 |
- |
|
| 76 |
- |
|
| 77 |
- <div id="paging"> |
|
| 78 |
- <c:url var="pageUrl" value="/mng/cop/com/selectLytSourcHistoryList.do"> |
|
| 79 |
- <c:param name="lytSourcId" value="${searchVO.lytSourcId}" />
|
|
| 80 |
- </c:url> |
|
| 81 |
- |
|
| 82 |
- <ul> |
|
| 83 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 84 |
- </ul> |
|
| 85 |
- </div> |
|
| 22 |
+<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 23 |
+<div class="list-type sm"> |
|
| 24 |
+ <table> |
|
| 25 |
+ <colgroup> |
|
| 26 |
+ <col style="width:110px"> |
|
| 27 |
+ <col> |
|
| 28 |
+ <col style="width:130px"> |
|
| 29 |
+ </colgroup> |
|
| 30 |
+ <thead> |
|
| 31 |
+ <tr> |
|
| 32 |
+ <th scope="col">번호</th> |
|
| 33 |
+ <th scope="col">변경일자</th> |
|
| 34 |
+ <th scope="col">복원</th> |
|
| 35 |
+ </tr> |
|
| 36 |
+ </thead> |
|
| 37 |
+ <tbody> |
|
| 38 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 39 |
+ <tr> |
|
| 40 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 41 |
+ <td data-tit="변경일자"> |
|
| 42 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectLytSourcHistory.do"> |
|
| 43 |
+ <c:param name="lytSourcHistId" value="${result.lytSourcHistId}" />
|
|
| 44 |
+ <c:param name="lytSourcId" value="${searchVO.lytSourcId}" />
|
|
| 45 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 46 |
+ </c:url> |
|
| 47 |
+ <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 48 |
+ </td> |
|
| 49 |
+ <td data-tit="복원"> |
|
| 50 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_Rollback('${result.lytSourcHistId}'); return false;">선택</button>
|
|
| 51 |
+ </td> |
|
| 86 | 52 |
|
| 87 |
-</div> |
|
| 53 |
+ </tr> |
|
| 54 |
+ </c:forEach> |
|
| 55 |
+ |
|
| 56 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 57 |
+ <tr> |
|
| 58 |
+ <td class="" colspan="3"><spring:message code="common.nodata.msg" /></td> |
|
| 59 |
+ </tr> |
|
| 60 |
+ </c:if> |
|
| 61 |
+ </tbody> |
|
| 62 |
+ </table> |
|
| 63 |
+</div> |
|
| 64 |
+<c:url var="pageUrl" value="/mng/cop/com/selectLytSourcHistoryList.do"> |
|
| 65 |
+ <c:param name="lytSourcId" value="${searchVO.lytSourcId}" />
|
|
| 66 |
+</c:url> |
|
| 67 |
+<ul class="paging"> |
|
| 68 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 69 |
+</ul> |
|
| 88 | 70 |
|
| 89 | 71 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcHistoryView.jsp
... | ... | @@ -1,18 +1,12 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 9 |
- |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 12 | 5 |
<c:param name="title" value="레이아웃 복원"/> |
| 13 | 6 |
</c:import> |
| 14 | 7 |
|
| 15 |
-<script type="text/javascript"> |
|
| 8 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 9 |
+<script> |
|
| 16 | 10 |
function fnTabView(idx) {
|
| 17 | 11 |
|
| 18 | 12 |
$('#tabLink01').removeClass('active');
|
... | ... | @@ -29,130 +23,110 @@ |
| 29 | 23 |
|
| 30 | 24 |
$('#tab02').hide();
|
| 31 | 25 |
$('#sourcNm').focus();
|
| 32 |
- |
|
| 26 |
+ |
|
| 27 |
+ var editor = new Array(2); |
|
| 28 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 29 |
+ var textarea = $(this); |
|
| 30 |
+ var mode = textarea.attr("lang");
|
|
| 31 |
+ var editDiv = $("<div>", {
|
|
| 32 |
+ position: "absolute", |
|
| 33 |
+ width:"100%", |
|
| 34 |
+ height:textarea.height() |
|
| 35 |
+ }).insertBefore(textarea); |
|
| 36 |
+ |
|
| 37 |
+ textarea.css("display", "none");
|
|
| 38 |
+ |
|
| 39 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 40 |
+ editor[idx].setFontSize("11px");
|
|
| 41 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 42 |
+ editor[idx].setTheme("ace/theme/clouds");
|
|
| 43 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 44 |
+ |
|
| 45 |
+ textarea.closest("#lytSourcVO").submit(function() {
|
|
| 46 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 47 |
+ }); |
|
| 48 |
+ }); |
|
| 33 | 49 |
}); |
| 34 | 50 |
|
| 35 | 51 |
</script> |
| 36 | 52 |
|
| 37 |
-<style type="text/css"> |
|
| 38 |
-<!-- |
|
| 39 |
-.conf_top{overflow:hidden;}
|
|
| 40 |
-.tab_menu{right:0;z-index:1000;}
|
|
| 41 |
-.tab_menu li{float:left;background:#f8f8f8;width:150px;height:30px;text-align:center;border:1px solid #ccc;}
|
|
| 42 |
-.tab_menu li a{display:block;padding:8px 0px;height:30px;}
|
|
| 43 |
-.tab_menu li a:hover, .tab_menu li a.active{background:url('${_IMG}/tab_over.gif') 0 0 repeat;padding:8px 0px;height:15px;font-weight:bold;color:#32688c;}
|
|
| 44 |
-.cont{position:relative;width:100%;border-top:1px solid #ccc;padding:0px 0;z-index:1001;}
|
|
| 45 |
-.cont table{width:100%;}
|
|
| 46 |
---> |
|
| 47 |
-</style> |
|
| 53 |
+<form:form commandName="lytSourcVO" name="lytSourcVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 54 |
+ <form:hidden path="lytSourcId"/> |
|
| 55 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 56 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 57 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 48 | 58 |
|
| 59 |
+ <fieldset> |
|
| 60 |
+ <legend class="hdn">템플릿 입력 폼</legend> |
|
| 49 | 61 |
|
| 50 |
-<div id="cntnts"> |
|
| 51 |
- |
|
| 52 |
- <form:form commandName="lytSourcVO" name="lytSourcVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 53 |
- <form:hidden path="lytSourcId"/> |
|
| 54 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 55 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 56 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 57 |
- |
|
| 58 |
- <fieldset> |
|
| 59 |
- <legend class="hdn">템플릿 입력 폼</legend> |
|
| 60 |
- |
|
| 61 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 62 |
- <caption> </caption> |
|
| 63 |
- <colgroup> |
|
| 64 |
- <col width="150px" /> |
|
| 65 |
- <col width="*" /> |
|
| 66 |
- </colgroup> |
|
| 67 |
- <tbody> |
|
| 68 |
- <tr> |
|
| 69 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 70 |
- <td> |
|
| 71 |
- <c:choose> |
|
| 72 |
- <c:when test="${not empty lytSourcVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}/${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}/${lytSourcVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 73 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 74 |
- </c:choose> |
|
| 75 |
- </td> |
|
| 76 |
- </tr> |
|
| 77 |
- <tr> |
|
| 78 |
- <th><label>HTML</label></th> |
|
| 79 |
- <td> |
|
| 80 |
- <div class="conf_top"> |
|
| 81 |
- <ul class="tab_menu"> |
|
| 82 |
- <li><a href="#tab1" id="tabLink01" onclick="fnTabView('01');return false;" class="active">WEB</a></li>
|
|
| 83 |
- </ul> |
|
| 84 |
- </div> |
|
| 85 |
- |
|
| 86 |
- <div id="tab01" class="cont"> |
|
| 87 |
- <table> |
|
| 88 |
- <caption>등록폼</caption> |
|
| 89 |
- <colgroup> |
|
| 90 |
- <col width="130"/> |
|
| 91 |
- <col/> |
|
| 92 |
- </colgroup> |
|
| 62 |
+ <div class="write-type"> |
|
| 63 |
+ <table> |
|
| 64 |
+ <colgroup> |
|
| 65 |
+ <col style="width:250px" /> |
|
| 66 |
+ <col /> |
|
| 67 |
+ </colgroup> |
|
| 68 |
+ <tbody> |
|
| 69 |
+ <tr> |
|
| 70 |
+ <th>미리보기이미지</th> |
|
| 71 |
+ <td> |
|
| 72 |
+ <ul class="file-list"> |
|
| 73 |
+ <c:choose> |
|
| 74 |
+ <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 75 |
+ <li> |
|
| 76 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 77 |
+ </li> |
|
| 78 |
+ </c:when> |
|
| 79 |
+ <c:otherwise> |
|
| 80 |
+ <li> |
|
| 81 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 82 |
+ </li> |
|
| 83 |
+ </c:otherwise> |
|
| 84 |
+ </c:choose> |
|
| 85 |
+ </ul> |
|
| 86 |
+ </td> |
|
| 87 |
+ </tr> |
|
| 88 |
+ <tr> |
|
| 89 |
+ <th><label>HTML</label></th> |
|
| 90 |
+ <td> |
|
| 91 |
+ <table> |
|
| 92 |
+ <caption>등록폼</caption> |
|
| 93 |
+ <colgroup> |
|
| 94 |
+ <col width="130"/> |
|
| 95 |
+ <col/> |
|
| 96 |
+ </colgroup> |
|
| 93 | 97 |
<tbody> |
| 94 |
- <tr> |
|
| 95 |
- <th><label for="upendSourc"><spring:message code="cop.upendSourc" /></label></th> |
|
| 96 |
- <td> |
|
| 97 |
- <form:textarea path="upendSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 98 |
- <div><form:errors path="upendSourc"/></div> |
|
| 99 |
- </td> |
|
| 100 |
- </tr> |
|
| 101 |
- <tr> |
|
| 102 |
- <th><label for="lptSourc"><spring:message code="cop.lptSourc" /></label></th> |
|
| 103 |
- <td> |
|
| 104 |
- <form:textarea path="lptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 105 |
- <div><form:errors path="lptSourc"/></div> |
|
| 106 |
- </td> |
|
| 107 |
- </tr> |
|
| 98 |
+ <tr> |
|
| 99 |
+ <th><label for="upendSourc"><spring:message code="cop.upendSourc" /></label></th> |
|
| 100 |
+ <td> |
|
| 101 |
+ <form:textarea path="upendSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="jsp"/> |
|
| 102 |
+ <div><form:errors path="upendSourc"/></div> |
|
| 103 |
+ </td> |
|
| 104 |
+ </tr> |
|
| 105 |
+ <tr> |
|
| 106 |
+ <th><label for="lptSourc"><spring:message code="cop.lptSourc" /></label></th> |
|
| 107 |
+ <td> |
|
| 108 |
+ <form:textarea path="lptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="jsp"/> |
|
| 109 |
+ <div><form:errors path="lptSourc"/></div> |
|
| 110 |
+ </td> |
|
| 111 |
+ </tr> |
|
| 108 | 112 |
</tbody> |
| 109 |
- </table> |
|
| 110 |
- </div> |
|
| 111 |
- <div id="tab02" class="cont" style="visibility:hidden;height:0px;position:absolute;top:0;left:0;z-index:-1;"> |
|
| 112 |
- <table> |
|
| 113 |
- <caption>등록폼</caption> |
|
| 114 |
- <colgroup> |
|
| 115 |
- <col width="130"/> |
|
| 116 |
- <col/> |
|
| 117 |
- </colgroup> |
|
| 118 |
- <tbody> |
|
| 119 |
- <tr> |
|
| 120 |
- <th><label for="mobileUpendSourc"><spring:message code="cop.upendSourc" /></label></th> |
|
| 121 |
- <td> |
|
| 122 |
- <form:textarea path="mobileUpendSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 123 |
- <div><form:errors path="mobileUpendSourc"/></div> |
|
| 124 |
- </td> |
|
| 125 |
- </tr> |
|
| 126 |
- <tr> |
|
| 127 |
- <th><label for="mobileLptSourc"><spring:message code="cop.lptSourc" /></label></th> |
|
| 128 |
- <td> |
|
| 129 |
- <form:textarea path="mobileLptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 130 |
- <div><form:errors path="mobileLptSourc"/></div> |
|
| 131 |
- </td> |
|
| 132 |
- </tr> |
|
| 133 |
- </tbody> |
|
| 134 |
- </table> |
|
| 135 |
- </div> |
|
| 136 |
- </td> |
|
| 137 |
- </tr> |
|
| 138 |
- </tbody> |
|
| 139 |
- <tfoot> |
|
| 140 |
- </tfoot> |
|
| 141 |
- </table> |
|
| 142 |
- |
|
| 143 |
- <div class="btn_r"> |
|
| 144 |
- <c:url var="listUrl" value="/mng/cop/com/selectLytSourcHistoryList.do"> |
|
| 145 |
- <c:param name="lytSourcId" value="${searchVO.lytSourcId}" />
|
|
| 146 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 113 |
+ </table> |
|
| 114 |
+ </td> |
|
| 115 |
+ </tr> |
|
| 116 |
+ </tbody> |
|
| 117 |
+ </table> |
|
| 118 |
+ </div> |
|
| 119 |
+ |
|
| 120 |
+ <div class="btn-cont"> |
|
| 121 |
+ <c:url var="listUrl" value="/mng/cop/com/selectLytSourcHistoryList.do"> |
|
| 122 |
+ <c:param name="lytSourcId" value="${searchVO.lytSourcId}" />
|
|
| 123 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 147 | 124 |
<c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
| 148 | 125 |
<c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
| 149 |
- </c:url> |
|
| 150 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 151 |
- </div> |
|
| 152 |
- |
|
| 153 |
- </fieldset> |
|
| 154 |
- </form:form> |
|
| 155 |
- |
|
| 156 |
- </div> |
|
| 126 |
+ </c:url> |
|
| 127 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 128 |
+ </div> |
|
| 129 |
+ </fieldset> |
|
| 130 |
+</form:form> |
|
| 157 | 131 |
|
| 158 | 132 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
... | ... | @@ -1,12 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 8 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 9 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:choose> |
| 12 | 5 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
... | ... | @@ -24,10 +17,8 @@ |
| 24 | 17 |
</c:otherwise> |
| 25 | 18 |
</c:choose> |
| 26 | 19 |
|
| 27 |
- |
|
| 28 |
-<script type="text/javascript" language="javascript"> |
|
| 20 |
+<script> |
|
| 29 | 21 |
function fn_egov_delete(url){
|
| 30 |
- |
|
| 31 | 22 |
if(confirm("삭제하시겠습니까?")){
|
| 32 | 23 |
document.location.href = url; |
| 33 | 24 |
} |
... | ... | @@ -37,7 +28,7 @@ |
| 37 | 28 |
var url = "/mng/cop/com/selectLytSourcHistoryList.do?"; |
| 38 | 29 |
url = url + "lytSourcId=" + id; |
| 39 | 30 |
|
| 40 |
- var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=760,height=650'); |
|
| 31 |
+ var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 41 | 32 |
if(win != null) {
|
| 42 | 33 |
win.focus(); |
| 43 | 34 |
} |
... | ... | @@ -49,147 +40,164 @@ |
| 49 | 40 |
} |
| 50 | 41 |
</script> |
| 51 | 42 |
|
| 43 |
+<div class="fnc-area"> |
|
| 44 |
+ <div class="r-area"> |
|
| 45 |
+ <form name="frm" action ="<c:url value="/mng/cop/com/selectLytTemplateList.do"/>" method="post"> |
|
| 46 |
+ <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 47 |
+ <input type="hidden" name="searchSourcSeCode" value="sit"/> |
|
| 52 | 48 |
|
| 53 |
-<div id="cntnts"> |
|
| 49 |
+ <div class="sch-area"> |
|
| 50 |
+ <%-- |
|
| 51 |
+ <label for="ftext" class="hdn">분류검색</label> |
|
| 52 |
+ <select name="searchSourcSeCode" id="searchSourcSeCode" class="searchCate inp"> |
|
| 53 |
+ <option value="">분류</option> |
|
| 54 |
+ <c:forEach var="result" items="${codeList}" varStatus="status">
|
|
| 55 |
+ <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchSourcSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 56 |
+ </c:forEach> |
|
| 57 |
+ </select> |
|
| 58 |
+ --%> |
|
| 59 |
+ <div class="sch-option"> |
|
| 60 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 61 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.sourcNm" /></option>
|
|
| 62 |
+ </select> |
|
| 63 |
+ </div> |
|
| 64 |
+ <div class="sch"> |
|
| 65 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 66 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 67 |
+ </div> |
|
| 68 |
+ </div> |
|
| 69 |
+ </form> |
|
| 70 |
+ </div> |
|
| 71 |
+</div> |
|
| 54 | 72 |
|
| 55 | 73 |
|
| 56 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 57 |
- |
|
| 58 |
- <table class="chart_board"> |
|
| 59 |
- <colgroup> |
|
| 60 |
- <col class="co1"/> |
|
| 61 |
- <col class="co6"/> |
|
| 62 |
- <c:if test="${searchVO.selectMode ne 'Y'}"><col class="co6"/></c:if>
|
|
| 63 |
- <col class="co3"/> |
|
| 64 |
- <col class="co6"/> |
|
| 65 |
- <c:if test="${USER_INFO.userSe > 10}"><col class="co6"/></c:if>
|
|
| 66 |
- <col class="co6"/> |
|
| 67 |
- </colgroup> |
|
| 68 |
- <thead> |
|
| 69 |
- <tr> |
|
| 70 |
- <th>번호</th> |
|
| 71 |
- <th>미리보기</th> |
|
| 72 |
- <c:if test="${searchVO.selectMode ne 'Y'}"><th><spring:message code="cop.sourcSeCode" /></th></c:if>
|
|
| 73 |
- <th><spring:message code="cop.sourcNm" /></th> |
|
| 74 |
- <th>등록일/수정일</th> |
|
| 75 |
- <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 76 |
- <th> |
|
| 77 |
- <c:choose> |
|
| 74 |
+ |
|
| 75 |
+<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 76 |
+<div class="list-type sm"> |
|
| 77 |
+ <table> |
|
| 78 |
+ <colgroup> |
|
| 79 |
+ <col style="width:110px"> |
|
| 80 |
+ <col> |
|
| 81 |
+ <c:if test="${searchVO.selectMode ne 'Y'}"><col style="width:100px"></c:if>
|
|
| 82 |
+ <col> |
|
| 83 |
+ <col style="width:160px"> |
|
| 84 |
+ <c:if test="${USER_INFO.userSe > 10}"><col style="width:160px"></c:if>
|
|
| 85 |
+ <col style="width:130px"> |
|
| 86 |
+ </colgroup> |
|
| 87 |
+ <thead> |
|
| 88 |
+ <tr> |
|
| 89 |
+ <th scope="col">번호</th> |
|
| 90 |
+ <th scope="col">미리보기</th> |
|
| 91 |
+ <c:if test="${searchVO.selectMode ne 'Y'}"><th><spring:message code="cop.sourcSeCode" /></th></c:if>
|
|
| 92 |
+ <th scope="col"><spring:message code="cop.sourcNm" /></th> |
|
| 93 |
+ <th scope="col">등록일/수정일</th> |
|
| 94 |
+ <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 95 |
+ <th scope="col"> |
|
| 96 |
+ <c:set var="type"> |
|
| 97 |
+ <c:choose> |
|
| 78 | 98 |
<c:when test="${searchVO.selectMode eq 'Y'}">선택</c:when>
|
| 79 | 99 |
<c:otherwise>복원</c:otherwise> |
| 80 | 100 |
</c:choose> |
| 81 |
- </th> |
|
| 82 |
- </tr> |
|
| 83 |
- </thead> |
|
| 84 |
- <tbody> |
|
| 85 |
- |
|
| 86 |
- |
|
| 87 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 88 |
- <tr> |
|
| 89 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 90 |
- <td> |
|
| 91 |
- <c:choose> |
|
| 92 |
- <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 93 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 94 |
- </c:choose> |
|
| 95 |
- </td> |
|
| 96 |
- <c:if test="${searchVO.selectMode ne 'Y'}">
|
|
| 97 |
- <td><c:out value="${result.sourcSeCodeNm}"/></td>
|
|
| 98 |
- </c:if> |
|
| 99 |
- <td><c:out value="${result.sourcNm}"/></td>
|
|
| 100 |
- <td> |
|
| 101 |
- <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 102 |
- <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 103 |
- </td> |
|
| 104 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 105 |
- <td> |
|
| 106 |
- <c:url var="viewUrl" value="/mng/cop/com/selectLytSourc.do"> |
|
| 107 |
- <c:param name="lytSourcId" value="${result.lytSourcId}" />
|
|
| 108 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 109 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 110 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 111 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 112 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 113 |
- </c:url> |
|
| 114 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 115 |
- <c:url var="delUrl" value="/mng/cop/com/deleteLytSourc.do"> |
|
| 116 |
- <c:param name="lytSourcId" value="${result.lytSourcId}" />
|
|
| 117 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 118 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 119 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 120 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 121 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 122 |
- </c:url> |
|
| 123 |
- <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 124 |
- </td> |
|
| 101 |
+ </c:set> |
|
| 102 |
+ <c:out value="${type}"/>
|
|
| 103 |
+ </th> |
|
| 104 |
+ </tr> |
|
| 105 |
+ </thead> |
|
| 106 |
+ <tbody> |
|
| 107 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 108 |
+ <tr> |
|
| 109 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 110 |
+ <td data-tit="미리보기"> |
|
| 111 |
+ <c:choose> |
|
| 112 |
+ <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 113 |
+ <c:otherwise><img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 114 |
+ </c:choose> |
|
| 115 |
+ </td> |
|
| 116 |
+ <c:if test="${searchVO.selectMode ne 'Y'}">
|
|
| 117 |
+ <td data-tit="<spring:message code="cop.sourcSeCode" />"><c:out value="${result.sourcSeCodeNm}"/></td>
|
|
| 118 |
+ </c:if> |
|
| 119 |
+ <td data-tit="<spring:message code="cop.sourcNm" />"><c:out value="${result.sourcNm}"/></td>
|
|
| 120 |
+ <td data-tit="등록일/수정일"> |
|
| 121 |
+ <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 122 |
+ <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 123 |
+ </td> |
|
| 124 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 125 |
+ <td data-tit="관리"> |
|
| 126 |
+ <div class="btn-cont"> |
|
| 127 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectLytSourc.do"> |
|
| 128 |
+ <c:param name="lytSourcId" value="${result.lytSourcId}" />
|
|
| 129 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 130 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 131 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 132 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 133 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 134 |
+ </c:url> |
|
| 135 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 136 |
+ |
|
| 137 |
+ <c:url var="delUrl" value="/mng/cop/com/deleteLytSourc.do"> |
|
| 138 |
+ <c:param name="lytSourcId" value="${result.lytSourcId}" />
|
|
| 139 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 140 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 141 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 142 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 143 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 144 |
+ </c:url> |
|
| 145 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제" onclick="fn_egov_delete(this.href);return false;"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 146 |
+ </div> |
|
| 147 |
+ </td> |
|
| 148 |
+ </c:if> |
|
| 149 |
+ <td data-tit="${type}">
|
|
| 150 |
+ <c:choose> |
|
| 151 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">
|
|
| 152 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_selectSourc('<c:out value="${result.lytSourcId}"/>', '<c:out value="${result.sourcNm}"/>', '<c:out value="${result.sourcSeCode}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;">선택</button>
|
|
| 153 |
+ </c:when> |
|
| 154 |
+ <c:otherwise> |
|
| 155 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_view_HisManage('<c:out value="${result.lytSourcId}"/>');return false;">찾기</button>
|
|
| 156 |
+ </c:otherwise> |
|
| 157 |
+ </c:choose> |
|
| 158 |
+ </td> |
|
| 159 |
+ </tr> |
|
| 160 |
+ </c:forEach> |
|
| 161 |
+ |
|
| 162 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 163 |
+ <tr> |
|
| 164 |
+ <td class="" colspan="7"><spring:message code="common.nodata.msg" /></td> |
|
| 165 |
+ </tr> |
|
| 125 | 166 |
</c:if> |
| 126 |
- <td> |
|
| 127 |
- <c:choose> |
|
| 128 |
- <c:when test="${searchVO.selectMode eq 'Y'}"><a href="#" onclick="fn_egov_selectSourc('<c:out value="${result.lytSourcId}"/>', '<c:out value="${result.sourcNm}"/>', '<c:out value="${result.sourcSeCode}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></c:when>
|
|
| 129 |
- <c:otherwise><a href="#" onclick="fn_egov_view_HisManage('<c:out value="${result.lytSourcId}"/>');return false;"><img src="${_IMG}/btn/btn_search02.gif" alt="찾기"/></a></c:otherwise>
|
|
| 130 |
- </c:choose> |
|
| 131 |
- </td> |
|
| 132 |
- </tr> |
|
| 133 |
- </c:forEach> |
|
| 134 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 135 |
- <tr> |
|
| 136 |
- <td colspan="6" ><spring:message code="common.nodata.msg" /></td> |
|
| 137 |
- </tr> |
|
| 138 |
- </c:if> |
|
| 139 |
- |
|
| 140 |
- </tbody> |
|
| 167 |
+ </tbody> |
|
| 141 | 168 |
</table> |
| 142 |
- |
|
| 143 |
- |
|
| 144 |
- |
|
| 145 |
- <div id="paging"> |
|
| 146 |
- <c:url var="pageUrl" value="/mng/cop/com/selectLytSourcList.do?"> |
|
| 147 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 148 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 149 |
- <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 150 |
- <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 151 |
- </c:url> |
|
| 152 |
- |
|
| 153 |
- <ul> |
|
| 154 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 155 |
- </ul> |
|
| 156 |
- </div> |
|
| 157 |
- |
|
| 158 |
- <div id="bbs_search"> |
|
| 159 |
- <form name="frm" action ="<c:url value="/mng/cop/com/selectLytSourcList.do"/>" method="post"> |
|
| 160 |
- <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 161 |
- <input type="hidden" name="searchSourcSeCode" value="sit"/> |
|
| 162 |
- <%-- |
|
| 163 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 164 |
- <select name="searchSourcSeCode" id="searchSourcSeCode" class="searchCate inp"> |
|
| 165 |
- <option value="">분류</option> |
|
| 166 |
- <c:forEach var="result" items="${codeList}" varStatus="status">
|
|
| 167 |
- <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchSourcSeCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 168 |
- </c:forEach> |
|
| 169 |
- </select> |
|
| 170 |
- --%> |
|
| 171 |
- <select name="searchCondition" id="searchCondition"> |
|
| 172 |
- <option value=''>분류검색</option> |
|
| 173 |
- <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.sourcNm" /></option>
|
|
| 174 |
- </select> |
|
| 175 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 176 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 177 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 178 |
- </form> |
|
| 179 |
- </div> |
|
| 180 |
- |
|
| 181 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 182 |
- <div class="btn_r"> |
|
| 183 |
- <c:url var="addUrl" value="/mng/cop/com/addLytSourc.do"> |
|
| 184 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 185 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 186 |
- </c:url> |
|
| 187 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 188 |
- </div> |
|
| 189 |
- </c:if> |
|
| 169 |
+</div> |
|
| 190 | 170 |
|
| 191 |
-</div> |
|
| 171 |
+<c:url var="pageUrl" value="/mng/cop/com/selectLytSourcList.do?"> |
|
| 172 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 173 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 174 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 175 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 176 |
+</c:url> |
|
| 177 |
+<ul class="paging"> |
|
| 178 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 179 |
+</ul> |
|
| 192 | 180 |
|
| 181 |
+<c:if test="${USER_INFO.userSe > 10 and searchVO.selectMode ne 'Y'}">
|
|
| 182 |
+ <div class="fnc-area"> |
|
| 183 |
+ <div class="r-area"> |
|
| 184 |
+ <c:url var="addUrl" value="/mng/cop/com/addLytSourc.do"> |
|
| 185 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 186 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 187 |
+ </c:url> |
|
| 188 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 189 |
+ </div> |
|
| 190 |
+ </div> |
|
| 191 |
+</c:if> |
|
| 192 |
+ |
|
| 193 |
+<c:choose> |
|
| 194 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">
|
|
| 195 |
+ <c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> |
|
| 196 |
+ </c:when> |
|
| 197 |
+ <c:otherwise> |
|
| 198 |
+ <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> |
|
| 199 |
+ </c:otherwise> |
|
| 200 |
+</c:choose> |
|
| 193 | 201 |
|
| 194 | 202 |
<c:choose> |
| 195 | 203 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
|
| 10 | 4 |
<c:set var="_MODE" value=""/> |
| 11 | 5 |
|
... | ... | @@ -41,11 +35,10 @@ |
| 41 | 35 |
</c:otherwise> |
| 42 | 36 |
</c:choose> |
| 43 | 37 |
|
| 44 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 38 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 45 | 39 |
<validator:javascript formName="lytSourcVO" staticJavascript="false" xhtml="true" cdata="false"/> |
| 46 |
- |
|
| 47 |
-<script type="text/javaScript" language="javascript"> |
|
| 48 |
- |
|
| 40 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 41 |
+<script> |
|
| 49 | 42 |
/* ******************************************************** |
| 50 | 43 |
* 저장처리화면 |
| 51 | 44 |
******************************************************** */ |
... | ... | @@ -61,27 +54,29 @@ |
| 61 | 54 |
} |
| 62 | 55 |
} |
| 63 | 56 |
|
| 57 |
+var editor = new Array(2); |
|
| 64 | 58 |
function fn_egov_loadOriginSource() {
|
| 65 |
- |
|
| 66 | 59 |
if(confirm('불러오시겠습니까?')) {
|
| 67 | 60 |
var sourcSeCode = $('#sourcSeCode option:selected').val();
|
| 68 | 61 |
if(!sourcSeCode) {
|
| 69 | 62 |
alert('레이아웃구분을 선택하세요');
|
| 70 | 63 |
return; |
| 71 | 64 |
} |
| 72 |
- |
|
| 73 |
- var url = "${pageContext.request.contextPath}/mng/cop/com/selectLytOriginSource.do?";
|
|
| 65 |
+ |
|
| 66 |
+ var url = "/mng/cop/com/selectLytOriginSource.do?"; |
|
| 74 | 67 |
url += "sourcSeCode=" + $('#sourcSeCode option:selected').val();
|
| 75 |
- |
|
| 68 |
+ |
|
| 76 | 69 |
$.getJSON(url, function(data) {
|
| 77 |
- $('#upendSourc').val(data.upendSourc);
|
|
| 78 |
- $('#lptSourc').val(data.lptSourc);
|
|
| 79 |
- $('#mobileUpendSourc').val(data.mobileUpendSourc);
|
|
| 80 |
- $('#mobileLptSourc').val(data.mobileLptSourc);
|
|
| 81 |
- }) |
|
| 82 |
- .success(function() {})
|
|
| 83 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 84 |
- .complete(function() {});
|
|
| 70 |
+ $('#upendSourc').val(data.upendSourc);
|
|
| 71 |
+ $('#lptSourc').val(data.lptSourc);
|
|
| 72 |
+ //$('#mobileUpendSourc').val(data.mobileUpendSourc);
|
|
| 73 |
+ //$('#mobileLptSourc').val(data.mobileLptSourc);
|
|
| 74 |
+ |
|
| 75 |
+ editor[0].getSession().setValue(data.upendSourc); |
|
| 76 |
+ editor[1].getSession().setValue(data.lptSourc); |
|
| 77 |
+ //editor[2].getSession().setValue(data.mobileUpendSourc); |
|
| 78 |
+ //editor[3].getSession().setValue(data.mobileLptSourc); |
|
| 79 |
+ }); |
|
| 85 | 80 |
} |
| 86 | 81 |
} |
| 87 | 82 |
|
... | ... | @@ -90,25 +85,29 @@ |
| 90 | 85 |
url = url + "selectMode=Y"; |
| 91 | 86 |
url = url + "&searchSourcSeCode=" + $('#sourcSeCode').val();
|
| 92 | 87 |
|
| 93 |
- var win = window.open(url ,'lytSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 88 |
+ var win = window.open(url ,'lytSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=1300,height=650'); |
|
| 94 | 89 |
if(win != null) {
|
| 95 | 90 |
win.focus(); |
| 96 | 91 |
} |
| 97 | 92 |
} |
| 98 | 93 |
|
| 99 | 94 |
function fn_egov_updateSourc(id, nm, fileNm) {
|
| 95 |
+ alert(11111); |
|
| 96 |
+ |
|
| 100 | 97 |
var url = "${pageContext.request.contextPath}/mng/cop/com/selectLytCopySource.do?";
|
| 101 | 98 |
url += "lytSourcId=" + id; |
| 102 |
- |
|
| 99 |
+ |
|
| 103 | 100 |
$.getJSON(url, function(data) {
|
| 104 | 101 |
$('#upendSourc').val(data.upendSourc);
|
| 105 |
- $('#lptSourc').val(data.lptSourc);
|
|
| 106 |
- $('#mobileUpendSourc').val(data.mobileUpendSourc);
|
|
| 107 |
- $('#mobileLptSourc').val(data.mobileLptSourc);
|
|
| 108 |
- }) |
|
| 109 |
- .success(function() {})
|
|
| 110 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 111 |
- .complete(function() {});
|
|
| 102 |
+ $('#lptSourc').val(data.lptSourc);
|
|
| 103 |
+ //$('#mobileUpendSourc').val(data.mobileUpendSourc);
|
|
| 104 |
+ //$('#mobileLptSourc').val(data.mobileLptSourc);
|
|
| 105 |
+ |
|
| 106 |
+ editor[0].getSession().setValue(data.upendSourc); |
|
| 107 |
+ editor[1].getSession().setValue(data.lptSourc); |
|
| 108 |
+ //editor[2].getSession().setValue(data.mobileUpendSourc); |
|
| 109 |
+ //editor[3].getSession().setValue(data.mobileLptSourc); |
|
| 110 |
+ }); |
|
| 112 | 111 |
} |
| 113 | 112 |
|
| 114 | 113 |
function fnTabView(idx) {
|
... | ... | @@ -120,163 +119,156 @@ |
| 120 | 119 |
$('#tab01').hide();
|
| 121 | 120 |
$('#tab02').hide();
|
| 122 | 121 |
$('#tab' + idx).show();
|
| 123 |
- |
|
| 124 | 122 |
} |
| 125 | 123 |
|
| 126 | 124 |
$(document).ready( function() {
|
| 127 | 125 |
|
| 128 | 126 |
$('#tab02').hide();
|
| 129 | 127 |
$('#sourcNm').focus();
|
| 130 |
- |
|
| 128 |
+ |
|
| 129 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 130 |
+ var textarea = $(this); |
|
| 131 |
+ var mode = textarea.attr("lang");
|
|
| 132 |
+ var editDiv = $("<div>", {
|
|
| 133 |
+ position: "absolute", |
|
| 134 |
+ width:"100%", |
|
| 135 |
+ height:textarea.height() |
|
| 136 |
+ }).insertBefore(textarea); |
|
| 137 |
+ |
|
| 138 |
+ textarea.css("display", "none");
|
|
| 139 |
+ |
|
| 140 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 141 |
+ editor[idx].setFontSize("11px");
|
|
| 142 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 143 |
+ editor[idx].setTheme("ace/theme/chrome");
|
|
| 144 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 145 |
+ |
|
| 146 |
+ textarea.closest("#lytSourcVO").submit(function() {
|
|
| 147 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 148 |
+ }); |
|
| 149 |
+ }); |
|
| 131 | 150 |
}); |
| 132 | 151 |
|
| 133 | 152 |
</script> |
| 134 | 153 |
|
| 135 |
-<style type="text/css"> |
|
| 136 |
-<!-- |
|
| 137 |
-.conf_top{overflow:hidden;}
|
|
| 138 |
-.tab_menu{right:0;z-index:1000;}
|
|
| 139 |
-.tab_menu li{float:left;background:#f8f8f8;width:150px;height:30px;text-align:center;border:1px solid #ccc;}
|
|
| 140 |
-.tab_menu li a{display:block;padding:8px 0px;height:30px;}
|
|
| 141 |
-.tab_menu li a:hover, .tab_menu li a.active{background:url('${_IMG}/tab_over.gif') 0 0 repeat;padding:8px 0px;height:15px;font-weight:bold;color:#32688c;}
|
|
| 142 |
-.cont{position:relative;width:100%;border-top:1px solid #ccc;padding:0px 0;z-index:1001;}
|
|
| 143 |
-.cont table{width:100%;}
|
|
| 144 |
---> |
|
| 145 |
-</style> |
|
| 154 |
+<form:form commandName="lytSourcVO" name="lytSourcVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 155 |
+ <form:hidden path="lytSourcId"/> |
|
| 156 |
+ <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 157 |
+ <input name="searchSourcSeCode" type="hidden" value="<c:out value='${searchVO.searchSourcSeCode}'/>"/>
|
|
| 158 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 159 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 160 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 146 | 161 |
|
| 147 |
-<div id="cntnts"> |
|
| 148 |
- <form:form commandName="lytSourcVO" name="lytSourcVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 149 |
- <form:hidden path="lytSourcId"/> |
|
| 150 |
- <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 151 |
- <input name="searchSourcSeCode" type="hidden" value="<c:out value='${searchVO.searchSourcSeCode}'/>"/>
|
|
| 152 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 153 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 154 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 155 |
- |
|
| 156 |
- <fieldset> |
|
| 157 |
- <legend class="hdn">레이아웃 입력 폼</legend> |
|
| 158 |
- |
|
| 159 |
- <a href="#" onclick="fn_egov_loadOriginSource(); return false;"><img src="${_IMG}/btn/btn_basic_sauce.gif" alt="기본레이아웃 불러오기"/></a>
|
|
| 160 |
- <a href="#" onclick="fn_egov_selectSourc(); return false;"><img src="${_IMG}/btn/btn_sauce_copy.gif" alt="레이아웃 복사하기"/></a>
|
|
| 161 |
- |
|
| 162 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 163 |
- <caption> </caption> |
|
| 164 |
- <colgroup> |
|
| 165 |
- <col width="150px" /> |
|
| 166 |
- <col width="*" /> |
|
| 167 |
- </colgroup> |
|
| 168 |
- <tbody> |
|
| 169 |
- <tr> |
|
| 170 |
- <th><em>*</em> <label for="sourcLcasCode"><spring:message code="cop.sourcSeCode" /></label></th> |
|
| 171 |
- <td> |
|
| 172 |
- <form:select path="sourcSeCode"> |
|
| 173 |
- <form:option value="">선택</form:option> |
|
| 174 |
- <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 175 |
- </form:select> |
|
| 176 |
- <div><form:errors path="sourcSeCode"/></div> |
|
| 177 |
- </td> |
|
| 178 |
- </tr> |
|
| 179 |
- <tr> |
|
| 180 |
- <th><em>*</em> <label for="sourcNm"><spring:message code="cop.sourcNm" /></label></th> |
|
| 181 |
- <td> |
|
| 182 |
- <form:input path="sourcNm" size="70" maxlength="70" cssClass="inp_long" /> |
|
| 183 |
- <div><form:errors path="sourcNm"/></div> |
|
| 184 |
- </td> |
|
| 185 |
- </tr> |
|
| 186 |
- <tr> |
|
| 187 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 188 |
- <td> |
|
| 189 |
- <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" title="미리보기이미지" class="input300 inp" > |
|
| 190 |
- <c:if test="${_MODE eq 'UPT'}">
|
|
| 191 |
- <br><c:choose> |
|
| 192 |
- <c:when test="${not empty lytSourcVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 193 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 194 |
- </c:choose> |
|
| 195 |
- </c:if> |
|
| 196 |
- </td> |
|
| 197 |
- </tr> |
|
| 198 |
- <tr> |
|
| 199 |
- <th><label>HTML</label></th> |
|
| 200 |
- <td> |
|
| 201 |
- <div class="conf_top"> |
|
| 202 |
- <ul class="tab_menu"> |
|
| 203 |
- <li><a href="#tab1" id="tabLink01" onclick="fnTabView('01');return false;" class="active">WEB</a></li>
|
|
| 204 |
- </ul> |
|
| 205 |
- </div> |
|
| 206 |
- |
|
| 207 |
- <div id="tab01" class="cont"> |
|
| 162 |
+ <fieldset> |
|
| 163 |
+ <legend class="hdn">레이아웃 입력 폼</legend> |
|
| 164 |
+ |
|
| 165 |
+ <div class="fnc-area"> |
|
| 166 |
+ <div class="l-area"> |
|
| 167 |
+ <button class="btn-sm spot2" onclick="fn_egov_selectSourc(); return false;">레이아웃 복사하기</button> |
|
| 168 |
+ </div> |
|
| 169 |
+ </div> |
|
| 170 |
+ |
|
| 171 |
+ <div class="write-type"> |
|
| 172 |
+ <table> |
|
| 173 |
+ <colgroup> |
|
| 174 |
+ <col style="width:250px" /> |
|
| 175 |
+ <col /> |
|
| 176 |
+ </colgroup> |
|
| 177 |
+ <tbody> |
|
| 178 |
+ <tr> |
|
| 179 |
+ <th><label for="sourcSeCode"><spring:message code="cop.sourcSeCode" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 180 |
+ <td> |
|
| 181 |
+ <div class="selectbox"> |
|
| 182 |
+ <form:select path="sourcSeCode"> |
|
| 183 |
+ <form:option value="">선택</form:option> |
|
| 184 |
+ <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 185 |
+ </form:select> |
|
| 186 |
+ </div> |
|
| 187 |
+ <div><form:errors path="sourcSeCode"/></div> |
|
| 188 |
+ </td> |
|
| 189 |
+ </tr> |
|
| 190 |
+ |
|
| 191 |
+ <tr> |
|
| 192 |
+ <th><label for="sourcNm"><spring:message code="cop.sourcNm" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 193 |
+ <td> |
|
| 194 |
+ <form:input path="sourcNm" size="70" maxlength="70" cssClass="q1" /> |
|
| 195 |
+ <div><form:errors path="sourcNm"/></div> |
|
| 196 |
+ </td> |
|
| 197 |
+ </tr> |
|
| 198 |
+ <tr> |
|
| 199 |
+ <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 200 |
+ <td> |
|
| 201 |
+ <div class="file-add-txt-area"> |
|
| 202 |
+ <div class="file-custom"> |
|
| 203 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"> |
|
| 204 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 205 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 206 |
+ </div> |
|
| 207 |
+ </div> |
|
| 208 |
+ <c:if test="${_MODE eq 'UPT'}">
|
|
| 209 |
+ <ul class="file-list"> |
|
| 210 |
+ <c:choose> |
|
| 211 |
+ <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 212 |
+ <li> |
|
| 213 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 214 |
+ <button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
|
| 215 |
+ </li> |
|
| 216 |
+ </c:when> |
|
| 217 |
+ <c:otherwise> |
|
| 218 |
+ <li> |
|
| 219 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 220 |
+ </li> |
|
| 221 |
+ </c:otherwise> |
|
| 222 |
+ </c:choose> |
|
| 223 |
+ </ul> |
|
| 224 |
+ </c:if> |
|
| 225 |
+ </td> |
|
| 226 |
+ </tr> |
|
| 227 |
+ <tr> |
|
| 228 |
+ <th><label for="upendSourc">HTML</label></th> |
|
| 229 |
+ <td> |
|
| 208 | 230 |
<table> |
| 209 |
- <caption>등록폼</caption> |
|
| 210 | 231 |
<colgroup> |
| 211 | 232 |
<col width="130"/> |
| 212 | 233 |
<col/> |
| 213 | 234 |
</colgroup> |
| 214 |
- <tbody> |
|
| 215 |
- <tr> |
|
| 216 |
- <th><label for="upendSourc"><spring:message code="cop.upendSourc" /></label></th> |
|
| 217 |
- <td> |
|
| 218 |
- <form:textarea path="upendSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 219 |
- <div><form:errors path="upendSourc"/></div> |
|
| 220 |
- </td> |
|
| 221 |
- </tr> |
|
| 222 |
- <tr> |
|
| 223 |
- <th><label for="lptSourc"><spring:message code="cop.lptSourc" /></label></th> |
|
| 224 |
- <td> |
|
| 225 |
- <form:textarea path="lptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 226 |
- <div><form:errors path="lptSourc"/></div> |
|
| 227 |
- </td> |
|
| 228 |
- </tr> |
|
| 229 |
- </tbody> |
|
| 235 |
+ <tbody> |
|
| 236 |
+ <tr> |
|
| 237 |
+ <th><label for="upendSourc"><spring:message code="cop.upendSourc" /></label></th> |
|
| 238 |
+ <td> |
|
| 239 |
+ <form:textarea path="upendSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="jsp"/> |
|
| 240 |
+ <div><form:errors path="upendSourc"/></div> |
|
| 241 |
+ </td> |
|
| 242 |
+ </tr> |
|
| 243 |
+ <tr> |
|
| 244 |
+ <th><label for="lptSourc"><spring:message code="cop.lptSourc" /></label></th> |
|
| 245 |
+ <td> |
|
| 246 |
+ <form:textarea path="lptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="jsp"/> |
|
| 247 |
+ <div><form:errors path="lptSourc"/></div> |
|
| 248 |
+ </td> |
|
| 249 |
+ </tr> |
|
| 250 |
+ </tbody> |
|
| 230 | 251 |
</table> |
| 231 |
- </div> |
|
| 232 |
- <div id="tab02" class="cont" style="visibility:hidden;height:0px;position:absolute;top:0;left:0;z-index:-1;"> |
|
| 233 |
- <table> |
|
| 234 |
- <caption>등록폼</caption> |
|
| 235 |
- <colgroup> |
|
| 236 |
- <col width="130"/> |
|
| 237 |
- <col/> |
|
| 238 |
- </colgroup> |
|
| 239 |
- <tbody> |
|
| 240 |
- <tr> |
|
| 241 |
- <th><label for="mobileUpendSourc"><spring:message code="cop.upendSourc" /></label></th> |
|
| 242 |
- <td> |
|
| 243 |
- <form:textarea path="mobileUpendSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 244 |
- <div><form:errors path="mobileUpendSourc"/></div> |
|
| 245 |
- </td> |
|
| 246 |
- </tr> |
|
| 247 |
- <tr> |
|
| 248 |
- <th><label for="mobileLptSourc"><spring:message code="cop.lptSourc" /></label></th> |
|
| 249 |
- <td> |
|
| 250 |
- <form:textarea path="mobileLptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 251 |
- <div><form:errors path="mobileLptSourc"/></div> |
|
| 252 |
- </td> |
|
| 253 |
- </tr> |
|
| 254 |
- </tbody> |
|
| 255 |
- </table> |
|
| 256 |
- </div> |
|
| 257 |
- </td> |
|
| 258 |
- </tr> |
|
| 259 |
- </tbody> |
|
| 260 |
- <tfoot> |
|
| 261 |
- </tfoot> |
|
| 262 |
- </table> |
|
| 263 |
- |
|
| 264 |
- <div class="btn_r"> |
|
| 265 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/>
|
|
| 266 |
- <c:url var="listUrl" value="/mng/cop/com/selectLytSourcList.do"> |
|
| 267 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 268 |
- <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 269 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 252 |
+ </td> |
|
| 253 |
+ </tr> |
|
| 254 |
+ </tbody> |
|
| 255 |
+ </table> |
|
| 256 |
+ </div> |
|
| 257 |
+ |
|
| 258 |
+ <div class="btn-cont"> |
|
| 259 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 260 |
+ <c:url var="listUrl" value="/mng/cop/com/selectLytSourcList.do"> |
|
| 261 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 262 |
+ <c:param name="searchSourcSeCode" value="${searchVO.searchSourcSeCode}" />
|
|
| 263 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 270 | 264 |
<c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
| 271 | 265 |
<c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
| 272 |
- </c:url> |
|
| 273 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 274 |
- </div> |
|
| 275 |
- |
|
| 276 |
- </fieldset> |
|
| 277 |
- </form:form> |
|
| 266 |
+ </c:url> |
|
| 267 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 268 |
+ </div> |
|
| 269 |
+ </fieldset> |
|
| 270 |
+</form:form> |
|
| 278 | 271 |
|
| 279 |
- </div> |
|
| 280 | 272 |
|
| 281 | 273 |
<c:choose> |
| 282 | 274 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryList.jsp
... | ... | @@ -1,23 +1,14 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 8 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 9 |
-<c:set var="_C_IMG" value="/template/common/images"/> |
|
| 10 |
-<c:set var="_C_JS" value="/template/common/js"/> |
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 12 | 4 |
<c:set var="_PREFIX" value="/mng/cop/bbs"/> |
| 13 | 5 |
|
| 14 | 6 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 15 | 7 |
<c:param name="title" value="템플릿 복원"/> |
| 16 | 8 |
</c:import> |
| 17 | 9 |
|
| 18 |
-<script type="text/javascript" language="javascript"> |
|
| 10 |
+<script> |
|
| 19 | 11 |
function fn_egov_Rollback(id){
|
| 20 |
- |
|
| 21 | 12 |
if(confirm("복원하시겠습니까?")){
|
| 22 | 13 |
document.location.href = "/mng/cop/com/updateLytTemplateRollBack.do?lytTmplatId=${searchVO.lytTmplatId}&lytTmplatHistId=" + id;
|
| 23 | 14 |
} |
... | ... | @@ -26,64 +17,56 @@ |
| 26 | 17 |
<c:if test="${rollbackComplete eq 'Y'}">
|
| 27 | 18 |
alert('복원이 완료 되었습니다.');
|
| 28 | 19 |
</c:if> |
| 29 |
- |
|
| 30 | 20 |
</script> |
| 31 | 21 |
|
| 32 |
-<div id="cntnts"> |
|
| 33 |
- |
|
| 34 |
- |
|
| 35 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 36 |
- |
|
| 37 |
- <table class="chart_board"> |
|
| 38 |
- <colgroup> |
|
| 39 |
- <col class="co1"/> |
|
| 40 |
- <col class="co3"/> |
|
| 41 |
- <col class="co6"/> |
|
| 42 |
- </colgroup> |
|
| 43 |
- <thead> |
|
| 44 |
- <tr> |
|
| 45 |
- <th>번호</th> |
|
| 46 |
- <th>변경일자</th> |
|
| 47 |
- <th>복원</th> |
|
| 48 |
- </tr> |
|
| 49 |
- </thead> |
|
| 50 |
- <tbody> |
|
| 51 |
- |
|
| 52 |
- |
|
| 53 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 54 |
- <tr> |
|
| 55 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 56 |
- <td> |
|
| 57 |
- <c:url var="viewUrl" value="/mng/cop/com/selectLytTemplateHistory.do"> |
|
| 58 |
- <c:param name="lytTmplatHistId" value="${result.lytTmplatHistId}" />
|
|
| 59 |
- <c:param name="lytTmplatId" value="${searchVO.lytTmplatId}" />
|
|
| 60 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 61 |
- </c:url> |
|
| 62 |
- <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 63 |
- </td> |
|
| 64 |
- <td><a href="#" onclick="fn_egov_Rollback('${result.lytTmplatHistId}'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 65 |
- </tr> |
|
| 66 |
- </c:forEach> |
|
| 67 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 68 |
- <tr> |
|
| 69 |
- <td colspan="3" ><spring:message code="common.nodata.msg" /></td> |
|
| 70 |
- </tr> |
|
| 71 |
- </c:if> |
|
| 72 |
- |
|
| 73 |
- </tbody> |
|
| 74 |
- </table> |
|
| 75 |
- |
|
| 76 |
- |
|
| 77 |
- <div id="paging"> |
|
| 78 |
- <c:url var="pageUrl" value="/mng/cop/com/selectLytTemplateHistoryList.do"> |
|
| 79 |
- <c:param name="lytTmplatId" value="${searchVO.lytTmplatId}" />
|
|
| 80 |
- </c:url> |
|
| 81 |
- |
|
| 82 |
- <ul> |
|
| 83 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 84 |
- </ul> |
|
| 85 |
- </div> |
|
| 86 | 22 |
|
| 87 |
-</div> |
|
| 23 |
+<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 24 |
+<div class="list-type sm"> |
|
| 25 |
+ <table> |
|
| 26 |
+ <colgroup> |
|
| 27 |
+ <col style="width:110px"> |
|
| 28 |
+ <col> |
|
| 29 |
+ <col style="width:130px"> |
|
| 30 |
+ </colgroup> |
|
| 31 |
+ <thead> |
|
| 32 |
+ <tr> |
|
| 33 |
+ <th scope="col">번호</th> |
|
| 34 |
+ <th scope="col">변경일자</th> |
|
| 35 |
+ <th scope="col">복원</th> |
|
| 36 |
+ </tr> |
|
| 37 |
+ </thead> |
|
| 38 |
+ <tbody> |
|
| 39 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 40 |
+ <tr> |
|
| 41 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 42 |
+ <td data-tit="변경일자"> |
|
| 43 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectLytTemplateHistory.do"> |
|
| 44 |
+ <c:param name="lytTmplatHistId" value="${result.lytTmplatHistId}" />
|
|
| 45 |
+ <c:param name="lytTmplatId" value="${searchVO.lytTmplatId}" />
|
|
| 46 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 47 |
+ </c:url> |
|
| 48 |
+ <a href="${viewUrl}"><fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd HH:mm:ss"/></a>
|
|
| 49 |
+ </td> |
|
| 50 |
+ <td data-tit="복원"> |
|
| 51 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_Rollback('${result.lytTmplatHistId}'); return false;">선택</button>
|
|
| 52 |
+ </td> |
|
| 53 |
+ |
|
| 54 |
+ </tr> |
|
| 55 |
+ </c:forEach> |
|
| 56 |
+ |
|
| 57 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 58 |
+ <tr> |
|
| 59 |
+ <td class="" colspan="3"><spring:message code="common.nodata.msg" /></td> |
|
| 60 |
+ </tr> |
|
| 61 |
+ </c:if> |
|
| 62 |
+ </tbody> |
|
| 63 |
+ </table> |
|
| 64 |
+</div> |
|
| 65 |
+<c:url var="pageUrl" value="/mng/cop/com/selectLytTemplateHistoryList.do"> |
|
| 66 |
+ <c:param name="lytTmplatId" value="${searchVO.lytTmplatId}" />
|
|
| 67 |
+</c:url> |
|
| 68 |
+<ul class="paging"> |
|
| 69 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 70 |
+</ul> |
|
| 88 | 71 |
|
| 89 | 72 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryView.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateHistoryView.jsp
... | ... | @@ -1,18 +1,12 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 9 |
- |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> |
| 12 | 5 |
<c:param name="title" value="템플릿 복원"/> |
| 13 | 6 |
</c:import> |
| 14 | 7 |
|
| 15 |
-<script type="text/javascript"> |
|
| 8 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 9 |
+<script> |
|
| 16 | 10 |
function fnTabView(idx) {
|
| 17 | 11 |
|
| 18 | 12 |
$('#tabLink01').removeClass('active');
|
... | ... | @@ -26,132 +20,114 @@ |
| 26 | 20 |
} |
| 27 | 21 |
|
| 28 | 22 |
$(document).ready( function() {
|
| 29 |
- |
|
| 30 | 23 |
$('#tab02').hide();
|
| 31 | 24 |
$('#tmplatNm').focus();
|
| 32 |
- |
|
| 25 |
+ |
|
| 26 |
+ var editor = new Array(2); |
|
| 27 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 28 |
+ var textarea = $(this); |
|
| 29 |
+ var mode = textarea.attr("lang");
|
|
| 30 |
+ var editDiv = $("<div>", {
|
|
| 31 |
+ position: "absolute", |
|
| 32 |
+ width:"100%", |
|
| 33 |
+ height:textarea.height() |
|
| 34 |
+ }).insertBefore(textarea); |
|
| 35 |
+ |
|
| 36 |
+ textarea.css("display", "none");
|
|
| 37 |
+ |
|
| 38 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 39 |
+ editor[idx].setFontSize("11px");
|
|
| 40 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 41 |
+ editor[idx].setTheme("ace/theme/clouds");
|
|
| 42 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 43 |
+ |
|
| 44 |
+ textarea.closest("#lytTmplatVO").submit(function() {
|
|
| 45 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 46 |
+ }); |
|
| 47 |
+ }); |
|
| 33 | 48 |
}); |
| 34 | 49 |
|
| 35 | 50 |
</script> |
| 36 | 51 |
|
| 37 |
-<style type="text/css"> |
|
| 38 |
-<!-- |
|
| 39 |
-.conf_top{overflow:hidden;}
|
|
| 40 |
-.tab_menu{right:0;z-index:1000;}
|
|
| 41 |
-.tab_menu li{float:left;background:#f8f8f8;width:150px;height:30px;text-align:center;border:1px solid #ccc;}
|
|
| 42 |
-.tab_menu li a{display:block;padding:8px 0px;height:30px;}
|
|
| 43 |
-.tab_menu li a:hover, .tab_menu li a.active{background:url('${_IMG}/tab_over.gif') 0 0 repeat;padding:8px 0px;height:15px;font-weight:bold;color:#32688c;}
|
|
| 44 |
-.cont{position:relative;width:100%;border-top:1px solid #ccc;padding:0px 0;z-index:1001;}
|
|
| 45 |
-.cont table{width:100%;}
|
|
| 46 |
---> |
|
| 47 |
-</style> |
|
| 48 | 52 |
|
| 49 | 53 |
|
| 50 |
-<div id="cntnts"> |
|
| 51 |
- |
|
| 52 |
- <form:form commandName="lytTmplatVO" name="lytTmplatVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 53 |
- <form:hidden path="lytTmplatId"/> |
|
| 54 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 55 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 56 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 57 |
- |
|
| 58 |
- <fieldset> |
|
| 59 |
- <legend class="hdn">템플릿 입력 폼</legend> |
|
| 60 |
- |
|
| 61 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 62 |
- <caption> </caption> |
|
| 63 |
- <colgroup> |
|
| 64 |
- <col width="150px" /> |
|
| 65 |
- <col width="*" /> |
|
| 66 |
- </colgroup> |
|
| 67 |
- <tbody> |
|
| 68 |
- <tr> |
|
| 69 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 70 |
- <td> |
|
| 71 |
- <c:choose> |
|
| 72 |
- <c:when test="${not empty lytTmplatVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}/${lytTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}/${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 73 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 74 |
- </c:choose> |
|
| 75 |
- </td> |
|
| 76 |
- </tr> |
|
| 77 |
- <tr> |
|
| 78 |
- <th><label>HTML</label></th> |
|
| 79 |
- <td> |
|
| 80 |
- <div class="conf_top"> |
|
| 81 |
- <ul class="tab_menu"> |
|
| 82 |
- <li><a href="#tab1" id="tabLink01" onclick="fnTabView('01');return false;" class="active">WEB</a></li>
|
|
| 54 |
+<form:form commandName="lytTmplatVO" name="lytTmplatVO" action="" method="post" enctype="multipart/form-data" onsubmit="return false;"> |
|
| 55 |
+ <form:hidden path="lytTmplatId"/> |
|
| 56 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 57 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 58 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 59 |
+ |
|
| 60 |
+ <fieldset> |
|
| 61 |
+ <legend class="hdn">템플릿 입력 폼</legend> |
|
| 62 |
+ |
|
| 63 |
+ <div class="write-type"> |
|
| 64 |
+ <table> |
|
| 65 |
+ <colgroup> |
|
| 66 |
+ <col style="width:250px" /> |
|
| 67 |
+ <col /> |
|
| 68 |
+ </colgroup> |
|
| 69 |
+ <tbody> |
|
| 70 |
+ <tr> |
|
| 71 |
+ <th>미리보기이미지</th> |
|
| 72 |
+ <td> |
|
| 73 |
+ <ul class="file-list"> |
|
| 74 |
+ <c:choose> |
|
| 75 |
+ <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 76 |
+ <li> |
|
| 77 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 78 |
+ </li> |
|
| 79 |
+ </c:when> |
|
| 80 |
+ <c:otherwise> |
|
| 81 |
+ <li> |
|
| 82 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 83 |
+ </li> |
|
| 84 |
+ </c:otherwise> |
|
| 85 |
+ </c:choose> |
|
| 83 | 86 |
</ul> |
| 84 |
- </div> |
|
| 85 |
- |
|
| 86 |
- <div id="tab01" class="cont"> |
|
| 87 |
+ </td> |
|
| 88 |
+ </tr> |
|
| 89 |
+ <tr> |
|
| 90 |
+ <th><label for="cssSourc">HTML</label></th> |
|
| 91 |
+ <td> |
|
| 87 | 92 |
<table> |
| 88 | 93 |
<caption>등록폼</caption> |
| 89 | 94 |
<colgroup> |
| 90 | 95 |
<col width="130"/> |
| 91 | 96 |
<col/> |
| 92 | 97 |
</colgroup> |
| 93 |
- <tbody> |
|
| 94 |
- <tr> |
|
| 95 |
- <th><label for="cssSourc">스타일시트</label></th> |
|
| 96 |
- <td> |
|
| 97 |
- <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 98 |
- <div><form:errors path="cssSourc"/></div> |
|
| 99 |
- </td> |
|
| 100 |
- </tr> |
|
| 101 |
- <tr> |
|
| 102 |
- <th><label for="scriptSourc">자바스크립트</label></th> |
|
| 103 |
- <td> |
|
| 104 |
- <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 105 |
- <div><form:errors path="scriptSourc"/></div> |
|
| 106 |
- </td> |
|
| 107 |
- </tr> |
|
| 108 |
- </tbody> |
|
| 98 |
+ <tbody> |
|
| 99 |
+ <tr> |
|
| 100 |
+ <th><label for="cssSourc">스타일시트</label></th> |
|
| 101 |
+ <td> |
|
| 102 |
+ <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="css"/> |
|
| 103 |
+ <div><form:errors path="cssSourc"/></div> |
|
| 104 |
+ </td> |
|
| 105 |
+ </tr> |
|
| 106 |
+ <tr> |
|
| 107 |
+ <th><label for="scriptSourc">자바스크립트</label></th> |
|
| 108 |
+ <td> |
|
| 109 |
+ <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="javascript"/> |
|
| 110 |
+ <div><form:errors path="scriptSourc"/></div> |
|
| 111 |
+ </td> |
|
| 112 |
+ </tr> |
|
| 113 |
+ </tbody> |
|
| 109 | 114 |
</table> |
| 110 |
- </div> |
|
| 111 |
- <div id="tab02" class="cont" style="visibility:hidden;height:0px;position:absolute;top:0;left:0;z-index:-1;"> |
|
| 112 |
- <table> |
|
| 113 |
- <caption>등록폼</caption> |
|
| 114 |
- <colgroup> |
|
| 115 |
- <col width="130"/> |
|
| 116 |
- <col/> |
|
| 117 |
- </colgroup> |
|
| 118 |
- <tbody> |
|
| 119 |
- <th><label for="mobileCssSourc">스타일시트</label></th> |
|
| 120 |
- <td> |
|
| 121 |
- <form:textarea path="mobileCssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 122 |
- <div><form:errors path="mobileCssSourc"/></div> |
|
| 123 |
- </td> |
|
| 124 |
- </tr> |
|
| 125 |
- <tr> |
|
| 126 |
- <th><label for="mobileScriptSourc">자바스크립트</label></th> |
|
| 127 |
- <td> |
|
| 128 |
- <form:textarea path="mobileScriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 129 |
- <div><form:errors path="mobileScriptSourc"/></div> |
|
| 130 |
- </td> |
|
| 131 |
- </tr> |
|
| 132 |
- </tbody> |
|
| 133 |
- </table> |
|
| 134 |
- </div> |
|
| 135 |
- </td> |
|
| 136 |
- </tr> |
|
| 137 |
- </tbody> |
|
| 138 |
- <tfoot> |
|
| 139 |
- </tfoot> |
|
| 140 |
- </table> |
|
| 141 |
- |
|
| 142 |
- <div class="btn_r"> |
|
| 143 |
- <c:url var="listUrl" value="/mng/cop/com/selectLytTemplateHistoryList.do"> |
|
| 144 |
- <c:param name="lytTmplatId" value="${searchVO.lytTmplatId}" />
|
|
| 145 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 115 |
+ </td> |
|
| 116 |
+ </tr> |
|
| 117 |
+ </tbody> |
|
| 118 |
+ </table> |
|
| 119 |
+ </div> |
|
| 120 |
+ |
|
| 121 |
+ <div class="btn-cont"> |
|
| 122 |
+ <c:url var="listUrl" value="/mng/cop/com/selectLytTemplateHistoryList.do"> |
|
| 123 |
+ <c:param name="lytTmplatId" value="${searchVO.lytTmplatId}" />
|
|
| 124 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 146 | 125 |
<c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
| 147 | 126 |
<c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
| 148 |
- </c:url> |
|
| 149 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 150 |
- </div> |
|
| 151 |
- |
|
| 152 |
- </fieldset> |
|
| 153 |
- </form:form> |
|
| 154 |
- |
|
| 155 |
- </div> |
|
| 127 |
+ </c:url> |
|
| 128 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 129 |
+ </div> |
|
| 130 |
+ </fieldset> |
|
| 131 |
+</form:form> |
|
| 156 | 132 |
|
| 157 | 133 |
<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateList.jsp
... | ... | @@ -1,12 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 5 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 8 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 9 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 | 4 |
<c:choose> |
| 12 | 5 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
... | ... | @@ -25,39 +18,13 @@ |
| 25 | 18 |
</c:choose> |
| 26 | 19 |
|
| 27 | 20 |
|
| 28 |
-<script type="text/javascript" language="javascript"> |
|
| 21 |
+<script> |
|
| 29 | 22 |
function fn_egov_delete(url){
|
| 30 | 23 |
|
| 31 | 24 |
if(confirm("삭제하시겠습니까?")){
|
| 32 | 25 |
document.location.href = url; |
| 33 | 26 |
} |
| 34 | 27 |
} |
| 35 |
- |
|
| 36 |
-/* 아이디 중복체크 */ |
|
| 37 |
-$("#userIdCheck").click(function () {
|
|
| 38 |
- if($("#userId").val().length > 0) {
|
|
| 39 |
- $.ajax({
|
|
| 40 |
- type:"post", |
|
| 41 |
- dataType:"json", |
|
| 42 |
- url:"/mbr/checkIdDplct.json", |
|
| 43 |
- data:"userId="+$("#userId").val(),
|
|
| 44 |
- success: function(data) {
|
|
| 45 |
- if(data.checkIdDplct == "0") {
|
|
| 46 |
- $("input[name=checkedId]").val($("#userId").val());
|
|
| 47 |
- alert("사용 할 수 있습니다.");
|
|
| 48 |
- }else {
|
|
| 49 |
- alert("이미 사용중입니다.");
|
|
| 50 |
- } |
|
| 51 |
- }, |
|
| 52 |
- error:function() {
|
|
| 53 |
- //alert("error");
|
|
| 54 |
- } |
|
| 55 |
- }); |
|
| 56 |
- }else {
|
|
| 57 |
- alert("아이디를 입력하세요");
|
|
| 58 |
- } |
|
| 59 |
- return false; |
|
| 60 |
-}); |
|
| 61 | 28 |
|
| 62 | 29 |
function fn_egov_view_HisManage(id) {
|
| 63 | 30 |
var url = "/mng/cop/com/selectLytTemplateHistoryList.do?"; |
... | ... | @@ -76,7 +43,7 @@ |
| 76 | 43 |
} |
| 77 | 44 |
}); |
| 78 | 45 |
*/ |
| 79 |
- var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=760,height=650'); |
|
| 46 |
+ var win = window.open(url ,'his',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); |
|
| 80 | 47 |
if(win != null) {
|
| 81 | 48 |
win.focus(); |
| 82 | 49 |
} |
... | ... | @@ -87,165 +54,170 @@ |
| 87 | 54 |
window.close(); |
| 88 | 55 |
} |
| 89 | 56 |
</script> |
| 57 |
+<div class="fnc-area"> |
|
| 58 |
+ <div class="r-area"> |
|
| 59 |
+ <form name="frm" action ="<c:url value="/mng/cop/com/selectLytTemplateList.do"/>" method="post"> |
|
| 60 |
+ <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 61 |
+ <input type="hidden" name="searchTmplatLcasCode" value="sit"/> |
|
| 62 |
+ <input type="hidden" name="searchTmplatMlsfcCode" value="1"/> |
|
| 90 | 63 |
|
| 91 |
- |
|
| 92 |
-<div id="cntnts"> |
|
| 93 |
- |
|
| 94 |
- |
|
| 95 |
-<p class="total">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 96 |
- |
|
| 97 |
- <table class="chart_board"> |
|
| 98 |
- <colgroup> |
|
| 99 |
- <col class="co1"/> |
|
| 100 |
- <col class="co6"/> |
|
| 101 |
- <c:if test="${searchVO.selectMode ne 'Y'}"><col class="co6"/></c:if>
|
|
| 102 |
- <col class="co6"/> |
|
| 103 |
- <col class="co3"/> |
|
| 104 |
- <col class="co6"/> |
|
| 105 |
- <c:if test="${USER_INFO.userSe > 10}"><col class="co6"/></c:if>
|
|
| 106 |
- <col class="co6"/> |
|
| 107 |
- </colgroup> |
|
| 108 |
- <thead> |
|
| 109 |
- <tr> |
|
| 110 |
- <th>번호</th> |
|
| 111 |
- <th>미리보기</th> |
|
| 112 |
- <c:if test="${searchVO.selectMode ne 'Y'}"><th><spring:message code="cop.tmplatLcasCode" /></th></c:if>
|
|
| 113 |
- <th><spring:message code="cop.tmplatMlsfcCode" /></th> |
|
| 114 |
- <th><spring:message code="cop.tmplatNm" /></th> |
|
| 115 |
- <th>등록일/수정일</th> |
|
| 116 |
- <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 117 |
- <th> |
|
| 118 |
- <c:choose> |
|
| 119 |
- <c:when test="${searchVO.selectMode eq 'Y'}">선택</c:when>
|
|
| 120 |
- <c:otherwise>복원</c:otherwise> |
|
| 121 |
- </c:choose> |
|
| 122 |
- </th> |
|
| 123 |
- </tr> |
|
| 124 |
- </thead> |
|
| 125 |
- <tbody> |
|
| 126 |
- |
|
| 127 |
- |
|
| 128 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 129 |
- <tr> |
|
| 130 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 131 |
- <td> |
|
| 132 |
- <c:choose> |
|
| 133 |
- <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 134 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 135 |
- </c:choose> |
|
| 136 |
- </td> |
|
| 137 |
- <c:if test="${searchVO.selectMode ne 'Y'}">
|
|
| 138 |
- <td><c:out value="${result.tmplatLcasCodeNm}"/></td>
|
|
| 139 |
- </c:if> |
|
| 140 |
- <td><c:out value="${result.tmplatMlsfcCodeNm}"/></td>
|
|
| 141 |
- <td><c:out value="${result.tmplatNm}"/></td>
|
|
| 142 |
- <td> |
|
| 143 |
- <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 144 |
- <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 145 |
- </td> |
|
| 146 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 147 |
- <td> |
|
| 148 |
- <c:url var="viewUrl" value="/mng/cop/com/selectLytTemplate.do"> |
|
| 149 |
- <c:param name="lytTmplatId" value="${result.lytTmplatId}" />
|
|
| 150 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 151 |
- <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 152 |
- <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 153 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 154 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 155 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 156 |
- </c:url> |
|
| 157 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 158 |
- <c:url var="delUrl" value="/mng/cop/com/deleteLytTemplate.do"> |
|
| 159 |
- <c:param name="lytTmplatId" value="${result.lytTmplatId}" />
|
|
| 160 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 161 |
- <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 162 |
- <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 163 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 164 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 165 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 166 |
- </c:url> |
|
| 167 |
- <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 168 |
- </td> |
|
| 169 |
- </c:if> |
|
| 170 |
- <td> |
|
| 171 |
- <c:choose> |
|
| 172 |
- <c:when test="${searchVO.selectMode eq 'Y'}"><a href="#" onclick="fn_egov_selectTemplate('<c:out value="${result.lytTmplatId}"/>', '<c:out value="${result.tmplatNm}"/>', '<c:out value="${result.tmplatLcasCode}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></c:when>
|
|
| 173 |
- <c:otherwise><a href="#" onclick="fn_egov_view_HisManage('<c:out value="${result.lytTmplatId}"/>');return false;"><img src="${_IMG}/btn/btn_search02.gif" alt="찾기"/></a></c:otherwise>
|
|
| 174 |
- </c:choose> |
|
| 175 |
- </td> |
|
| 176 |
- </tr> |
|
| 177 |
- </c:forEach> |
|
| 178 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 179 |
- <tr> |
|
| 180 |
- <td colspan="8" ><spring:message code="common.nodata.msg" /></td> |
|
| 181 |
- </tr> |
|
| 182 |
- </c:if> |
|
| 183 |
- |
|
| 184 |
- </tbody> |
|
| 185 |
- </table> |
|
| 186 |
- |
|
| 187 |
- |
|
| 188 |
- |
|
| 189 |
- <div id="paging"> |
|
| 190 |
- <c:url var="pageUrl" value="/mng/cop/com/selectLytTemplateList.do?"> |
|
| 191 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 192 |
- <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 193 |
- <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 194 |
- <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 195 |
- <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 196 |
- </c:url> |
|
| 197 |
- |
|
| 198 |
- <ul> |
|
| 199 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 200 |
- </ul> |
|
| 201 |
- </div> |
|
| 202 |
- |
|
| 203 |
- <div id="bbs_search"> |
|
| 204 |
- <form name="frm" action ="<c:url value="/mng/cop/com/selectLytTemplateList.do"/>" method="post"> |
|
| 205 |
- <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 206 |
- <input type="hidden" name="searchTmplatLcasCode" value="sit"/> |
|
| 207 |
- <%-- |
|
| 208 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 209 |
- <select name="searchTmplatLcasCode" id="searchTmplatLcasCode" class="searchCate inp"> |
|
| 210 |
- <option value=""><spring:message code="cop.tmplatLcasCode" /></option> |
|
| 211 |
- <c:forEach var="result" items="${lcasList}" varStatus="status">
|
|
| 212 |
- <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatLcasCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 213 |
- </c:forEach> |
|
| 214 |
- </select> |
|
| 215 |
- --%> |
|
| 216 |
- |
|
| 217 |
- <input type="hidden" name="searchTmplatMlsfcCode" value="1"/> |
|
| 218 |
- <%-- |
|
| 219 |
- <select name="searchTmplatMlsfcCode" id="searchTmplatMlsfcCode" class="searchCate inp"> |
|
| 220 |
- <option value=""><spring:message code="cop.tmplatMlsfcCode" /></option> |
|
| 221 |
- <c:forEach var="result" items="${mlsfcList}" varStatus="status">
|
|
| 222 |
- <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatMlsfcCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 223 |
- </c:forEach> |
|
| 224 |
- </select> |
|
| 225 |
- --%> |
|
| 64 |
+ <div class="sch-area"> |
|
| 65 |
+ <%-- |
|
| 66 |
+ <label for="ftext" class="hdn">분류검색</label> |
|
| 67 |
+ <select name="searchTmplatLcasCode" id="searchTmplatLcasCode" class="searchCate inp"> |
|
| 68 |
+ <option value=""><spring:message code="cop.tmplatLcasCode" /></option> |
|
| 69 |
+ <c:forEach var="result" items="${lcasList}" varStatus="status">
|
|
| 70 |
+ <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatLcasCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 71 |
+ </c:forEach> |
|
| 72 |
+ </select> |
|
| 73 |
+ --%> |
|
| 74 |
+ <%-- |
|
| 75 |
+ <select name="searchTmplatMlsfcCode" id="searchTmplatMlsfcCode" class="searchCate inp"> |
|
| 76 |
+ <option value=""><spring:message code="cop.tmplatMlsfcCode" /></option> |
|
| 77 |
+ <c:forEach var="result" items="${mlsfcList}" varStatus="status">
|
|
| 78 |
+ <option value="<c:out value="${result.code}"/>" <c:if test="${searchVO.searchTmplatMlsfcCode == result.code}">selected="selected"</c:if>><c:out value="${result.codeNm}"/></option>
|
|
| 79 |
+ </c:forEach> |
|
| 80 |
+ </select> |
|
| 81 |
+ --%> |
|
| 82 |
+ <div class="sch-option"> |
|
| 226 | 83 |
<select name="searchCondition" id="searchCondition"> |
| 227 |
- <option selected value=''>분류검색</option> |
|
| 228 |
- <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.tmplatNm" /></option>
|
|
| 229 |
- </select> |
|
| 230 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 231 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 232 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 233 |
- </form> |
|
| 234 |
- </div> |
|
| 235 |
- |
|
| 236 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 237 |
- <div class="btn_r"> |
|
| 238 |
- <c:url var="addUrl" value="/mng/cop/com/addLytTemplate.do"> |
|
| 239 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 240 |
- <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 241 |
- <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 242 |
- </c:url> |
|
| 243 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_creat.gif" alt="생성"/></a>
|
|
| 244 |
- </div> |
|
| 245 |
- </c:if> |
|
| 84 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> ><spring:message code="cop.tmplatNm" /></option>
|
|
| 85 |
+ </select> |
|
| 86 |
+ </div> |
|
| 87 |
+ <div class="sch"> |
|
| 88 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 89 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 90 |
+ </div> |
|
| 91 |
+ </div> |
|
| 92 |
+ </form> |
|
| 93 |
+ </div> |
|
| 94 |
+</div> |
|
| 246 | 95 |
|
| 247 |
-</div> |
|
| 96 |
+<p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 97 |
+<div class="list-type sm"> |
|
| 98 |
+ <table> |
|
| 99 |
+ <colgroup> |
|
| 100 |
+ <col style="width:110px"> |
|
| 101 |
+ <col> |
|
| 102 |
+ <c:if test="${searchVO.selectMode ne 'Y'}"><col style="width:100px"></c:if>
|
|
| 103 |
+ <col style="width:100px"> |
|
| 104 |
+ <col> |
|
| 105 |
+ <col style="width:160px"> |
|
| 106 |
+ <c:if test="${USER_INFO.userSe > 10}"><col style="width:160px"></c:if>
|
|
| 107 |
+ <col style="width:130px"> |
|
| 108 |
+ </colgroup> |
|
| 109 |
+ <thead> |
|
| 110 |
+ <tr> |
|
| 111 |
+ <th scope="col">번호</th> |
|
| 112 |
+ <th scope="col">미리보기</th> |
|
| 113 |
+ <c:if test="${searchVO.selectMode ne 'Y'}"><th><spring:message code="cop.tmplatLcasCode" /></th></c:if>
|
|
| 114 |
+ <th scope="col"><spring:message code="cop.tmplatMlsfcCode" /></th> |
|
| 115 |
+ <th scope="col"><spring:message code="cop.tmplatNm" /></th> |
|
| 116 |
+ <th scope="col">등록일/수정일</th> |
|
| 117 |
+ <c:if test="${USER_INFO.userSe > 10}"><th>관리</th></c:if>
|
|
| 118 |
+ <th scope="col"> |
|
| 119 |
+ <c:set var="type"> |
|
| 120 |
+ <c:choose> |
|
| 121 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">선택</c:when>
|
|
| 122 |
+ <c:otherwise>복원</c:otherwise> |
|
| 123 |
+ </c:choose> |
|
| 124 |
+ </c:set> |
|
| 125 |
+ <c:out value="${type}"/>
|
|
| 126 |
+ </th> |
|
| 127 |
+ </tr> |
|
| 128 |
+ </thead> |
|
| 129 |
+ <tbody> |
|
| 130 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 131 |
+ <tr> |
|
| 132 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 133 |
+ <td data-tit="미리보기"> |
|
| 134 |
+ <c:choose> |
|
| 135 |
+ <c:when test="${not empty result.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${result.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${result.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 136 |
+ <c:otherwise><img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 137 |
+ </c:choose> |
|
| 138 |
+ </td> |
|
| 139 |
+ <c:if test="${searchVO.selectMode ne 'Y'}">
|
|
| 140 |
+ <td data-tit="<spring:message code="cop.tmplatLcasCode" />"><c:out value="${result.tmplatLcasCodeNm}"/></td>
|
|
| 141 |
+ </c:if> |
|
| 142 |
+ <td data-tit="<spring:message code="cop.tmplatMlsfcCode" />"><c:out value="${result.tmplatMlsfcCodeNm}"/></td>
|
|
| 143 |
+ <td data-tit="<spring:message code="cop.tmplatNm" />"><c:out value="${result.tmplatNm}"/></td>
|
|
| 144 |
+ <td data-tit="등록일/수정일"> |
|
| 145 |
+ <fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/><br/>
|
|
| 146 |
+ <fmt:formatDate value="${result.lastUpdusrPnttm}" pattern="yyyy-MM-dd"/>
|
|
| 147 |
+ </td> |
|
| 148 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 149 |
+ <td data-tit="관리"> |
|
| 150 |
+ <div class="btn-cont"> |
|
| 151 |
+ <c:url var="viewUrl" value="/mng/cop/com/selectLytTemplate.do"> |
|
| 152 |
+ <c:param name="lytTmplatId" value="${result.lytTmplatId}" />
|
|
| 153 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 154 |
+ <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 155 |
+ <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 156 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 157 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 158 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 159 |
+ </c:url> |
|
| 160 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 248 | 161 |
|
| 162 |
+ <c:url var="delUrl" value="/mng/cop/com/deleteLytTemplate.do"> |
|
| 163 |
+ <c:param name="lytTmplatId" value="${result.lytTmplatId}" />
|
|
| 164 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 165 |
+ <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 166 |
+ <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 167 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 168 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 169 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 170 |
+ </c:url> |
|
| 171 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제" onclick="fn_egov_delete(this.href);return false;"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 172 |
+ </div> |
|
| 173 |
+ </td> |
|
| 174 |
+ </c:if> |
|
| 175 |
+ <td data-tit="${type}">
|
|
| 176 |
+ <c:choose> |
|
| 177 |
+ <c:when test="${searchVO.selectMode eq 'Y'}">
|
|
| 178 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_selectTemplate('<c:out value="${result.lytTmplatId}"/>', '<c:out value="${result.tmplatNm}"/>', '<c:out value="${result.tmplatLcasCode}"/>', '<c:out value="${result.prevewFileNm}"/>');return false;">선택</button>
|
|
| 179 |
+ </c:when> |
|
| 180 |
+ <c:otherwise> |
|
| 181 |
+ <button type="button" class="btn-sm spot" onclick="fn_egov_view_HisManage('<c:out value="${result.lytTmplatId}"/>');return false;">찾기</button>
|
|
| 182 |
+ </c:otherwise> |
|
| 183 |
+ </c:choose> |
|
| 184 |
+ </td> |
|
| 185 |
+ </tr> |
|
| 186 |
+ </c:forEach> |
|
| 187 |
+ |
|
| 188 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 189 |
+ <tr> |
|
| 190 |
+ <td class="" colspan="8"><spring:message code="common.nodata.msg" /></td> |
|
| 191 |
+ </tr> |
|
| 192 |
+ </c:if> |
|
| 193 |
+ </tbody> |
|
| 194 |
+ </table> |
|
| 195 |
+</div> |
|
| 196 |
+ |
|
| 197 |
+<c:url var="pageUrl" value="/mng/cop/com/selectLytTemplateList.do?"> |
|
| 198 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 199 |
+ <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 200 |
+ <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 201 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 202 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 203 |
+</c:url> |
|
| 204 |
+<ul class="paging"> |
|
| 205 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 206 |
+</ul> |
|
| 207 |
+ |
|
| 208 |
+ |
|
| 209 |
+<c:if test="${USER_INFO.userSe > 10 and searchVO.selectMode ne 'Y'}">
|
|
| 210 |
+ <div class="fnc-area"> |
|
| 211 |
+ <div class="r-area"> |
|
| 212 |
+ <c:url var="addUrl" value="/mng/cop/com/addLytTemplate.do"> |
|
| 213 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 214 |
+ <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 215 |
+ <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 216 |
+ </c:url> |
|
| 217 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 218 |
+ </div> |
|
| 219 |
+ </div> |
|
| 220 |
+</c:if> |
|
| 249 | 221 |
|
| 250 | 222 |
<c:choose> |
| 251 | 223 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytTemplateRegister.jsp
... | ... | @@ -1,11 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 6 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 9 | 3 |
|
| 10 | 4 |
<c:set var="_MODE" value=""/> |
| 11 | 5 |
|
... | ... | @@ -40,10 +34,10 @@ |
| 40 | 34 |
</c:otherwise> |
| 41 | 35 |
</c:choose> |
| 42 | 36 |
|
| 43 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 37 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 44 | 38 |
<validator:javascript formName="lytTmplatVO" staticJavascript="false" xhtml="true" cdata="false"/> |
| 45 |
- |
|
| 46 |
-<script type="text/javaScript" language="javascript"> |
|
| 39 |
+<script src="${C_LIB}/ace/src-min/ace.js"></script>
|
|
| 40 |
+<script> |
|
| 47 | 41 |
|
| 48 | 42 |
/* ******************************************************** |
| 49 | 43 |
* 저장처리화면 |
... | ... | @@ -66,26 +60,28 @@ |
| 66 | 60 |
url = url + "&searchTmplatLcasCode=" + $('#tmplatLcasCode').val();
|
| 67 | 61 |
url = url + "&searchTmplatMlsfcCode=" + $('#tmplatMlsfcCode').val();
|
| 68 | 62 |
|
| 69 |
- var win = window.open(url ,'lytTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 63 |
+ var win = window.open(url ,'lytTemplate','scrollbars=yes, resizable=yes, left=0, top=0, width=1300,height=650'); |
|
| 70 | 64 |
if(win != null) {
|
| 71 | 65 |
win.focus(); |
| 72 | 66 |
} |
| 73 | 67 |
} |
| 74 | 68 |
|
| 69 |
+var editor = new Array(4); |
|
| 75 | 70 |
function fn_egov_updateTemplate(id, nm, fileNm) {
|
| 76 |
- var url = "${pageContext.request.contextPath}/mng/cop/com/selectLytCopyTemplate.do?";
|
|
| 71 |
+ var url = "/mng/cop/com/selectLytCopyTemplate.do?"; |
|
| 77 | 72 |
url += "lytTmplatId=" + id; |
| 78 |
- |
|
| 79 | 73 |
$.getJSON(url, function(data) {
|
| 80 |
- $('#cssSourc').val(data.cssSourc);
|
|
| 81 |
- $('#scriptSourc').val(data.scriptSourc);
|
|
| 82 |
- $('#mobileCssSourc').val(data.mobileCssSourc);
|
|
| 83 |
- $('#mobileScriptSourc').val(data.mobileScriptSourc);
|
|
| 84 |
- |
|
| 85 |
- }) |
|
| 86 |
- .success(function() {})
|
|
| 87 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 88 |
- .complete(function() {});
|
|
| 74 |
+ $('#cssSourc').val(data.cssSourc);
|
|
| 75 |
+ $('#scriptSourc').val(data.scriptSourc);
|
|
| 76 |
+ $('#mobileCssSourc').val(data.mobileCssSourc);
|
|
| 77 |
+ $('#mobileScriptSourc').val(data.mobileScriptSourc);
|
|
| 78 |
+ |
|
| 79 |
+ editor[0].getSession().setValue(data.cssSourc); |
|
| 80 |
+ editor[1].getSession().setValue(data.scriptSourc); |
|
| 81 |
+ editor[2].getSession().setValue(data.mobileCssSourc); |
|
| 82 |
+ editor[3].getSession().setValue(data.mobileScriptSourc); |
|
| 83 |
+ |
|
| 84 |
+ }); |
|
| 89 | 85 |
} |
| 90 | 86 |
|
| 91 | 87 |
function fnTabView(idx) {
|
... | ... | @@ -104,167 +100,163 @@ |
| 104 | 100 |
|
| 105 | 101 |
$('#tab02').hide();
|
| 106 | 102 |
$('#tmplatNm').focus();
|
| 107 |
- |
|
| 103 |
+ |
|
| 104 |
+ $("textarea[lang]").each(function(idx) {
|
|
| 105 |
+ var textarea = $(this); |
|
| 106 |
+ var mode = textarea.attr("lang");
|
|
| 107 |
+ var editDiv = $("<div>", {
|
|
| 108 |
+ position: "absolute", |
|
| 109 |
+ width:"100%", |
|
| 110 |
+ height:textarea.height() |
|
| 111 |
+ }).insertBefore(textarea); |
|
| 112 |
+ |
|
| 113 |
+ textarea.css("display", "none");
|
|
| 114 |
+ |
|
| 115 |
+ editor[idx] = ace.edit(editDiv[0]); |
|
| 116 |
+ editor[idx].setFontSize("11px");
|
|
| 117 |
+ editor[idx].getSession().setValue(textarea.val()); |
|
| 118 |
+ editor[idx].setTheme("ace/theme/clouds");
|
|
| 119 |
+ editor[idx].getSession().setMode("ace/mode/" + mode);
|
|
| 120 |
+ |
|
| 121 |
+ textarea.closest("#lytTmplatVO").submit(function() {
|
|
| 122 |
+ textarea.val(editor[idx].getSession().getValue()); |
|
| 123 |
+ }); |
|
| 124 |
+ }); |
|
| 108 | 125 |
}); |
| 109 | 126 |
|
| 110 | 127 |
</script> |
| 111 | 128 |
|
| 112 |
-<style type="text/css"> |
|
| 113 |
-<!-- |
|
| 114 |
-.conf_top{overflow:hidden;}
|
|
| 115 |
-.tab_menu{right:0;z-index:1000;}
|
|
| 116 |
-.tab_menu li{float:left;background:#f8f8f8;width:150px;height:30px;text-align:center;border:1px solid #ccc;}
|
|
| 117 |
-.tab_menu li a{display:block;padding:8px 0px;height:30px;}
|
|
| 118 |
-.tab_menu li a:hover, .tab_menu li a.active{background:url('${_IMG}/tab_over.gif') 0 0 repeat;padding:8px 0px;height:15px;font-weight:bold;color:#32688c;}
|
|
| 119 |
-.cont{position:relative;width:100%;border-top:1px solid #ccc;padding:0px 0;z-index:1001;}
|
|
| 120 |
-.cont table{width:100%;}
|
|
| 121 |
---> |
|
| 122 |
-</style> |
|
| 129 |
+<form:form commandName="lytTmplatVO" name="lytTmplatVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 130 |
+ <form:hidden path="lytTmplatId"/> |
|
| 131 |
+ <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 132 |
+ <input name="searchTmplatLcasCode" type="hidden" value="<c:out value='${searchVO.searchTmplatLcasCode}'/>"/>
|
|
| 133 |
+ <input name="searchTmplatMlsfcCode" type="hidden" value="<c:out value='${searchVO.searchTmplatMlsfcCode}'/>"/>
|
|
| 134 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 135 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 136 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 123 | 137 |
|
| 124 |
-<div id="cntnts"> |
|
| 125 |
- |
|
| 126 |
- <form:form commandName="lytTmplatVO" name="lytTmplatVO" action="${_ACTION}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 127 |
- <form:hidden path="lytTmplatId"/> |
|
| 128 |
- <input name="selectMode" type="hidden" value="<c:out value='${searchVO.selectMode}'/>"/>
|
|
| 129 |
- <input name="searchTmplatLcasCode" type="hidden" value="<c:out value='${searchVO.searchTmplatLcasCode}'/>"/>
|
|
| 130 |
- <input name="searchTmplatMlsfcCode" type="hidden" value="<c:out value='${searchVO.searchTmplatMlsfcCode}'/>"/>
|
|
| 131 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 132 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 133 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 134 |
- |
|
| 135 |
- <fieldset> |
|
| 136 |
- <legend class="hdn">템플릿 입력 폼</legend> |
|
| 137 |
- |
|
| 138 |
- <a href="#" onclick="fn_egov_selectTemplate(); return false;"><img src="${_IMG}/btn/btn_temp_copy.gif" alt="템플릿 복사하기"/></a>
|
|
| 139 |
- |
|
| 140 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 141 |
- <caption> </caption> |
|
| 142 |
- <colgroup> |
|
| 143 |
- <col width="150px" /> |
|
| 144 |
- <col width="*" /> |
|
| 145 |
- </colgroup> |
|
| 146 |
- <tbody> |
|
| 147 |
- <tr> |
|
| 148 |
- <th><em>*</em> <label for="tmplatLcasCode"><spring:message code="cop.tmplatLcasCode" /></label></th> |
|
| 149 |
- <td> |
|
| 150 |
- <form:select path="tmplatLcasCode"> |
|
| 151 |
- <form:option value="">선택</form:option> |
|
| 152 |
- <form:options items="${lcasList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 153 |
- </form:select> |
|
| 154 |
- <div><form:errors path="tmplatLcasCode"/></div> |
|
| 155 |
- </td> |
|
| 156 |
- </tr> |
|
| 157 |
- <tr> |
|
| 158 |
- <th><em>*</em> <label for="tmplatMlsfcCode"><spring:message code="cop.tmplatMlsfcCode" /></label></th> |
|
| 159 |
- <td> |
|
| 160 |
- <form:select path="tmplatMlsfcCode"> |
|
| 161 |
- <form:option value="">선택</form:option> |
|
| 162 |
- <form:options items="${mlsfcList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 163 |
- </form:select> |
|
| 164 |
- <div><form:errors path="tmplatMlsfcCode"/></div> |
|
| 165 |
- </td> |
|
| 166 |
- </tr> |
|
| 167 |
- <tr> |
|
| 168 |
- <th><em>*</em> <label for="tmplatNm"><spring:message code="cop.tmplatNm" /></label></th> |
|
| 169 |
- <td> |
|
| 170 |
- <form:input path="tmplatNm" size="70" maxlength="70" cssClass="inp_long" /> |
|
| 171 |
- <div><form:errors path="tmplatNm"/></div> |
|
| 172 |
- </td> |
|
| 173 |
- </tr> |
|
| 174 |
- <tr> |
|
| 175 |
- <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 176 |
- <td> |
|
| 177 |
- <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" title="미리보기이미지" class="input300 inp" > |
|
| 178 |
- <c:if test="${_MODE eq 'UPT'}">
|
|
| 179 |
- <br><c:choose> |
|
| 180 |
- <c:when test="${not empty lytTmplatVO.prevewFileNm}"><a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a></c:when>
|
|
| 181 |
- <c:otherwise><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></c:otherwise>
|
|
| 182 |
- </c:choose> |
|
| 183 |
- </c:if> |
|
| 184 |
- </td> |
|
| 185 |
- </tr> |
|
| 186 |
- <tr> |
|
| 187 |
- <th><label>HTML</label></th> |
|
| 188 |
- <td> |
|
| 189 |
- <div class="conf_top"> |
|
| 190 |
- <ul class="tab_menu"> |
|
| 191 |
- <li><a href="#tab1" id="tabLink01" onclick="fnTabView('01');return false;" class="active">WEB</a></li>
|
|
| 192 |
- </ul> |
|
| 193 |
- </div> |
|
| 194 |
- |
|
| 195 |
- <div id="tab01" class="cont"> |
|
| 196 |
- <table> |
|
| 197 |
- <caption>등록폼</caption> |
|
| 198 |
- <colgroup> |
|
| 199 |
- <col width="130"/> |
|
| 200 |
- <col/> |
|
| 201 |
- </colgroup> |
|
| 138 |
+ <fieldset> |
|
| 139 |
+ <legend class="hdn">템플릿 입력 폼</legend> |
|
| 140 |
+ |
|
| 141 |
+ <div class="fnc-area"> |
|
| 142 |
+ <div class="l-area"> |
|
| 143 |
+ <button class="btn-sm spot2" onclick="fn_egov_selectTemplate(); return false;">템플릿 복사하기</button> |
|
| 144 |
+ </div> |
|
| 145 |
+ </div> |
|
| 146 |
+ |
|
| 147 |
+ <div class="write-type"> |
|
| 148 |
+ <table> |
|
| 149 |
+ <colgroup> |
|
| 150 |
+ <col style="width:250px" /> |
|
| 151 |
+ <col /> |
|
| 152 |
+ </colgroup> |
|
| 153 |
+ <tbody> |
|
| 154 |
+ <tr> |
|
| 155 |
+ <th><label for="tmplatLcasCode"><spring:message code="cop.tmplatLcasCode" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 156 |
+ <td> |
|
| 157 |
+ <div class="selectbox"> |
|
| 158 |
+ <form:select path="tmplatLcasCode"> |
|
| 159 |
+ <form:option value="">선택</form:option> |
|
| 160 |
+ <form:options items="${lcasList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 161 |
+ </form:select> |
|
| 162 |
+ </div> |
|
| 163 |
+ <div><form:errors path="tmplatLcasCode"/></div> |
|
| 164 |
+ </td> |
|
| 165 |
+ </tr> |
|
| 166 |
+ <tr> |
|
| 167 |
+ <th><label for="tmplatMlsfcCode"><spring:message code="cop.tmplatMlsfcCode" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 168 |
+ <td> |
|
| 169 |
+ <div class="selectbox"> |
|
| 170 |
+ <form:select path="tmplatMlsfcCode"> |
|
| 171 |
+ <form:option value="">선택</form:option> |
|
| 172 |
+ <form:options items="${mlsfcList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 173 |
+ </form:select> |
|
| 174 |
+ </div> |
|
| 175 |
+ <div><form:errors path="tmplatMlsfcCode"/></div> |
|
| 176 |
+ </td> |
|
| 177 |
+ </tr> |
|
| 178 |
+ <tr> |
|
| 179 |
+ <th><label for="tmplatNm"><spring:message code="cop.tmplatNm" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 180 |
+ <td> |
|
| 181 |
+ <form:input path="tmplatNm" size="70" maxlength="70" cssClass="q1" /> |
|
| 182 |
+ <div><form:errors path="tmplatNm"/></div> |
|
| 183 |
+ </td> |
|
| 184 |
+ </tr> |
|
| 185 |
+ <tr> |
|
| 186 |
+ <th><label for="imagePrevewFileNm">미리보기이미지</label></th> |
|
| 187 |
+ <td> |
|
| 188 |
+ <div class="file-add-txt-area"> |
|
| 189 |
+ <div class="file-custom"> |
|
| 190 |
+ <input type="file" name="imagePrevewFileNm" id="imagePrevewFileNm" class="input-file"> |
|
| 191 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 192 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 193 |
+ </div> |
|
| 194 |
+ </div> |
|
| 195 |
+ <c:if test="${_MODE eq 'UPT'}">
|
|
| 196 |
+ <ul class="file-list"> |
|
| 197 |
+ <c:choose> |
|
| 198 |
+ <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 199 |
+ <li> |
|
| 200 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 201 |
+ <button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
|
| 202 |
+ </li> |
|
| 203 |
+ </c:when> |
|
| 204 |
+ <c:otherwise> |
|
| 205 |
+ <li> |
|
| 206 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 207 |
+ </li> |
|
| 208 |
+ </c:otherwise> |
|
| 209 |
+ </c:choose> |
|
| 210 |
+ </ul> |
|
| 211 |
+ </c:if> |
|
| 212 |
+ </td> |
|
| 213 |
+ </tr> |
|
| 214 |
+ <tr> |
|
| 215 |
+ <th><label for="cssSourc">HTML</label></th> |
|
| 216 |
+ <td> |
|
| 217 |
+ <table> |
|
| 218 |
+ <caption>등록폼</caption> |
|
| 219 |
+ <colgroup> |
|
| 220 |
+ <col width="130"/> |
|
| 221 |
+ <col/> |
|
| 222 |
+ </colgroup> |
|
| 202 | 223 |
<tbody> |
| 203 |
- <tr> |
|
| 204 |
- <th><label for="cssSourc">스타일시트</label></th> |
|
| 205 |
- <td> |
|
| 206 |
- <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 207 |
- <div><form:errors path="cssSourc"/></div> |
|
| 208 |
- </td> |
|
| 209 |
- </tr> |
|
| 210 |
- <tr> |
|
| 211 |
- <th><label for="scriptSourc">자바스크립트</label></th> |
|
| 212 |
- <td> |
|
| 213 |
- <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 214 |
- <div><form:errors path="scriptSourc"/></div> |
|
| 215 |
- </td> |
|
| 216 |
- </tr> |
|
| 224 |
+ <tr> |
|
| 225 |
+ <th><label for="cssSourc">스타일시트</label></th> |
|
| 226 |
+ <td> |
|
| 227 |
+ <form:textarea path="cssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="css"/> |
|
| 228 |
+ <div><form:errors path="cssSourc"/></div> |
|
| 229 |
+ </td> |
|
| 230 |
+ </tr> |
|
| 231 |
+ <tr> |
|
| 232 |
+ <th><label for="scriptSourc">자바스크립트</label></th> |
|
| 233 |
+ <td> |
|
| 234 |
+ <form:textarea path="scriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" lang="javascript"/> |
|
| 235 |
+ <div><form:errors path="scriptSourc"/></div> |
|
| 236 |
+ </td> |
|
| 237 |
+ </tr> |
|
| 217 | 238 |
</tbody> |
| 218 |
- </table> |
|
| 219 |
- </div> |
|
| 220 |
- <div id="tab02" class="cont" style="visibility:hidden;height:0px;position:absolute;top:0;left:0;z-index:-1;"> |
|
| 221 |
- <table> |
|
| 222 |
- <caption>등록폼</caption> |
|
| 223 |
- <colgroup> |
|
| 224 |
- <col width="130"/> |
|
| 225 |
- <col/> |
|
| 226 |
- </colgroup> |
|
| 227 |
- <tbody> |
|
| 228 |
- <th><label for="mobileCssSourc">스타일시트</label></th> |
|
| 229 |
- <td> |
|
| 230 |
- <form:textarea path="mobileCssSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 231 |
- <div><form:errors path="mobileCssSourc"/></div> |
|
| 232 |
- </td> |
|
| 233 |
- </tr> |
|
| 234 |
- <tr> |
|
| 235 |
- <th><label for="mobileScriptSourc">자바스크립트</label></th> |
|
| 236 |
- <td> |
|
| 237 |
- <form:textarea path="mobileScriptSourc" rows="10" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 238 |
- <div><form:errors path="mobileScriptSourc"/></div> |
|
| 239 |
- </td> |
|
| 240 |
- </tr> |
|
| 241 |
- </tbody> |
|
| 242 |
- </table> |
|
| 243 |
- </div> |
|
| 244 |
- </td> |
|
| 245 |
- </tr> |
|
| 246 |
- </tbody> |
|
| 247 |
- <tfoot> |
|
| 248 |
- </tfoot> |
|
| 249 |
- </table> |
|
| 250 |
- |
|
| 251 |
- <div class="btn_r"> |
|
| 252 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/>
|
|
| 253 |
- <c:url var="listUrl" value="/mng/cop/com/selectLytTemplateList.do"> |
|
| 254 |
- <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 255 |
- <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 256 |
- <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 257 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 239 |
+ </table> |
|
| 240 |
+ </td> |
|
| 241 |
+ </tr> |
|
| 242 |
+ </tbody> |
|
| 243 |
+ </table> |
|
| 244 |
+ </div> |
|
| 245 |
+ |
|
| 246 |
+ <div class="btn-cont"> |
|
| 247 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 248 |
+ <c:url var="listUrl" value="/mng/cop/com/selectLytTemplateList.do"> |
|
| 249 |
+ <c:param name="selectMode" value="${searchVO.selectMode}" />
|
|
| 250 |
+ <c:param name="searchTmplatLcasCode" value="${searchVO.searchTmplatLcasCode}" />
|
|
| 251 |
+ <c:param name="searchTmplatMlsfcCode" value="${searchVO.searchTmplatMlsfcCode}" />
|
|
| 252 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 258 | 253 |
<c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
| 259 | 254 |
<c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
| 260 |
- </c:url> |
|
| 261 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 262 |
- </div> |
|
| 263 |
- |
|
| 264 |
- </fieldset> |
|
| 265 |
- </form:form> |
|
| 266 |
- |
|
| 267 |
- </div> |
|
| 255 |
+ </c:url> |
|
| 256 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 257 |
+ </div> |
|
| 258 |
+ </fieldset> |
|
| 259 |
+</form:form> |
|
| 268 | 260 |
|
| 269 | 261 |
<c:choose> |
| 270 | 262 |
<c:when test="${searchVO.selectMode eq 'Y'}">
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/ccm/cca/CcmCmmnCodeList.jsp
... | ... | @@ -1,10 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 4 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 5 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<c:set var="_IMG" value="/resources/template/manage/images"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 8 | 3 |
<c:set var="_PREFIX" value="/mng/sym/ccm/cca"/> |
| 9 | 4 |
|
| 10 | 5 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
... | ... | @@ -22,90 +17,99 @@ |
| 22 | 17 |
} |
| 23 | 18 |
|
| 24 | 19 |
function fn_egov_delete(url){
|
| 25 |
- |
|
| 26 | 20 |
if(confirm("삭제하시겠습니까?")){
|
| 27 | 21 |
document.location.href = url; |
| 28 | 22 |
} |
| 29 | 23 |
} |
| 30 | 24 |
</script> |
| 31 | 25 |
|
| 32 |
-<div id="cntnts"> |
|
| 26 |
+ |
|
| 33 | 27 |
<form name="listForm" action="<c:url value='${_PREFIX}/EgovCcmCmmnCodeList.do'/>" method="post">
|
| 34 |
-<input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 35 |
- <p class="total">총 게시물 ${paginationInfo.totalRecordCount}개ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 28 |
+ <input type="hidden" name="searchCode" value="<c:out value='${searchVO.searchCode}'/>"/>
|
|
| 36 | 29 |
|
| 37 |
- <table class="chart_board"> |
|
| 38 |
- <colgroup> |
|
| 39 |
- <col class="co1"/> |
|
| 40 |
- <col class="co6"/> |
|
| 41 |
- <col class="co3"/> |
|
| 42 |
- <col class="co6"/> |
|
| 43 |
- <col class="co6"/> |
|
| 44 |
- <col class="co6"/> |
|
| 45 |
- <col class="co6"/> |
|
| 46 |
- </colgroup> |
|
| 47 |
- <thead> |
|
| 48 |
- <tr> |
|
| 49 |
- <th>순번</th> |
|
| 50 |
- <th>코드ID</th> |
|
| 51 |
- <th>코드ID명</th> |
|
| 52 |
- <th>사용여부</th> |
|
| 53 |
- <th>코드갯수</th> |
|
| 54 |
- <th>하위코드</th> |
|
| 55 |
- <th>관리</th> |
|
| 56 |
- </tr> |
|
| 57 |
- </thead> |
|
| 58 |
- <tbody> |
|
| 59 |
- <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 60 |
- <tr> |
|
| 61 |
- <td nowrap><fmt:formatNumber value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" type="number"/></td>
|
|
| 62 |
- <td><c:out value="${resultInfo.codeId}"/></td>
|
|
| 63 |
- <td><c:out value="${resultInfo.codeIdNm}"/></td>
|
|
| 64 |
- <td> |
|
| 65 |
- <c:if test="${resultInfo.useAt eq 'Y'}">
|
|
| 66 |
- <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 67 |
- </c:if> |
|
| 68 |
- <c:if test="${resultInfo.useAt eq 'N'}">
|
|
| 69 |
- <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 70 |
- </c:if> |
|
| 71 |
- </td> |
|
| 72 |
- <td><c:out value="${resultInfo.codeCnt}"/></td>
|
|
| 73 |
- <td><a href="/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeList.do?searchCode=<c:out value="${resultInfo.codeId}"/>" onclick="fn_egov_CmmnCode(this.href);return false;"><img src="${_IMG}/btn/code.gif" alt="하위코드관리"/></a></td>
|
|
| 74 |
- <td> |
|
| 75 |
- <c:url var="viewUrl" value="${_PREFIX}/EgovCcmCmmnCodeModify.do">
|
|
| 76 |
- <c:param name="modifyAt" value="Y"/> |
|
| 77 |
- |
|
| 78 |
- <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 79 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 80 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 81 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 82 |
- </c:url> |
|
| 83 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 84 |
- <c:if test="${resultInfo.useAt eq 'Y'}">
|
|
| 85 |
- <c:url var="delUrl" value="${_PREFIX}/EgovCcmCmmnCodeRemove.do">
|
|
| 86 |
- <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 87 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 88 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 89 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 90 |
- </c:url> |
|
| 91 |
- <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 92 |
- </c:if> |
|
| 93 |
- </td> |
|
| 94 |
- </tr> |
|
| 95 |
- </c:forEach> |
|
| 96 |
- |
|
| 97 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 98 |
- <tr> |
|
| 99 |
- <td class="lt_text3" colspan=7> |
|
| 100 |
- <spring:message code="common.nodata.msg" /> |
|
| 101 |
- </td> |
|
| 102 |
- </tr> |
|
| 103 |
- </c:if> |
|
| 30 |
+ <div id="bbs_search"> |
|
| 31 |
+ <label for="searchCondition" class="hdn">분류검색</label> |
|
| 32 |
+ <select id="searchCondition" name="searchCondition" class="select"> |
|
| 33 |
+ <option value='1' <c:if test="${searchVO.searchCondition eq '1' || searchVO.searchCondition eq ''}">selected="selected"</c:if>>코드ID</option>
|
|
| 34 |
+ <option value='2' <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>코드ID명</option>
|
|
| 35 |
+ </select> |
|
| 36 |
+ <label for="inp_text" class="hdn">검색어입력</label> |
|
| 37 |
+ <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 38 |
+ <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 39 |
+ </div> |
|
| 104 | 40 |
|
| 105 |
- </tbody> |
|
| 106 |
-</table> |
|
| 41 |
+ <p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 107 | 42 |
|
| 108 |
- |
|
| 43 |
+ <div class="list-type sm"> |
|
| 44 |
+ <table> |
|
| 45 |
+ <colgroup> |
|
| 46 |
+ <col style="width:110px"> |
|
| 47 |
+ <col> |
|
| 48 |
+ <col> |
|
| 49 |
+ <col style="width:130px"> |
|
| 50 |
+ <col style="width:130px"> |
|
| 51 |
+ <col style="width:160px"> |
|
| 52 |
+ <col style="width:130px"> |
|
| 53 |
+ </colgroup> |
|
| 54 |
+ <thead> |
|
| 55 |
+ <tr> |
|
| 56 |
+ <th>순번</th> |
|
| 57 |
+ <th>코드ID</th> |
|
| 58 |
+ <th>코드ID명</th> |
|
| 59 |
+ <th>사용여부</th> |
|
| 60 |
+ <th>코드갯수</th> |
|
| 61 |
+ <th>하위코드</th> |
|
| 62 |
+ <th>관리</th> |
|
| 63 |
+ </tr> |
|
| 64 |
+ </thead> |
|
| 65 |
+ <tbody> |
|
| 66 |
+ <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 67 |
+ <tr> |
|
| 68 |
+ <td data-tit="순번"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 69 |
+ <td data-tit="코드ID"><c:out value="${resultInfo.codeId}"/></td>
|
|
| 70 |
+ <td data-tit="코드ID명"><c:out value="${resultInfo.codeIdNm}"/></td>
|
|
| 71 |
+ <td data-tit="사용여부"> |
|
| 72 |
+ <c:if test="${resultInfo.useAt eq 'Y'}">
|
|
| 73 |
+ <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 74 |
+ </c:if> |
|
| 75 |
+ <c:if test="${resultInfo.useAt eq 'N'}">
|
|
| 76 |
+ <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 77 |
+ </c:if> |
|
| 78 |
+ </td> |
|
| 79 |
+ <td data-tit="코드갯수"><c:out value="${resultInfo.codeCnt}"/></td>
|
|
| 80 |
+ <td data-tit="하위코드"><a href="/mng/sym/ccm/cde/EgovCcmCmmnDetailCodeList.do?searchCode=<c:out value="${resultInfo.codeId}"/>" onclick="fn_egov_CmmnCode(this.href);return false;"><img src="${_IMG}/btn/code.gif" alt="하위코드관리"/></a></td>
|
|
| 81 |
+ <td data-tit="관리"> |
|
| 82 |
+ <div class="btn-cont"> |
|
| 83 |
+ <c:url var="viewUrl" value="${_PREFIX}/EgovCcmCmmnCodeModify.do">
|
|
| 84 |
+ <c:param name="modifyAt" value="Y"/> |
|
| 85 |
+ <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 86 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 87 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 88 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 89 |
+ </c:url> |
|
| 90 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 91 |
+ |
|
| 92 |
+ <c:if test="${resultInfo.useAt eq 'Y'}">
|
|
| 93 |
+ <c:url var="delUrl" value="${_PREFIX}/EgovCcmCmmnCodeRemove.do">
|
|
| 94 |
+ <c:if test="${not empty resultInfo.codeId}"><c:param name="codeId" value="${resultInfo.codeId}" /></c:if>
|
|
| 95 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 96 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 97 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 98 |
+ </c:url> |
|
| 99 |
+ <a href="${delUrl}" class="btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hide">삭제</span></a>
|
|
| 100 |
+ </c:if> |
|
| 101 |
+ </div> |
|
| 102 |
+ </td> |
|
| 103 |
+ </tr> |
|
| 104 |
+ </c:forEach> |
|
| 105 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 106 |
+ <tr> |
|
| 107 |
+ <td class="" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 108 |
+ </tr> |
|
| 109 |
+ </c:if> |
|
| 110 |
+ </tbody> |
|
| 111 |
+ </table> |
|
| 112 |
+ </div> |
|
| 109 | 113 |
|
| 110 | 114 |
<div id="paging"> |
| 111 | 115 |
<c:url var="pageUrl" value="${_PREFIX}/EgovCcmCmmnCodeList.do?">
|
... | ... | @@ -115,17 +119,6 @@ |
| 115 | 119 |
<ul> |
| 116 | 120 |
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
| 117 | 121 |
</ul> |
| 118 |
- </div> |
|
| 119 |
- |
|
| 120 |
- <div id="bbs_search"> |
|
| 121 |
- <label for="ftext" class="hdn">분류검색</label> |
|
| 122 |
- <select name="searchCondition" class="select"> |
|
| 123 |
- <option value='1' <c:if test="${searchVO.searchCondition eq '1' || searchVO.searchCondition eq ''}">selected="selected"</c:if>>코드ID</option>
|
|
| 124 |
- <option value='2' <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>코드ID명</option>
|
|
| 125 |
- </select> |
|
| 126 |
- <label for="inp_text" class="hdn">검색어입력</label> |
|
| 127 |
- <input name="searchKeyword" type="text" size="25" class="inp" value='<c:out value="${searchVO.searchKeyword}"/>' maxlength="35" class="inp_s" id="inp_text"/>
|
|
| 128 |
- <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 129 | 122 |
</div> |
| 130 | 123 |
|
| 131 | 124 |
<div class="btn_r"> |
... | ... | @@ -139,6 +132,4 @@ |
| 139 | 132 |
|
| 140 | 133 |
|
| 141 | 134 |
</form> |
| 142 |
- |
|
| 143 |
-</DIV> |
|
| 144 | 135 |
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
... | ... | @@ -1,13 +1,6 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> |
|
| 4 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 5 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 6 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 7 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 8 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>" /> |
|
| 9 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 10 |
-<c:set var="_C_LIB" value="${pageContext.request.contextPath}/lib"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 11 | 4 |
<c:set var="_MODE" value=""/> |
| 12 | 5 |
|
| 13 | 6 |
<c:choose> |
... | ... | @@ -26,11 +19,10 @@ |
| 26 | 19 |
<c:param name="title" value="사이트관리"/> |
| 27 | 20 |
</c:import> |
| 28 | 21 |
|
| 29 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 30 |
-<validator:javascript formName="siteManageVO" staticJavascript="false" xhtml="true" cdata="false"/> |
|
| 22 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 23 |
+<validator:javascript formName="siteManageVO" staticJavascript="false" cdata="false"/> |
|
| 31 | 24 |
|
| 32 |
-<script type="text/javaScript"> |
|
| 33 |
- |
|
| 25 |
+<script> |
|
| 34 | 26 |
/* ******************************************************** |
| 35 | 27 |
* 저장처리화면 |
| 36 | 28 |
******************************************************** */ |
... | ... | @@ -68,7 +60,6 @@ |
| 68 | 60 |
if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){
|
| 69 | 61 |
return false; |
| 70 | 62 |
} |
| 71 |
- |
|
| 72 | 63 |
} |
| 73 | 64 |
|
| 74 | 65 |
function fn_egov_selectTemplate(se) {
|
... | ... | @@ -170,16 +161,6 @@ |
| 170 | 161 |
} |
| 171 | 162 |
} |
| 172 | 163 |
|
| 173 |
-function fnOrgCodePop() {
|
|
| 174 |
- var url = "${pageContext.request.contextPath}/mng/sym/ext/selectOrgCodeList.do?";
|
|
| 175 |
- url = url + "selectMode=Y"; |
|
| 176 |
- |
|
| 177 |
- var win = window.open(url ,'orgcode',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); |
|
| 178 |
- if(win != null) {
|
|
| 179 |
- win.focus(); |
|
| 180 |
- } |
|
| 181 |
-} |
|
| 182 |
- |
|
| 183 | 164 |
function fn_egov_selectOrgCode(id, nm) {
|
| 184 | 165 |
$('#insttCode').val(id);
|
| 185 | 166 |
$('#siteNm').val(nm);
|
... | ... | @@ -189,408 +170,457 @@ |
| 189 | 170 |
</script> |
| 190 | 171 |
|
| 191 | 172 |
|
| 192 |
-<div id="cntnts"> |
|
| 193 |
- <c:choose> |
|
| 194 |
- <c:when test="${_MODE eq 'REG'}">
|
|
| 195 |
- <c:url var="actionUrl" value="/mng/sym/sit/insertSiteInfo.do"/> |
|
| 196 |
- </c:when> |
|
| 197 |
- <c:otherwise> |
|
| 198 |
- <c:url var="actionUrl" value="/mng/sym/sit/updateSiteInfo.do"/> |
|
| 199 |
- </c:otherwise> |
|
| 200 |
- </c:choose> |
|
| 201 |
- <form:form commandName="siteManageVO" name="siteManageVO" action="${actionUrl}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist_siteinfo();">
|
|
| 202 |
- <form:hidden path="siteId"/> |
|
| 203 |
- <form:hidden path="takeSiteId"/> |
|
| 204 |
- <form:hidden path="lytTmplatId"/> |
|
| 205 |
- <form:hidden path="cmyTmplatId"/> |
|
| 206 |
- <form:hidden path="lytSourcId"/> |
|
| 207 |
- <form:hidden path="cmySourcId"/> |
|
| 208 |
- <form:hidden path="mobileUseAt" value="N" /> |
|
| 209 |
- |
|
| 210 |
- <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 211 |
- <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 212 |
- <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 213 |
- |
|
| 214 |
- <fieldset> |
|
| 215 |
- <legend class="hdn">사이트 입력 폼</legend> |
|
| 216 |
- |
|
| 217 |
- <div class="btn_r"> |
|
| 218 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/>
|
|
| 219 |
- <c:url var="listUrl" value="/mng/sym/sit/selectSiteInfoList.do"> |
|
| 220 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 173 |
+<c:choose> |
|
| 174 |
+ <c:when test="${_MODE eq 'REG'}">
|
|
| 175 |
+ <c:url var="actionUrl" value="/mng/sym/sit/insertSiteInfo.do"/> |
|
| 176 |
+ </c:when> |
|
| 177 |
+ <c:otherwise> |
|
| 178 |
+ <c:url var="actionUrl" value="/mng/sym/sit/updateSiteInfo.do"/> |
|
| 179 |
+ </c:otherwise> |
|
| 180 |
+</c:choose> |
|
| 181 |
+ |
|
| 182 |
+<form:form commandName="siteManageVO" name="siteManageVO" action="${actionUrl}" method="post" enctype="multipart/form-data" onsubmit="return fn_egov_regist_siteinfo();">
|
|
| 183 |
+ <form:hidden path="siteId"/> |
|
| 184 |
+ <form:hidden path="takeSiteId"/> |
|
| 185 |
+ <form:hidden path="lytTmplatId"/> |
|
| 186 |
+ <form:hidden path="cmyTmplatId"/> |
|
| 187 |
+ <form:hidden path="lytSourcId"/> |
|
| 188 |
+ <form:hidden path="cmySourcId"/> |
|
| 189 |
+ <form:hidden path="mobileUseAt" value="N"/> |
|
| 190 |
+ |
|
| 191 |
+ <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
|
| 192 |
+ <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 193 |
+ <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/>
|
|
| 194 |
+ |
|
| 195 |
+ <fieldset> |
|
| 196 |
+ <legend class="hdn">사이트 입력 폼</legend> |
|
| 197 |
+ |
|
| 198 |
+ <div class="fnc-area"> |
|
| 199 |
+ <div class="r-area"> |
|
| 200 |
+ <button type="submit" class="btn spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 201 |
+ |
|
| 202 |
+ <c:url var="listUrl" value="/mng/sym/sit/selectSiteInfoList.do"> |
|
| 203 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 204 |
+ <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 205 |
+ <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 206 |
+ </c:url> |
|
| 207 |
+ <a href="${listUrl}" class="btn">목록</a>
|
|
| 208 |
+ </div> |
|
| 209 |
+ </div> |
|
| 210 |
+ |
|
| 211 |
+ <div class="write-type"> |
|
| 212 |
+ <table> |
|
| 213 |
+ <colgroup> |
|
| 214 |
+ <col style="width:250px" /> |
|
| 215 |
+ <col /> |
|
| 216 |
+ </colgroup> |
|
| 217 |
+ <tbody> |
|
| 218 |
+ <tr> |
|
| 219 |
+ <th><label for="siteNm">기관명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 220 |
+ <td> |
|
| 221 |
+ <div class="selectbox"> |
|
| 222 |
+ <form:select path="insttCode"> |
|
| 223 |
+ <form:option value='' label="기관유형선택" /> |
|
| 224 |
+ <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 225 |
+ </form:select> |
|
| 226 |
+ </div> |
|
| 227 |
+ |
|
| 228 |
+ <form:input path="siteNm" size="88" maxlength="100" cssClass="q2" /> |
|
| 229 |
+ <div><form:errors path="siteNm"/></div> |
|
| 230 |
+ </td> |
|
| 231 |
+ </tr> |
|
| 232 |
+ <tr> |
|
| 233 |
+ <th><label for="siteUrl">도메인</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 234 |
+ <td> |
|
| 235 |
+ <form:input path="siteUrl" size="100" maxlength="255" cssClass="q1" /> |
|
| 236 |
+ <div><form:errors path="siteUrl"/></div> |
|
| 237 |
+ </td> |
|
| 238 |
+ </tr> |
|
| 239 |
+ <tr> |
|
| 240 |
+ <th><label for="brwsrSj">브라우저타이틀</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 241 |
+ <td> |
|
| 242 |
+ <form:input path="brwsrSj" size="100" maxlength="100" cssClass="q1" /> |
|
| 243 |
+ <div><form:errors path="brwsrSj"/></div> |
|
| 244 |
+ </td> |
|
| 245 |
+ </tr> |
|
| 246 |
+ <tr> |
|
| 247 |
+ <th><label for="tlphonNo">전화번호</label></th> |
|
| 248 |
+ <td> |
|
| 249 |
+ <form:input path="tlphonNo" size="20" maxlength="15" cssClass="q1" /> |
|
| 250 |
+ <div><form:errors path="tlphonNo"/></div> |
|
| 251 |
+ </td> |
|
| 252 |
+ </tr> |
|
| 253 |
+ <tr> |
|
| 254 |
+ <th><label for="faxNo">팩스번호</label></th> |
|
| 255 |
+ <td> |
|
| 256 |
+ <form:input path="faxNo" size="20" maxlength="15" cssClass="q1" /> |
|
| 257 |
+ <div><form:errors path="faxNo"/></div> |
|
| 258 |
+ </td> |
|
| 259 |
+ </tr> |
|
| 260 |
+ <tr> |
|
| 261 |
+ <th><label for="upendLogoFileNm">상단로고</label></th> |
|
| 262 |
+ <td> |
|
| 263 |
+ <div class="file-add-txt-area"> |
|
| 264 |
+ <div class="file-custom"> |
|
| 265 |
+ <input type="file" name="upendLogoFileIdFile" id="upendLogoFileNm" title="상단로고파일" class="input-file"> |
|
| 266 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 267 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 268 |
+ </div> |
|
| 269 |
+ </div> |
|
| 270 |
+ |
|
| 271 |
+ <c:if test="${not empty siteManageVO.upendLogoFileNm}">
|
|
| 272 |
+ <ul class="file-list"> |
|
| 273 |
+ <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.upendLogoFileNm}"/></li>
|
|
| 274 |
+ </ul> |
|
| 275 |
+ </c:if> |
|
| 276 |
+ </td> |
|
| 277 |
+ </tr> |
|
| 278 |
+ <tr> |
|
| 279 |
+ <th><label for="lptLogoFileNm">하단로고</label></th> |
|
| 280 |
+ <td> |
|
| 281 |
+ <div class="file-add-txt-area"> |
|
| 282 |
+ <div class="file-custom"> |
|
| 283 |
+ <input type="file" name="lptLogoFileIdFile" id="lptLogoFileNm" title="하단로고파일" class="input-file"> |
|
| 284 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 285 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 286 |
+ </div> |
|
| 287 |
+ </div> |
|
| 288 |
+ |
|
| 289 |
+ <c:if test="${not empty siteManageVO.lptLogoFileNm}">
|
|
| 290 |
+ <ul class="file-list"> |
|
| 291 |
+ <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.lptLogoFileNm}"/></li>
|
|
| 292 |
+ </ul> |
|
| 293 |
+ </c:if> |
|
| 294 |
+ </td> |
|
| 295 |
+ </tr> |
|
| 296 |
+ <tr> |
|
| 297 |
+ <th><label for="peprsntImageFile">대표이미지</label></th> |
|
| 298 |
+ <td> |
|
| 299 |
+ <div class="file-add-txt-area"> |
|
| 300 |
+ <div class="file-custom"> |
|
| 301 |
+ <input type="file" name="peprsntImageFile" id="peprsntImageFile" title="대표이미지" class="input-file"> |
|
| 302 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 303 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 304 |
+ </div> |
|
| 305 |
+ </div> |
|
| 306 |
+ |
|
| 307 |
+ <c:if test="${not empty siteManageVO.peprsntImageFileNm}">
|
|
| 308 |
+ <ul class="file-list"> |
|
| 309 |
+ <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.peprsntImageFileNm}"/></li>
|
|
| 310 |
+ </ul> |
|
| 311 |
+ </c:if> |
|
| 312 |
+ </td> |
|
| 313 |
+ </tr> |
|
| 314 |
+ <tr> |
|
| 315 |
+ <th><label for="sloganFile">슬로건</label></th> |
|
| 316 |
+ <td> |
|
| 317 |
+ <div class="file-add-txt-area"> |
|
| 318 |
+ <div class="file-custom"> |
|
| 319 |
+ <input type="file" name="sloganFile" id="sloganFile" title="슬로건" class="input-file"> |
|
| 320 |
+ <button type="button" class="btn">파일 찾기</button> |
|
| 321 |
+ <input type="text" placeholder="파일로 콘텐츠를 추가해주세요." readonly> |
|
| 322 |
+ </div> |
|
| 323 |
+ </div> |
|
| 324 |
+ |
|
| 325 |
+ <c:if test="${not empty siteManageVO.sloganFileNm}">
|
|
| 326 |
+ <ul class="file-list"> |
|
| 327 |
+ <li><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.sloganFileNm}"/></li>
|
|
| 328 |
+ </ul> |
|
| 329 |
+ </c:if> |
|
| 330 |
+ </td> |
|
| 331 |
+ </tr> |
|
| 332 |
+ <tr> |
|
| 333 |
+ <th><label for="sloganReplcText">슬로건대체텍스트</label></th> |
|
| 334 |
+ <td> |
|
| 335 |
+ <form:textarea path="sloganReplcText" rows="5" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 336 |
+ <div><form:errors path="sloganReplcText"/></div> |
|
| 337 |
+ </td> |
|
| 338 |
+ </tr> |
|
| 339 |
+ <tr> |
|
| 340 |
+ <th><label for="adres">주소</label></th> |
|
| 341 |
+ <td> |
|
| 342 |
+ <form:input path="adres" size="100" maxlength="100" cssClass="inp" /> |
|
| 343 |
+ <div><form:errors path="adres"/></div> |
|
| 344 |
+ </td> |
|
| 345 |
+ </tr> |
|
| 346 |
+ <%-- |
|
| 347 |
+ <tr> |
|
| 348 |
+ <th><label for="adresFileNm">주소파일</label></th> |
|
| 349 |
+ <td> |
|
| 350 |
+ <input type="file" name="adresFileIdFile" id="adresFileNm" title="주소파일명" class="input300 inp" > |
|
| 351 |
+ <c:if test="${not empty siteManageVO.adresFileNm}"><br/><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.adresFileNm}"/></c:if>
|
|
| 352 |
+ </td> |
|
| 353 |
+ </tr> |
|
| 354 |
+ --%> |
|
| 355 |
+ <tr> |
|
| 356 |
+ <th><label for="adresReplcText">주소대체텍스트</label></th> |
|
| 357 |
+ <td> |
|
| 358 |
+ <form:textarea path="adresReplcText" rows="5" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 359 |
+ <div><form:errors path="adresReplcText"/></div> |
|
| 360 |
+ </td> |
|
| 361 |
+ </tr> |
|
| 362 |
+ <tr> |
|
| 363 |
+ <th><label for="la">위도</label></th> |
|
| 364 |
+ <td> |
|
| 365 |
+ <form:input path="la" size="20" maxlength="15" cssClass="q1" /> |
|
| 366 |
+ <div><form:errors path="la"/></div> |
|
| 367 |
+ </td> |
|
| 368 |
+ </tr> |
|
| 369 |
+ <tr> |
|
| 370 |
+ <th><label for="lo">경도</label></th> |
|
| 371 |
+ <td> |
|
| 372 |
+ <form:input path="lo" size="20" maxlength="15" cssClass="q1" /> |
|
| 373 |
+ <div><form:errors path="lo"/></div> |
|
| 374 |
+ </td> |
|
| 375 |
+ </tr> |
|
| 376 |
+ <tr> |
|
| 377 |
+ <th>홈페이지 레이아웃</th> |
|
| 378 |
+ <td> |
|
| 379 |
+ <table> |
|
| 380 |
+ <caption>홈페이지 레이아웃 설정폼</caption> |
|
| 381 |
+ <colgroup> |
|
| 382 |
+ <col width="200"/> |
|
| 383 |
+ <col width="200"/> |
|
| 384 |
+ </colgroup> |
|
| 385 |
+ <tbody> |
|
| 386 |
+ <tr> |
|
| 387 |
+ <td> |
|
| 388 |
+ <table> |
|
| 389 |
+ <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">레이아웃</font></strong></td></tr> |
|
| 390 |
+ <tr> |
|
| 391 |
+ <td> |
|
| 392 |
+ <c:choose> |
|
| 393 |
+ <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 394 |
+ <a href="#" onclick="fnImagePreviewBefore('lytSourcImage');return false;"><img id="lytSourcImage" src="${sourcFileStoreWebPathByPreFile}/${lytSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 395 |
+ </c:when> |
|
| 396 |
+ <c:otherwise> |
|
| 397 |
+ <a href="#" onclick="fnImagePreviewBefore('lytSourcImage');return false;"><img id="lytSourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 398 |
+ </c:otherwise> |
|
| 399 |
+ </c:choose> |
|
| 400 |
+ </td> |
|
| 401 |
+ </tr> |
|
| 402 |
+ <tr> |
|
| 403 |
+ <td align="center"><div id="lytSourcNm"><c:out value="${lytSourcVO.sourcNm}"/></div></td>
|
|
| 404 |
+ </tr> |
|
| 405 |
+ <tr> |
|
| 406 |
+ <td align="center"><a href="#" onclick="fn_egov_selectSourc('sit'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 407 |
+ </tr> |
|
| 408 |
+ </table> |
|
| 409 |
+ </td> |
|
| 410 |
+ <td> |
|
| 411 |
+ <table> |
|
| 412 |
+ <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">템플릿</font></strong></td></tr> |
|
| 413 |
+ <tr> |
|
| 414 |
+ <td> |
|
| 415 |
+ <c:choose> |
|
| 416 |
+ <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 417 |
+ <a href="#" onclick="fnImagePreviewBefore('lytTmplatImage');return false;"><img id="lytTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 418 |
+ </c:when> |
|
| 419 |
+ <c:otherwise> |
|
| 420 |
+ <a href="#" onclick="fnImagePreviewBefore('lytTmplatImage');return false;"><img id="lytTmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 421 |
+ </c:otherwise> |
|
| 422 |
+ </c:choose> |
|
| 423 |
+ </td> |
|
| 424 |
+ </tr> |
|
| 425 |
+ <tr> |
|
| 426 |
+ <td align="center"><div id="lytTmplatNm"><c:out value="${lytTmplatVO.tmplatNm}"/></div></td>
|
|
| 427 |
+ </tr> |
|
| 428 |
+ <tr> |
|
| 429 |
+ <td align="center"><a href="#" onclick="fn_egov_selectTemplate('sit'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 430 |
+ </tr> |
|
| 431 |
+ </table> |
|
| 432 |
+ </td> |
|
| 433 |
+ <td style="display: none;"> |
|
| 434 |
+ <table> |
|
| 435 |
+ <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">메인화면 게시판</font></strong></td></tr> |
|
| 436 |
+ <tr> |
|
| 437 |
+ <td> |
|
| 438 |
+ <select id="bbsIdList" name="bbsIdList" multiple="multiple" size="11" style="width:120px;height:107px"> |
|
| 439 |
+ <c:forEach var="result" items="${siteManageVO.mainContentsList}" varStatus="status">
|
|
| 440 |
+ <option value="${result.progrmId}"><c:out value="${result.progrmNm}"/></option>
|
|
| 441 |
+ </c:forEach> |
|
| 442 |
+ </select> |
|
| 443 |
+ </td> |
|
| 444 |
+ <td width="40" align="center"> |
|
| 445 |
+ <a href="#" onclick="fnContentMove('SMCTS01', 'UP');return false;"><img src="${_IMG}/btn/btn_goup.gif" alt="위로이동"/></a>
|
|
| 446 |
+ <br/> |
|
| 447 |
+ <a href="#" onclick="fnContentMove('SMCTS01', 'DOWN');return false;"><img src="${_IMG}/btn/btn_godown.gif" alt="아래로이동"/></a>
|
|
| 448 |
+ </td> |
|
| 449 |
+ </tr> |
|
| 450 |
+ <tr> |
|
| 451 |
+ <td align="center">추가/삭제</td> |
|
| 452 |
+ </tr> |
|
| 453 |
+ <tr> |
|
| 454 |
+ <td align="center"> |
|
| 455 |
+ <a href="#" onclick="fnContentAdd('SMCTS01');return false;"><img src="${_IMG}/btn/btn_plus.gif" alt="추가"/></a>
|
|
| 456 |
+ <a href="#" onclick="fnContentDel('SMCTS01');return false;"><img src="${_IMG}/btn/btn_minus.gif" alt="삭제"/></a>
|
|
| 457 |
+ </td> |
|
| 458 |
+ </tr> |
|
| 459 |
+ </table> |
|
| 460 |
+ </td> |
|
| 461 |
+ </tr> |
|
| 462 |
+ </tbody> |
|
| 463 |
+ </table> |
|
| 464 |
+ </td> |
|
| 465 |
+ </tr> |
|
| 466 |
+ <tr> |
|
| 467 |
+ <th>커뮤니티 레이아웃</th> |
|
| 468 |
+ <td> |
|
| 469 |
+ <table> |
|
| 470 |
+ <caption>커뮤니티 레이아웃 설정폼</caption> |
|
| 471 |
+ <colgroup> |
|
| 472 |
+ <col width="200"/> |
|
| 473 |
+ <col width="200"/> |
|
| 474 |
+ </colgroup> |
|
| 475 |
+ <tbody> |
|
| 476 |
+ <tr> |
|
| 477 |
+ <td> |
|
| 478 |
+ <table> |
|
| 479 |
+ <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">레이아웃</font></strong></td></tr> |
|
| 480 |
+ <tr> |
|
| 481 |
+ <td> |
|
| 482 |
+ <c:choose> |
|
| 483 |
+ <c:when test="${not empty cmySourcVO.prevewFileNm}">
|
|
| 484 |
+ <a href="#" onclick="fnImagePreviewBefore('cmySourcImage');return false;"><img id="cmySourcImage" src="${sourcFileStoreWebPathByPreFile}/${cmySourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 485 |
+ </c:when> |
|
| 486 |
+ <c:otherwise> |
|
| 487 |
+ <a href="#" onclick="fnImagePreviewBefore('cmySourcImage');return false;"><img id="cmySourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 488 |
+ </c:otherwise> |
|
| 489 |
+ </c:choose> |
|
| 490 |
+ </td> |
|
| 491 |
+ </tr> |
|
| 492 |
+ <tr> |
|
| 493 |
+ <td align="center"><div id="cmySourcNm"><c:out value="${cmySourcVO.sourcNm}"/></div></td>
|
|
| 494 |
+ </tr> |
|
| 495 |
+ <tr> |
|
| 496 |
+ <td align="center"><a href="#" onclick="fn_egov_selectSourc('cmy'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 497 |
+ </tr> |
|
| 498 |
+ </table> |
|
| 499 |
+ </td> |
|
| 500 |
+ <td> |
|
| 501 |
+ <table> |
|
| 502 |
+ <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">템플릿</font></strong></td></tr> |
|
| 503 |
+ <tr> |
|
| 504 |
+ <td> |
|
| 505 |
+ <c:choose> |
|
| 506 |
+ <c:when test="${not empty cmyTmplatVO.prevewFileNm}">
|
|
| 507 |
+ <a href="#" onclick="fnImagePreviewBefore('cmyTmplatImage');return false;"><img id="cmyTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${cmyTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 508 |
+ </c:when> |
|
| 509 |
+ <c:otherwise> |
|
| 510 |
+ <a href="#" onclick="fnImagePreviewBefore('cmyTmplatImage');return false;"><img id="cmyTmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 511 |
+ </c:otherwise> |
|
| 512 |
+ </c:choose> |
|
| 513 |
+ </td> |
|
| 514 |
+ </tr> |
|
| 515 |
+ <tr> |
|
| 516 |
+ <td align="center"><div id="cmyTmplatNm"><c:out value="${cmyTmplatVO.tmplatNm}"/></div></td>
|
|
| 517 |
+ </tr> |
|
| 518 |
+ <tr> |
|
| 519 |
+ <td align="center"><a href="#" onclick="fn_egov_selectTemplate('cmy'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 520 |
+ </tr> |
|
| 521 |
+ </table> |
|
| 522 |
+ </td> |
|
| 523 |
+ </tr> |
|
| 524 |
+ </tbody> |
|
| 525 |
+ </table> |
|
| 526 |
+ </td> |
|
| 527 |
+ </tr> |
|
| 528 |
+ <c:if test="${_MODE eq 'REG'}">
|
|
| 529 |
+ <tr> |
|
| 530 |
+ <th>기본메뉴 자동생성</th> |
|
| 531 |
+ <td> |
|
| 532 |
+ <spring:message code="button.yes" /> : <form:radiobutton path="autoMakeMenuAt" value="Y" /> |
|
| 533 |
+ <spring:message code="button.no" /> : <form:radiobutton path="autoMakeMenuAt" value="N" /> |
|
| 534 |
+ </td> |
|
| 535 |
+ </tr> |
|
| 536 |
+ </c:if> |
|
| 537 |
+ <tr> |
|
| 538 |
+ <th>마우스보안허용</th> |
|
| 539 |
+ <td> |
|
| 540 |
+ <div class="checkradio"> |
|
| 541 |
+ <form:radiobutton path="mouseScrtyApplcAt" value="Y" /> |
|
| 542 |
+ <label for="mouseScrtyApplcAt1"><spring:message code="button.yes" /></label> |
|
| 543 |
+ </div> |
|
| 544 |
+ <div class="checkradio"> |
|
| 545 |
+ <form:radiobutton path="mouseScrtyApplcAt" value="N" /> |
|
| 546 |
+ <label for="mouseScrtyApplcAt2"><spring:message code="button.no" /></label> |
|
| 547 |
+ </div> |
|
| 548 |
+ </td> |
|
| 549 |
+ </tr> |
|
| 550 |
+ <tr> |
|
| 551 |
+ <th>키보드보안허용</th> |
|
| 552 |
+ <td> |
|
| 553 |
+ <div class="checkradio"> |
|
| 554 |
+ <form:radiobutton path="kybrdScrtyApplcAt" value="Y" /> |
|
| 555 |
+ <label for="kybrdScrtyApplcAt1"><spring:message code="button.yes" /></label> |
|
| 556 |
+ </div> |
|
| 557 |
+ <div class="checkradio"> |
|
| 558 |
+ <form:radiobutton path="kybrdScrtyApplcAt" value="N" /> |
|
| 559 |
+ <label for="kybrdScrtyApplcAt2"><spring:message code="button.no" /></label> |
|
| 560 |
+ </div> |
|
| 561 |
+ </td> |
|
| 562 |
+ </tr> |
|
| 563 |
+ <tr style="display:none"> |
|
| 564 |
+ <th>중복로그인허용</th> |
|
| 565 |
+ <td> |
|
| 566 |
+ <div class="checkradio"> |
|
| 567 |
+ <form:radiobutton path="dplctLoginPermAt" value="Y" /> |
|
| 568 |
+ <label for="dplctLoginPermAt1"><spring:message code="button.yes" /></label> |
|
| 569 |
+ </div> |
|
| 570 |
+ <div class="checkradio"> |
|
| 571 |
+ <form:radiobutton path="dplctLoginPermAt" value="N" /> |
|
| 572 |
+ <label for="dplctLoginPermAt2"><spring:message code="button.no" /></label> |
|
| 573 |
+ </div> |
|
| 574 |
+ </td> |
|
| 575 |
+ </tr> |
|
| 576 |
+ <tr style="display:none"> |
|
| 577 |
+ <th> <label><em>*</em> 비밀번호길이</label></th> |
|
| 578 |
+ <td> |
|
| 579 |
+ <form:input path="passwordMummLt" size="5" cssClass="inp"/> ~ <form:input path="passwordMxmmLt" size="5" cssClass="inp"/> |
|
| 580 |
+ </td> |
|
| 581 |
+ </tr> |
|
| 582 |
+ <tr style="display:none"> |
|
| 583 |
+ <th> <label><em>*</em> 비밀번호조합</label></th> |
|
| 584 |
+ <td> |
|
| 585 |
+ <form:checkbox path="passwordNumberPolicyAt" value="Y" label="숫자"/> + |
|
| 586 |
+ <form:checkbox path="passwordChrctrPolicyAt" value="Y" label="문자"/> + |
|
| 587 |
+ <form:checkbox path="passwordSpclchrctrPolicyAt" value="Y" label="특수문자"/> |
|
| 588 |
+ </td> |
|
| 589 |
+ </tr> |
|
| 590 |
+ <tr style="display:none"> |
|
| 591 |
+ <th> <label><em>*</em> 비밀번호변경주기</label></th> |
|
| 592 |
+ <td> |
|
| 593 |
+ <form:input path="passwordChangeCycle" size="5" cssClass="inp"/>개월 |
|
| 594 |
+ </td> |
|
| 595 |
+ </tr> |
|
| 596 |
+ |
|
| 597 |
+ <tr> |
|
| 598 |
+ <th>활성여부</th> |
|
| 599 |
+ <td> |
|
| 600 |
+ <div class="checkradio"> |
|
| 601 |
+ <form:radiobutton path="actvtyAt" value="Y" /> |
|
| 602 |
+ <label for="actvtyAt1"><spring:message code="button.yes" /></label> |
|
| 603 |
+ </div> |
|
| 604 |
+ <div class="checkradio"> |
|
| 605 |
+ <form:radiobutton path="actvtyAt" value="N" /> |
|
| 606 |
+ <label for="actvtyAt2"><spring:message code="button.no" /></label> |
|
| 607 |
+ </div> |
|
| 608 |
+ </td> |
|
| 609 |
+ </tr> |
|
| 610 |
+ </tbody> |
|
| 611 |
+ </table> |
|
| 612 |
+ </div> |
|
| 613 |
+ <div class="btn-cont"> |
|
| 614 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 615 |
+ <c:url var="listUrl" value="/mng/sym/sit/selectSiteInfoList.do"> |
|
| 616 |
+ <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 221 | 617 |
<c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
| 222 | 618 |
<c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
| 223 |
- </c:url> |
|
| 224 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 225 |
- </div> |
|
| 226 |
- |
|
| 227 |
- |
|
| 228 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 229 |
- <caption> </caption> |
|
| 230 |
- <colgroup> |
|
| 231 |
- <col width="150px" /> |
|
| 232 |
- <col width="*" /> |
|
| 233 |
- </colgroup> |
|
| 234 |
- <tbody> |
|
| 235 |
- <tr> |
|
| 236 |
- <th><em>*</em> <label for="siteNm">기관명</label></th> |
|
| 237 |
- <td> |
|
| 238 |
- <%-- <form:hidden path="insttCode"/> --%> |
|
| 239 |
- |
|
| 240 |
- <form:select path="insttCode"> |
|
| 241 |
- <form:option value='' label="기관유형선택" /> |
|
| 242 |
- <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 243 |
- </form:select> |
|
| 244 |
- |
|
| 245 |
- <form:input path="siteNm" size="88" maxlength="100" cssClass="inp" /> <a href="#" style="display:none" onclick="fnOrgCodePop();return false;"><img src="${_IMG}/btn/btn_search02.gif"/></a>
|
|
| 246 |
- <div><form:errors path="siteNm"/></div> |
|
| 247 |
- </td> |
|
| 248 |
- </tr> |
|
| 249 |
- <tr> |
|
| 250 |
- <th><em>*</em> <label for="siteUrl">도메인</label></th> |
|
| 251 |
- <td> |
|
| 252 |
- <form:input path="siteUrl" size="100" maxlength="255" cssClass="inp" /> |
|
| 253 |
- <div><form:errors path="siteUrl"/></div> |
|
| 254 |
- </td> |
|
| 255 |
- </tr> |
|
| 256 |
- <tr> |
|
| 257 |
- <th><em>*</em> <label for="brwsrSj">브라우저타이틀</label></th> |
|
| 258 |
- <td> |
|
| 259 |
- <form:input path="brwsrSj" size="100" maxlength="100" cssClass="inp" /> |
|
| 260 |
- <div><form:errors path="brwsrSj"/></div> |
|
| 261 |
- </td> |
|
| 262 |
- </tr> |
|
| 263 |
- <tr> |
|
| 264 |
- <th><label for="tlphonNo">전화번호</label></th> |
|
| 265 |
- <td> |
|
| 266 |
- <form:input path="tlphonNo" size="20" maxlength="15" cssClass="inp" /> |
|
| 267 |
- <div><form:errors path="tlphonNo"/></div> |
|
| 268 |
- </td> |
|
| 269 |
- </tr> |
|
| 270 |
- <tr> |
|
| 271 |
- <th><label for="faxNo">팩스번호</label></th> |
|
| 272 |
- <td> |
|
| 273 |
- <form:input path="faxNo" size="20" maxlength="15" cssClass="inp" /> |
|
| 274 |
- <div><form:errors path="faxNo"/></div> |
|
| 275 |
- </td> |
|
| 276 |
- </tr> |
|
| 277 |
- <tr> |
|
| 278 |
- <th><label for="upendLogoFileNm">상단로고</label></th> |
|
| 279 |
- <td> |
|
| 280 |
- <input type="file" name="upendLogoFileIdFile" id="upendLogoFileNm" title="상단로고파일" class="input300 inp" > |
|
| 281 |
- <c:if test="${not empty siteManageVO.upendLogoFileNm}"><br/><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.upendLogoFileNm}"/></c:if>
|
|
| 282 |
- </td> |
|
| 283 |
- </tr> |
|
| 284 |
- <tr> |
|
| 285 |
- <th><label for="lptLogoFileNm">하단로고</label></th> |
|
| 286 |
- <td> |
|
| 287 |
- <input type="file" name="lptLogoFileIdFile" id="lptLogoFileNm" title="하단로고파일" class="input300 inp" > |
|
| 288 |
- <c:if test="${not empty siteManageVO.lptLogoFileNm}"><br/><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.lptLogoFileNm}"/></c:if>
|
|
| 289 |
- </td> |
|
| 290 |
- </tr> |
|
| 291 |
- <tr> |
|
| 292 |
- <th><label for="peprsntImageFileNm">대표이미지</label></th> |
|
| 293 |
- <td> |
|
| 294 |
- <input type="file" name="peprsntImageFile" id="peprsntImageFile" title="대표이미지" class="input300 inp" > |
|
| 295 |
- <c:if test="${not empty siteManageVO.peprsntImageFileNm}"><br/><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.peprsntImageFileNm}"/></c:if>
|
|
| 296 |
- </td> |
|
| 297 |
- </tr> |
|
| 298 |
- <tr> |
|
| 299 |
- <th><label for="sloganFileNm">슬로건</label></th> |
|
| 300 |
- <td> |
|
| 301 |
- <input type="file" name="sloganFile" id="sloganFile" title="슬로건" class="input300 inp" > |
|
| 302 |
- <c:if test="${not empty siteManageVO.sloganFileNm}"><br/><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.sloganFileNm}"/></c:if>
|
|
| 303 |
- </td> |
|
| 304 |
- </tr> |
|
| 305 |
- <tr> |
|
| 306 |
- <th><label for="sloganReplcText">슬로건대체텍스트</label></th> |
|
| 307 |
- <td> |
|
| 308 |
- <form:textarea path="sloganReplcText" rows="5" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 309 |
- <div><form:errors path="sloganReplcText"/></div> |
|
| 310 |
- </td> |
|
| 311 |
- </tr> |
|
| 312 |
- <tr> |
|
| 313 |
- <th><label for="adres">주소</label></th> |
|
| 314 |
- <td> |
|
| 315 |
- <form:input path="adres" size="100" maxlength="100" cssClass="inp" /> |
|
| 316 |
- <div><form:errors path="adres"/></div> |
|
| 317 |
- </td> |
|
| 318 |
- </tr> |
|
| 319 |
- <tr> |
|
| 320 |
- <th><label for="adresFileNm">주소파일</label></th> |
|
| 321 |
- <td> |
|
| 322 |
- <input type="file" name="adresFileIdFile" id="adresFileNm" title="주소파일명" class="input300 inp" > |
|
| 323 |
- <c:if test="${not empty siteManageVO.adresFileNm}"><br/><img src="${SiteFileStoreWebPath}${siteManageVO.siteId}/${siteManageVO.adresFileNm}"/></c:if>
|
|
| 324 |
- </td> |
|
| 325 |
- </tr> |
|
| 326 |
- <tr> |
|
| 327 |
- <th><label for="adresReplcText">주소대체텍스트</label></th> |
|
| 328 |
- <td> |
|
| 329 |
- <form:textarea path="adresReplcText" rows="5" cssStyle="width:90%;" cssClass="inp_default" /> |
|
| 330 |
- <div><form:errors path="adresReplcText"/></div> |
|
| 331 |
- </td> |
|
| 332 |
- </tr> |
|
| 333 |
- <tr> |
|
| 334 |
- <th><label for="la">위도</label></th> |
|
| 335 |
- <td> |
|
| 336 |
- <form:input path="la" size="20" maxlength="15" cssClass="inp" /> |
|
| 337 |
- <div><form:errors path="la"/></div> |
|
| 338 |
- </td> |
|
| 339 |
- </tr> |
|
| 340 |
- <tr> |
|
| 341 |
- <th><label for="lo">경도</label></th> |
|
| 342 |
- <td> |
|
| 343 |
- <form:input path="lo" size="20" maxlength="15" cssClass="inp" /> |
|
| 344 |
- <div><form:errors path="lo"/></div> |
|
| 345 |
- </td> |
|
| 346 |
- </tr> |
|
| 347 |
- <tr> |
|
| 348 |
- <th>홈페이지 레이아웃</th> |
|
| 349 |
- <td> |
|
| 350 |
- <table> |
|
| 351 |
- <caption>홈페이지 레이아웃 설정폼</caption> |
|
| 352 |
- <colgroup> |
|
| 353 |
- <col width="130"/> |
|
| 354 |
- <col/> |
|
| 355 |
- </colgroup> |
|
| 356 |
- <tbody> |
|
| 357 |
- <tr> |
|
| 358 |
- <td> |
|
| 359 |
- <table> |
|
| 360 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">레이아웃</font></strong></td></tr> |
|
| 361 |
- <tr> |
|
| 362 |
- <td> |
|
| 363 |
- <c:choose> |
|
| 364 |
- <c:when test="${not empty lytSourcVO.prevewFileNm}">
|
|
| 365 |
- <a href="#" onclick="fnImagePreviewBefore('lytSourcImage');return false;"><img id="lytSourcImage" src="${sourcFileStoreWebPathByPreFile}/${lytSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 366 |
- </c:when> |
|
| 367 |
- <c:otherwise> |
|
| 368 |
- <a href="#" onclick="fnImagePreviewBefore('lytSourcImage');return false;"><img id="lytSourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 369 |
- </c:otherwise> |
|
| 370 |
- </c:choose> |
|
| 371 |
- </td> |
|
| 372 |
- </tr> |
|
| 373 |
- <tr> |
|
| 374 |
- <td align="center"><div id="lytSourcNm"><c:out value="${lytSourcVO.sourcNm}"/></div></td>
|
|
| 375 |
- </tr> |
|
| 376 |
- <tr> |
|
| 377 |
- <td align="center"><a href="#" onclick="fn_egov_selectSourc('sit'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 378 |
- </tr> |
|
| 379 |
- </table> |
|
| 380 |
- </td> |
|
| 381 |
- <td> |
|
| 382 |
- <table> |
|
| 383 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">템플릿</font></strong></td></tr> |
|
| 384 |
- <tr> |
|
| 385 |
- <td> |
|
| 386 |
- <c:choose> |
|
| 387 |
- <c:when test="${not empty lytTmplatVO.prevewFileNm}">
|
|
| 388 |
- <a href="#" onclick="fnImagePreviewBefore('lytTmplatImage');return false;"><img id="lytTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${lytTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 389 |
- </c:when> |
|
| 390 |
- <c:otherwise> |
|
| 391 |
- <a href="#" onclick="fnImagePreviewBefore('lytTmplatImage');return false;"><img id="lytTmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 392 |
- </c:otherwise> |
|
| 393 |
- </c:choose> |
|
| 394 |
- </td> |
|
| 395 |
- </tr> |
|
| 396 |
- <tr> |
|
| 397 |
- <td align="center"><div id="lytTmplatNm"><c:out value="${lytTmplatVO.tmplatNm}"/></div></td>
|
|
| 398 |
- </tr> |
|
| 399 |
- <tr> |
|
| 400 |
- <td align="center"><a href="#" onclick="fn_egov_selectTemplate('sit'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 401 |
- </tr> |
|
| 402 |
- </table> |
|
| 403 |
- </td> |
|
| 404 |
- <td> |
|
| 405 |
- <table> |
|
| 406 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">메인화면 게시판</font></strong></td></tr> |
|
| 407 |
- <tr> |
|
| 408 |
- <td> |
|
| 409 |
- <select id="bbsIdList" name="bbsIdList" multiple="multiple" size="11" style="width:120px;height:107px"> |
|
| 410 |
- <c:forEach var="result" items="${siteManageVO.mainContentsList}" varStatus="status">
|
|
| 411 |
- <option value="${result.progrmId}"><c:out value="${result.progrmNm}"/></option>
|
|
| 412 |
- </c:forEach> |
|
| 413 |
- </select> |
|
| 414 |
- </td> |
|
| 415 |
- <td width="40" align="center"> |
|
| 416 |
- <a href="#" onclick="fnContentMove('SMCTS01', 'UP');return false;"><img src="${_IMG}/btn/btn_goup.gif" alt="위로이동"/></a>
|
|
| 417 |
- <br/> |
|
| 418 |
- <a href="#" onclick="fnContentMove('SMCTS01', 'DOWN');return false;"><img src="${_IMG}/btn/btn_godown.gif" alt="아래로이동"/></a>
|
|
| 419 |
- </td> |
|
| 420 |
- </tr> |
|
| 421 |
- <tr> |
|
| 422 |
- <td align="center">추가/삭제</td> |
|
| 423 |
- </tr> |
|
| 424 |
- <tr> |
|
| 425 |
- <td align="center"> |
|
| 426 |
- <a href="#" onclick="fnContentAdd('SMCTS01');return false;"><img src="${_IMG}/btn/btn_plus.gif" alt="추가"/></a>
|
|
| 427 |
- <a href="#" onclick="fnContentDel('SMCTS01');return false;"><img src="${_IMG}/btn/btn_minus.gif" alt="삭제"/></a>
|
|
| 428 |
- </td> |
|
| 429 |
- </tr> |
|
| 430 |
- </table> |
|
| 431 |
- </td> |
|
| 432 |
- </tr> |
|
| 433 |
- </tbody> |
|
| 434 |
- </table> |
|
| 435 |
- </td> |
|
| 436 |
- </tr> |
|
| 437 |
- <tr> |
|
| 438 |
- <th>커뮤니티 레이아웃</th> |
|
| 439 |
- <td> |
|
| 440 |
- <table> |
|
| 441 |
- <caption>커뮤니티 레이아웃 설정폼</caption> |
|
| 442 |
- <colgroup> |
|
| 443 |
- <col width="130"/> |
|
| 444 |
- <col/> |
|
| 445 |
- </colgroup> |
|
| 446 |
- <tbody> |
|
| 447 |
- <tr> |
|
| 448 |
- <td> |
|
| 449 |
- <table> |
|
| 450 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">레이아웃</font></strong></td></tr> |
|
| 451 |
- <tr> |
|
| 452 |
- <td> |
|
| 453 |
- <c:choose> |
|
| 454 |
- <c:when test="${not empty cmySourcVO.prevewFileNm}">
|
|
| 455 |
- <a href="#" onclick="fnImagePreviewBefore('cmySourcImage');return false;"><img id="cmySourcImage" src="${sourcFileStoreWebPathByPreFile}/${cmySourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 456 |
- </c:when> |
|
| 457 |
- <c:otherwise> |
|
| 458 |
- <a href="#" onclick="fnImagePreviewBefore('cmySourcImage');return false;"><img id="cmySourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 459 |
- </c:otherwise> |
|
| 460 |
- </c:choose> |
|
| 461 |
- </td> |
|
| 462 |
- </tr> |
|
| 463 |
- <tr> |
|
| 464 |
- <td align="center"><div id="cmySourcNm"><c:out value="${cmySourcVO.sourcNm}"/></div></td>
|
|
| 465 |
- </tr> |
|
| 466 |
- <tr> |
|
| 467 |
- <td align="center"><a href="#" onclick="fn_egov_selectSourc('cmy'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 468 |
- </tr> |
|
| 469 |
- </table> |
|
| 470 |
- </td> |
|
| 471 |
- <td> |
|
| 472 |
- <table> |
|
| 473 |
- <tr><td align="center" style="height:30px;background-color:rgb(248, 248, 248)"><strong><font color="#666666">템플릿</font></strong></td></tr> |
|
| 474 |
- <tr> |
|
| 475 |
- <td> |
|
| 476 |
- <c:choose> |
|
| 477 |
- <c:when test="${not empty cmyTmplatVO.prevewFileNm}">
|
|
| 478 |
- <a href="#" onclick="fnImagePreviewBefore('cmyTmplatImage');return false;"><img id="cmyTmplatImage" src="${tmplatFileStoreWebPathByPreFile}/${cmyTmplatVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 479 |
- </c:when> |
|
| 480 |
- <c:otherwise> |
|
| 481 |
- <a href="#" onclick="fnImagePreviewBefore('cmyTmplatImage');return false;"><img id="cmyTmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a>
|
|
| 482 |
- </c:otherwise> |
|
| 483 |
- </c:choose> |
|
| 484 |
- </td> |
|
| 485 |
- </tr> |
|
| 486 |
- <tr> |
|
| 487 |
- <td align="center"><div id="cmyTmplatNm"><c:out value="${cmyTmplatVO.tmplatNm}"/></div></td>
|
|
| 488 |
- </tr> |
|
| 489 |
- <tr> |
|
| 490 |
- <td align="center"><a href="#" onclick="fn_egov_selectTemplate('cmy'); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td>
|
|
| 491 |
- </tr> |
|
| 492 |
- </table> |
|
| 493 |
- </td> |
|
| 494 |
- </tr> |
|
| 495 |
- </tbody> |
|
| 496 |
- </table> |
|
| 497 |
- </td> |
|
| 498 |
- </tr> |
|
| 499 |
- <c:if test="${_MODE eq 'REG'}">
|
|
| 500 |
- <tr> |
|
| 501 |
- <th>기본메뉴 자동생성</th> |
|
| 502 |
- <td> |
|
| 503 |
- <spring:message code="button.yes" /> : <form:radiobutton path="autoMakeMenuAt" value="Y" /> |
|
| 504 |
- <spring:message code="button.no" /> : <form:radiobutton path="autoMakeMenuAt" value="N" /> |
|
| 505 |
- </td> |
|
| 506 |
- </tr> |
|
| 507 |
- </c:if> |
|
| 508 |
- <tr> |
|
| 509 |
- <th>보안설정 <c:if test="${USER_INFO.userSe > 10}">[<input type="checkbox" id="scrtySetupBtcbAt" name="scrtySetupBtcbAt" value="Y"/><label for="scrtySetupBtcbAt">일괄적용</label>]</c:if>
|
|
| 510 |
- </th> |
|
| 511 |
- <td> |
|
| 512 |
- <table> |
|
| 513 |
- <caption>보안설정폼</caption> |
|
| 514 |
- <colgroup> |
|
| 515 |
- <col width="130"/> |
|
| 516 |
- <col/> |
|
| 517 |
- </colgroup> |
|
| 518 |
- <tbody> |
|
| 519 |
- <tr> |
|
| 520 |
- <th> <label>마우스보안허용</label></th> |
|
| 521 |
- <td> |
|
| 522 |
- <spring:message code="button.yes" /> : <form:radiobutton path="mouseScrtyApplcAt" value="Y" /> |
|
| 523 |
- <spring:message code="button.no" /> : <form:radiobutton path="mouseScrtyApplcAt" value="N" /> |
|
| 524 |
- <br/><form:errors path="mouseScrtyApplcAt" /> |
|
| 525 |
- </td> |
|
| 526 |
- </tr> |
|
| 527 |
- <tr> |
|
| 528 |
- <th> <label>키보드보안허용</label></th> |
|
| 529 |
- <td> |
|
| 530 |
- <spring:message code="button.yes" /> : <form:radiobutton path="kybrdScrtyApplcAt" value="Y" /> |
|
| 531 |
- <spring:message code="button.no" /> : <form:radiobutton path="kybrdScrtyApplcAt" value="N" /> |
|
| 532 |
- <br/><form:errors path="kybrdScrtyApplcAt" /> |
|
| 533 |
- </td> |
|
| 534 |
- </tr> |
|
| 535 |
- <tr style="display:none"> |
|
| 536 |
- <th> <label>중복로그인허용</label></th> |
|
| 537 |
- <td> |
|
| 538 |
- <spring:message code="button.yes" /> : <form:radiobutton path="dplctLoginPermAt" value="Y" /> |
|
| 539 |
- <spring:message code="button.no" /> : <form:radiobutton path="dplctLoginPermAt" value="N" /> |
|
| 540 |
- <br/><form:errors path="dplctLoginPermAt" /> |
|
| 541 |
- </td> |
|
| 542 |
- </tr> |
|
| 543 |
- <tr style="display:none"> |
|
| 544 |
- <th> <label><em>*</em> 비밀번호길이</label></th> |
|
| 545 |
- <td> |
|
| 546 |
- <form:input path="passwordMummLt" size="5" cssClass="inp"/> ~ <form:input path="passwordMxmmLt" size="5" cssClass="inp"/> |
|
| 547 |
- </td> |
|
| 548 |
- </tr> |
|
| 549 |
- <tr style="display:none"> |
|
| 550 |
- <th> <label><em>*</em> 비밀번호조합</label></th> |
|
| 551 |
- <td> |
|
| 552 |
- <form:checkbox path="passwordNumberPolicyAt" value="Y" label="숫자"/> + |
|
| 553 |
- <form:checkbox path="passwordChrctrPolicyAt" value="Y" label="문자"/> + |
|
| 554 |
- <form:checkbox path="passwordSpclchrctrPolicyAt" value="Y" label="특수문자"/> |
|
| 555 |
- </td> |
|
| 556 |
- </tr> |
|
| 557 |
- <tr style="display:none"> |
|
| 558 |
- <th> <label><em>*</em> 비밀번호변경주기</label></th> |
|
| 559 |
- <td> |
|
| 560 |
- <form:input path="passwordChangeCycle" size="5" cssClass="inp"/>개월 |
|
| 561 |
- </td> |
|
| 562 |
- </tr> |
|
| 563 |
- </tbody> |
|
| 564 |
- </table> |
|
| 565 |
- </td> |
|
| 566 |
- </tr> |
|
| 567 |
- <tr> |
|
| 568 |
- <th>활성여부</th> |
|
| 569 |
- <td> |
|
| 570 |
- <spring:message code="button.yes" /> : <form:radiobutton path="actvtyAt" value="Y" /> |
|
| 571 |
- <spring:message code="button.no" /> : <form:radiobutton path="actvtyAt" value="N" /> |
|
| 572 |
- <br/><form:errors path="actvtyAt" /> |
|
| 573 |
- </td> |
|
| 574 |
- </tr> |
|
| 575 |
- |
|
| 576 |
- </tbody> |
|
| 577 |
- <tfoot> |
|
| 578 |
- </tfoot> |
|
| 579 |
- </table> |
|
| 580 |
- |
|
| 581 |
- <div class="btn_r"> |
|
| 582 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/>
|
|
| 583 |
- <c:url var="listUrl" value="/mng/sym/sit/selectSiteInfoList.do"> |
|
| 584 |
- <c:param name="pageIndex" value="${searchVO.pageIndex}" />
|
|
| 585 |
- <c:param name="searchCondition" value="${searchVO.searchCondition}" />
|
|
| 586 |
- <c:param name="searchKeyword" value="${searchVO.searchKeyword}" />
|
|
| 587 |
- </c:url> |
|
| 588 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 589 |
- </div> |
|
| 590 |
- |
|
| 591 |
- </fieldset> |
|
| 592 |
- </form:form> |
|
| 619 |
+ </c:url> |
|
| 620 |
+ <a href="${listUrl}" class="btn-lg">목록</a>
|
|
| 621 |
+ </div> |
|
| 622 |
+ </fieldset> |
|
| 623 |
+</form:form> |
|
| 593 | 624 |
|
| 594 |
- </div> |
|
| 595 | 625 |
|
| 596 |
- <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
|
| 626 |
+<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
... | ... | @@ -1,14 +1,7 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 6 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 7 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 8 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 9 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 10 | 3 |
|
| 11 |
-<script type="text/javaScript"> |
|
| 4 |
+<script> |
|
| 12 | 5 |
|
| 13 | 6 |
function fnDelete(url) {
|
| 14 | 7 |
if(confirm('<spring:message code="common.delete.msg" />')){
|
... | ... | @@ -17,7 +10,6 @@ |
| 17 | 10 |
} |
| 18 | 11 |
|
| 19 | 12 |
$(document).ready( function() {
|
| 20 |
- |
|
| 21 | 13 |
$('#searchBlngEduInstCd').change( function() {
|
| 22 | 14 |
$('#searchSchlGrdCd').val('').attr("selected", true);
|
| 23 | 15 |
if($(this).val() == 'ZZZZZZZZZZZZZZZZZZZZ') {
|
... | ... | @@ -107,29 +99,53 @@ |
| 107 | 99 |
}); |
| 108 | 100 |
</script> |
| 109 | 101 |
|
| 102 |
+<div class="sch-box"> |
|
| 103 |
+ <div class="write-type1"> |
|
| 104 |
+ <table> |
|
| 105 |
+ <caption>검색</caption> |
|
| 106 |
+ <colgroup> |
|
| 107 |
+ <col style="width:100px"> |
|
| 108 |
+ <col> |
|
| 109 |
+ </colgroup> |
|
| 110 |
+ <tbody> |
|
| 111 |
+ <tr> |
|
| 112 |
+ <th scope="row">사이트</th> |
|
| 113 |
+ <td colspan="3"> |
|
| 114 |
+ <select id="searchBlngEduInstCd" name="searchBlngEduInstCd" style="display:none"> |
|
| 115 |
+ <option value="">지역별</option> |
|
| 116 |
+ <c:forEach var="result" items="${areaList}" varStatus="status">
|
|
| 117 |
+ <option value="${result.orgCd}" <c:if test="${result.orgCd eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if> >${result.schlShrNm}</option>
|
|
| 118 |
+ </c:forEach> |
|
| 119 |
+ <option value="ZZZZZZZZZZZZZZZZZZZZ" <c:if test="${'ZZZZZZZZZZZZZZZZZZZZ' eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if>>기타</option>
|
|
| 120 |
+ </select> |
|
| 110 | 121 |
|
| 111 |
- <select id="searchBlngEduInstCd" name="searchBlngEduInstCd" style="display:none"> |
|
| 112 |
- <option value="">지역별</option> |
|
| 113 |
- <c:forEach var="result" items="${areaList}" varStatus="status">
|
|
| 114 |
- <option value="${result.orgCd}" <c:if test="${result.orgCd eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if> >${result.schlShrNm}</option>
|
|
| 115 |
- </c:forEach> |
|
| 116 |
- <option value="ZZZZZZZZZZZZZZZZZZZZ" <c:if test="${'ZZZZZZZZZZZZZZZZZZZZ' eq orgCodeVO.searchBlngEduInstCd}">selected="selected"</c:if>>기타</option>
|
|
| 117 |
- </select> |
|
| 118 |
- |
|
| 119 |
- <select name="searchSchlGrdCd" id="searchSchlGrdCd"> |
|
| 120 |
- <%-- <option value="">급별</option> --%> |
|
| 121 |
- <c:forEach var="result" items="${schlGrdList}" varStatus="status">
|
|
| 122 |
- <option value="${result.code}" <c:if test="${orgCodeVO.schlGrdCd eq result.code}">selected="selected"</c:if> ><c:out value="${result.codeNm}"/></option>
|
|
| 123 |
- </c:forEach> |
|
| 124 |
- </select> |
|
| 125 |
- <select id="siteId" name="siteId" class="inp_s"> |
|
| 126 |
- <option value=''>사이트선택(0)</option> |
|
| 127 |
- <option value=''>hey</option> |
|
| 128 |
- </select> |
|
| 129 |
- <c:if test="${orgCodeVO.initMode ne 'SELECT' }">
|
|
| 130 |
- <input type="checkbox" id="chkSave" name="chkSave" value="Y"/><label for="chkSave" style="color:#3268c8;font-size:11px;font-weight:bold">저장</label> |
|
| 131 |
- <c:if test="${orgCodeVO.initMode ne 'SELECT_HIDE' }">
|
|
| 132 |
- <input id="btnSiteSearch" name="btnSiteSearch" type="image" src="${_IMG}/board/btn_search2.gif" alt="검색" />
|
|
| 133 |
- </c:if> |
|
| 134 |
- </c:if> |
|
| 122 |
+ <select name="searchSchlGrdCd" id="searchSchlGrdCd"> |
|
| 123 |
+ <%-- <option value="">급별</option> --%> |
|
| 124 |
+ <c:forEach var="result" items="${schlGrdList}" varStatus="status">
|
|
| 125 |
+ <option value="${result.code}" <c:if test="${orgCodeVO.schlGrdCd eq result.code}">selected="selected"</c:if> ><c:out value="${result.codeNm}"/></option>
|
|
| 126 |
+ </c:forEach> |
|
| 127 |
+ </select> |
|
| 128 |
+ |
|
| 129 |
+ <select id="siteId" name="siteId"> |
|
| 130 |
+ <option value=''>사이트선택(0)</option> |
|
| 131 |
+ </select> |
|
| 132 |
+ |
|
| 133 |
+ <c:if test="${orgCodeVO.initMode ne 'SELECT' }">
|
|
| 134 |
+ <div class="checkradio"> |
|
| 135 |
+ <input type="checkbox" id="chkSave" name="chkSave" value="Y"> |
|
| 136 |
+ <label for="chkSave">저장</label> |
|
| 137 |
+ </div> |
|
| 138 |
+ <%--<input type="checkbox" id="chkSave" /><label for="chkSave" style="color:#3268c8;font-size:11px;font-weight:bold">저장</label>--%> |
|
| 139 |
+ <c:if test="${orgCodeVO.initMode ne 'SELECT_HIDE' }">
|
|
| 140 |
+ <button type="submit" id="btnSiteSearch" name="btnSiteSearch" class="btn spot2">검색</button> |
|
| 141 |
+ </c:if> |
|
| 142 |
+ </c:if> |
|
| 143 |
+ </td> |
|
| 144 |
+ </tr> |
|
| 145 |
+ </tbody> |
|
| 146 |
+ </table> |
|
| 147 |
+ </div> |
|
| 148 |
+</div> |
|
| 149 |
+ |
|
| 150 |
+ |
|
| 135 | 151 |
(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListInqire.jsp
... | ... | @@ -1,14 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 6 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 7 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 8 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 9 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 10 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>" /> |
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 12 | 3 |
|
| 13 | 4 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
| 14 | 5 |
<c:param name="menu" value="SYSTEM_MANAGE"/> |
... | ... | @@ -17,9 +8,6 @@ |
| 17 | 8 |
<c:param name="title" value="사이트관리"/> |
| 18 | 9 |
</c:import> |
| 19 | 10 |
|
| 20 |
-<div id="cntnts"> |
|
| 21 |
- |
|
| 22 |
- |
|
| 23 | 11 |
<c:if test="${USER_INFO.userSe > 10}">
|
| 24 | 12 |
<form name="SiteListForm" action="/mng/sym/sit/selectSiteInfoList.do" method="post"> |
| 25 | 13 |
<div id="bbs_search"> |
... | ... | @@ -28,61 +16,60 @@ |
| 28 | 16 |
</form> |
| 29 | 17 |
</c:if> |
| 30 | 18 |
|
| 31 |
- <!-- contents start --> |
|
| 32 |
- <form name="SiteListForm" action="<c:url value='/mng/sym/sit/selectSiteInfoList.do'/>" method="post"> |
|
| 33 |
- <input name="pageIndex" type="hidden" value="1" /> |
|
| 34 |
- <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 19 |
+ <!-- contents start --> |
|
| 20 |
+ <form name="SiteListForm" action="<c:url value='/mng/sym/sit/selectSiteInfoList.do'/>" method="post"> |
|
| 21 |
+ <input name="pageIndex" type="hidden" value="1" /> |
|
| 22 |
+ <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 35 | 23 |
|
| 36 |
- <p class="total">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 37 |
- |
|
| 38 |
- <table class="chart_board"> |
|
| 39 |
- <colgroup> |
|
| 40 |
- <col class="co1"/> |
|
| 41 |
- <col class="co3"/> |
|
| 42 |
- <col class="co3"/> |
|
| 43 |
- <col class="co6"/> |
|
| 44 |
- <col class="co6"/> |
|
| 45 |
- </colgroup> |
|
| 46 |
- <thead> |
|
| 47 |
- <tr> |
|
| 48 |
- <th>번호</th> |
|
| 49 |
- <th>사이트명</th> |
|
| 50 |
- <th>사이트도메인</th> |
|
| 51 |
- <th>등록일자</th> |
|
| 52 |
- <th>수정</th> |
|
| 53 |
- </tr> |
|
| 54 |
- </thead> |
|
| 55 |
- <tbody> |
|
| 24 |
+ <p class="total-count">총 사이트 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 56 | 25 |
|
| 57 |
- <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 58 |
- <tr> |
|
| 59 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 60 |
- <td><c:out value="${resultInfo.siteNm}"/></td>
|
|
| 61 |
- <td><a href="http://<c:out value="${resultInfo.siteUrl}"/>" target="_blank"><c:out value="${resultInfo.siteUrl}"/></a></td>
|
|
| 62 |
- <td><fmt:formatDate value="${resultInfo.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 63 |
- <td> |
|
| 64 |
- <c:url var="viewUrl" value="/mng/sym/sit/selectSiteInfo.do"> |
|
| 65 |
- <c:param name="siteId" value="${resultInfo.siteId}" />
|
|
| 66 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 67 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 68 |
- <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 69 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 70 |
- </c:url> |
|
| 71 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 72 |
- |
|
| 73 |
- </td> |
|
| 74 |
- </tr> |
|
| 75 |
- </c:forEach> |
|
| 76 |
- |
|
| 77 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 78 |
- <tr> |
|
| 79 |
- <td class="listCenter" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 80 |
- </tr> |
|
| 81 |
- </c:if> |
|
| 82 |
- |
|
| 83 |
- </tbody> |
|
| 84 |
- </table> |
|
| 85 |
- </form> |
|
| 86 |
- </div> |
|
| 26 |
+ <div class="list-type sm"> |
|
| 27 |
+ <table> |
|
| 28 |
+ <colgroup> |
|
| 29 |
+ <col style="width:110px"> |
|
| 30 |
+ <col> |
|
| 31 |
+ <col> |
|
| 32 |
+ <col style="width:160px"> |
|
| 33 |
+ <col style="width:130px"> |
|
| 34 |
+ </colgroup> |
|
| 35 |
+ <thead> |
|
| 36 |
+ <tr> |
|
| 37 |
+ <th scope="col">번호</th> |
|
| 38 |
+ <th scope="col">사이트명</th> |
|
| 39 |
+ <th scope="col">사이트도메인</th> |
|
| 40 |
+ <th scope="col">등록일자</th> |
|
| 41 |
+ <th scope="col">수정</th> |
|
| 42 |
+ </tr> |
|
| 43 |
+ </thead> |
|
| 44 |
+ <tbody> |
|
| 45 |
+ <c:forEach items="${resultList}" var="resultInfo" varStatus="status">
|
|
| 46 |
+ <tr> |
|
| 47 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 48 |
+ <td data-tit="사이트명"><c:out value="${resultInfo.siteNm}"/></td>
|
|
| 49 |
+ <td data-tit="사이트도메인"><a href="//<c:out value="${resultInfo.siteUrl}"/>" target="_blank"><c:out value="${resultInfo.siteUrl}"/></a></td>
|
|
| 50 |
+ <td data-tit="등록일자"><fmt:formatDate value="${resultInfo.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 51 |
+ <td data-tit="수정"> |
|
| 52 |
+ <c:url var="viewUrl" value="/mng/sym/sit/selectSiteInfo.do"> |
|
| 53 |
+ <c:param name="siteId" value="${resultInfo.siteId}" />
|
|
| 54 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 55 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 56 |
+ <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 57 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 58 |
+ </c:url> |
|
| 59 |
+ <div class="btn-cont"> |
|
| 60 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 61 |
+ </div> |
|
| 62 |
+ </td> |
|
| 63 |
+ </tr> |
|
| 64 |
+ </c:forEach> |
|
| 65 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 66 |
+ <tr> |
|
| 67 |
+ <td class="" colspan="5"><spring:message code="common.nodata.msg" /></td> |
|
| 68 |
+ </tr> |
|
| 69 |
+ </c:if> |
|
| 70 |
+ </tbody> |
|
| 71 |
+ </table> |
|
| 72 |
+ </div> |
|
| 73 |
+ </form> |
|
| 87 | 74 |
|
| 88 | 75 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SitePolicy.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SitePolicy.jsp
... | ... | @@ -1,15 +1,5 @@ |
| 1 |
-<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ page import="egovframework.com.cmm.service.EgovProperties"%> |
|
| 3 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> |
|
| 4 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 5 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 6 |
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> |
|
| 7 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 8 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> |
|
| 9 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 10 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>" /> |
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 12 |
-<c:set var="_C_LIB" value="/resources/lib"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 13 | 3 |
|
| 14 | 4 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
| 15 | 5 |
<c:param name="menu" value="SYSTEM_MANAGE"/> |
... | ... | @@ -18,8 +8,8 @@ |
| 18 | 8 |
<c:param name="title" value="사이트관리"/> |
| 19 | 9 |
</c:import> |
| 20 | 10 |
|
| 21 |
-<script src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
|
|
| 22 |
-<script src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
|
|
| 11 |
+<script src="${C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
|
|
| 12 |
+<script src="${C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
|
|
| 23 | 13 |
<script> |
| 24 | 14 |
$(document).ready( function() {
|
| 25 | 15 |
tinymce.init({
|
... | ... | @@ -60,10 +50,9 @@ |
| 60 | 50 |
</c:choose> |
| 61 | 51 |
<textarea id="policy" name="${searchVO.sysTyCode}"><c:out value="${text}"/></textarea>
|
| 62 | 52 |
|
| 63 |
- <div class="btn_r"> |
|
| 64 |
- <input type="image" src="${_IMG}/btn/btn_modify.gif" alt="수정"/>
|
|
| 53 |
+ <div class="btn-cont"> |
|
| 54 |
+ <button type="submit" class="btn spot2">수정</button> |
|
| 65 | 55 |
</div> |
| 66 |
- |
|
| 67 | 56 |
</form> |
| 68 | 57 |
</div> |
| 69 | 58 |
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popBottom.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popBottom.jsp
... | ... | @@ -1,11 +1,18 @@ |
| 1 |
- </div> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 2 | 3 |
|
| 3 |
- </div> |
|
| 4 |
- <!-- container --> |
|
| 4 |
+</div><!-- //body --> |
|
| 5 | 5 |
|
| 6 |
+<!--popup--> |
|
| 7 |
+<div class="dim"></div> |
|
| 6 | 8 |
|
| 7 |
-</div> |
|
| 8 |
-<!-- wrap end --> |
|
| 9 |
+<!--퍼블 layout--> |
|
| 10 |
+<script src="/resources/manage/js/_layout.js"></script> |
|
| 9 | 11 |
|
| 12 |
+<script src="/resources/manage/js/jquery-ui.min.js"></script> |
|
| 13 |
+<script src="/resources/manage/js/jquery.easing.1.3.js"></script> |
|
| 14 |
+<script src="/resources/manage/js/ssm.min.js"></script> |
|
| 15 |
+<script src="/resources/manage/js/swiper-bundle.js"></script> |
|
| 16 |
+<script src="/resources/manage/js/common.js"></script> |
|
| 10 | 17 |
</body> |
| 11 | 18 |
</html>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popTop.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popTop.jsp
... | ... | @@ -1,33 +1,44 @@ |
| 1 | 1 |
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 4 |
-<c:url var="jsPath" value="../../js/egovframework" /> |
|
| 5 |
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
| 6 |
-<html xmlns="http://www.w3.org/1999/xhtml"> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 4 |
+<!DOCTYPE html> |
|
| 5 |
+<html lang="ko"> |
|
| 7 | 6 |
<head> |
| 8 |
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
| 9 |
-<title><c:out value="${param.title}"/></title>
|
|
| 10 |
-<script src="/resources/template/common/js/jquery/jquery-1.9.1.min.js"></script> |
|
| 11 |
-<link href="/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.css" rel="stylesheet"/> |
|
| 12 |
-<script src="/resources/lib/jquery-ui-1.12.1.custom/jquery-ui.js"></script> |
|
| 13 |
-<link type="text/css" rel="stylesheet" href="<c:url value='/resources/template/manage/css/default.css'/>"/> |
|
| 14 |
-<link type="text/css" rel="stylesheet" href="<c:url value='/resources/template/manage/css/page.css'/>"/> |
|
| 15 |
-<link type="text/css" rel="stylesheet" href="<c:url value='/resources/template/manage/css/com.css'/>"/> |
|
| 16 |
-<script type="text/javascript" src="/resources/template/common/js/common.js"></script> |
|
| 17 |
-<c:if test="${not empty param.validator }">
|
|
| 18 |
- <script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 19 |
- <validator:javascript formName="${param.validator }" staticJavascript="false" xhtml="true" cdata="false"/>
|
|
| 20 |
-</c:if> |
|
| 7 |
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
|
| 8 |
+ <meta name="format-detection" content="telephone=no"> |
|
| 9 |
+ <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
| 10 |
+ <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" /> |
|
| 11 |
+ |
|
| 12 |
+ <title><c:out value='${param.title}'/></title>
|
|
| 13 |
+ |
|
| 14 |
+ <link href="/resources/manage/css/style.css" rel="stylesheet" /> |
|
| 15 |
+ |
|
| 16 |
+ <script src="/resources/manage/js/jquery-3.6.0.min.js"></script> |
|
| 17 |
+ <script src="<c:url value='/resources/template/common/js/common.js'/>"></script> |
|
| 18 |
+ <c:if test="${not empty param.validator }">
|
|
| 19 |
+ <script src="<c:url value="/validator.do"/>"></script> |
|
| 20 |
+ <validator:javascript formName="${param.validator }" staticJavascript="false" xhtml="true" cdata="false"/>
|
|
| 21 |
+ </c:if> |
|
| 22 |
+ <style type="text/css"> |
|
| 23 |
+ .body {
|
|
| 24 |
+ padding: 0 50px; |
|
| 25 |
+ } |
|
| 26 |
+ |
|
| 27 |
+ .body > h1 {
|
|
| 28 |
+ margin: 80px 0 20px; |
|
| 29 |
+ font-size: 24px; |
|
| 30 |
+ font-weight: 500; |
|
| 31 |
+ } |
|
| 32 |
+ |
|
| 33 |
+ .body > .gtit {
|
|
| 34 |
+ font-weight: 600; |
|
| 35 |
+ font-size: 40px; |
|
| 36 |
+ border-bottom: 1px solid #111; |
|
| 37 |
+ padding-bottom: 30px; |
|
| 38 |
+ } |
|
| 39 |
+ </style> |
|
| 21 | 40 |
</head> |
| 22 | 41 |
<body> |
| 23 |
-<c:set var="mngimg" value="/resources/template/manage/images"/> |
|
| 24 |
-<div id="wrap"> |
|
| 42 |
+<div class="body"> |
|
| 43 |
+ <h1 class="gtit"><c:out value="${param.title}"/></h1>
|
|
| 25 | 44 |
|
| 26 |
- |
|
| 27 |
- <div id="container"> |
|
| 28 |
- |
|
| 29 |
- <div id="navi"> |
|
| 30 |
- <h2 class="naviTit"><c:out value="${param.title}"/></h2>
|
|
| 31 |
- </div> |
|
| 32 |
- |
|
| 33 |
- <div id="contents"> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp
... | ... | @@ -14,10 +14,7 @@ |
| 14 | 14 |
|
| 15 | 15 |
<link href="/resources/manage/css/style.css" rel="stylesheet" /> |
| 16 | 16 |
|
| 17 |
- <script src="<c:url value='/resources/template/common/js/jquery/jquery-1.9.1.min.js'/>"></script> |
|
| 18 |
- <script src="<c:url value='/resources/template/common/js/jquery/jquery-ui.min.js'/>"></script> |
|
| 19 |
- <script src="<c:url value='/resources/template/common/js/jquery/jquery.timepicker.min.js'/>"></script> |
|
| 20 |
- <script src="<c:url value='/resources/template/common/js/jquery/ui/i18n/jquery.ui.datepicker-ko.js'/>" charset="utf-8"></script> |
|
| 17 |
+ <script src="/resources/manage/js/jquery-3.6.0.min.js"></script> |
|
| 21 | 18 |
<script src="<c:url value='/resources/template/common/js/common.js'/>"></script> |
| 22 | 19 |
<c:if test="${not empty param.validator }">
|
| 23 | 20 |
<script src="<c:url value="/validator.do"/>"></script> |
... | ... | @@ -47,7 +44,7 @@ |
| 47 | 44 |
<img src="/resources/manage/image/logo/logo.svg" alt="logo" /> |
| 48 | 45 |
</a> |
| 49 | 46 |
</h1> |
| 50 |
- <!-- 대메뉴 목록 --> |
|
| 47 |
+ <%-- 대메뉴 목록 --%> |
|
| 51 | 48 |
<nav class="site-gnb"> |
| 52 | 49 |
<ul> |
| 53 | 50 |
<c:if test="${USER_INFO.userSe > 10 }">
|
... | ... | @@ -57,7 +54,7 @@ |
| 57 | 54 |
<li><a href="<c:url value="/mng/usr/mberManage.do"/>" <c:if test="${param.menu eq 'MBER_MANAGE' }">class="is-current"</c:if>>회원관리</a></li>
|
| 58 | 55 |
|
| 59 | 56 |
<li><a href="<c:url value="/mng/cop/bbs/SelectBBSMasterInfs.do"/>" <c:if test="${param.menu eq 'BOARD_MANAGE' }">class="is-current"</c:if>>게시판관리</a></li>
|
| 60 |
- <%-- <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do"/>" <c:if test="${param.menu eq 'EVENT_MANAGE' }">class="is-current"</c:if> target="_self">통합캘린더관리</a></li> --%>
|
|
| 57 |
+ <%-- <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do"/>" <c:if test="${param.menu eq 'EVENT_MANAGE' }">class="is-current"</c:if>>통합캘린더관리</a></li> --%>
|
|
| 61 | 58 |
<li><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=H"/>" <c:if test="${param.menu eq 'STAT_MANAGE' }">class="is-current"</c:if>>통계관리</a></li>
|
| 62 | 59 |
<li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN001"/>" <c:if test="${param.menu eq 'ETC_MANAGE' }">class="is-current"</c:if>>기타관리</a></li>
|
| 63 | 60 |
</ul> |
... | ... | @@ -71,180 +68,122 @@ |
| 71 | 68 |
</div> |
| 72 | 69 |
</header> |
| 73 | 70 |
<div class="site-body" id="skipToContents"> |
| 74 |
- <!-- 좌측메뉴 목록 --> |
|
| 71 |
+ <%-- 좌측메뉴 목록 --%> |
|
| 75 | 72 |
<div class="lnb-area"> |
| 76 |
- |
|
| 77 |
- </div> |
|
| 78 |
- <div class="container"> |
|
| 79 |
- <div class="contents"> |
|
| 80 |
- |
|
| 81 |
- |
|
| 82 |
- |
|
| 83 |
-<div id="wrap"> |
|
| 84 |
- <div id="header"> |
|
| 85 |
- <div class="topLc"> |
|
| 86 |
- <h1 class="logo"><a href="<c:url value="/mng/index.do"/>"><img src="${mngimg}/logo_admin.gif" alt="관리자 페이지"/></a></h1>
|
|
| 87 |
- <div id="topMenu"> |
|
| 88 |
- <ul class="list"> |
|
| 89 |
- <li><span class="nonBtn"><c:out value="${USER_INFO.name}"/>님</span></li>
|
|
| 90 |
- <li><a href="<%=egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper.getRedirectLogoutUrl()%>" class="nonBtn">로그아웃</a></li> |
|
| 91 |
- </ul> |
|
| 92 |
- </div> |
|
| 93 |
- </div> |
|
| 94 |
- <!-- 대메뉴 목록 --> |
|
| 95 |
- <div id="mainMenu"> |
|
| 96 |
- <ul class="list"> |
|
| 73 |
+ <nav class="lnb"> |
|
| 74 |
+ <ul class="depth1"> |
|
| 75 |
+ <%-- |
|
| 76 |
+ <li> |
|
| 77 |
+ <a href="#none" class="is-current">내 문항</a> |
|
| 78 |
+ <ul class="depth2"> |
|
| 79 |
+ <li><a href="#none" class="is-current">임시보관함</a></li> |
|
| 80 |
+ <li><a href="#none">문항 보관함</a></li> |
|
| 81 |
+ </ul> |
|
| 82 |
+ </li> |
|
| 83 |
+ --%> |
|
| 97 | 84 |
<c:choose> |
| 98 |
- <c:when test="${param.menu eq 'SYSTEM_MANAGE' }"> <!-- 시스템관리 -->
|
|
| 99 |
- <ul class="list"> |
|
| 100 |
- <li class="smnu"><a href="<c:url value="/mng/sym/sit/selectSiteInfoList.do"/>" <c:if test="${param.depth1 eq 'SITE_MANAGE' }">class="slt"</c:if>>사이트관리</a></li>
|
|
| 101 |
- <li class="smnu"><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=useStplat" <c:if test="${param.depth1 eq 'SITE_POLICY' }">class="slt"</c:if>>약관관리</a>
|
|
| 102 |
- <ul class="slist"> |
|
| 103 |
- <li><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=useStplat" <c:if test="${param.depth2 eq 'useStplat' }">class="slt"</c:if>>이용약관</a></li>
|
|
| 104 |
- <li><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=indvdlInfoPolicy" <c:if test="${param.depth2 eq 'indvdlInfoPolicy' }">class="slt"</c:if>>개인정보처리방침</a></li>
|
|
| 105 |
- <li><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=marktPolicy" <c:if test="${param.depth2 eq 'marktPolicy' }">class="slt"</c:if>>마케팅광고동의</a></li>
|
|
| 106 |
- </ul> |
|
| 107 |
- </li> |
|
| 108 |
- |
|
| 109 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 110 |
- <li class="smnu"><a href="<c:url value="/mng/cop/com/selectLytTemplateList.do"/>" <c:if test="${param.depth1 eq 'TMPLAT_MANAGE' }">class="slt"</c:if>>템플릿관리</a></li>
|
|
| 111 |
- <li class="smnu"><a href="<c:url value="/mng/cop/com/selectLytSourcList.do"/>" <c:if test="${param.depth1 eq 'SOURC_MANAGE' }">class="slt"</c:if>>레이아웃 관리</a></li>
|
|
| 112 |
- <li class="smnu"><a href="<c:url value="/mng/sym/ccm/cca/EgovCcmCmmnCodeList.do"/>" <c:if test="${param.depth1 eq 'CODE_MANAGE' }">class="slt"</c:if>>공통코드관리</a></li>
|
|
| 113 |
- </c:if> |
|
| 114 |
- </ul> |
|
| 85 |
+ <%-- 시스템관리 --%> |
|
| 86 |
+ <c:when test="${param.menu eq 'SYSTEM_MANAGE' }">
|
|
| 87 |
+ <li><a href="<c:url value="/mng/sym/sit/selectSiteInfoList.do"/>" <c:if test="${param.depth1 eq 'SITE_MANAGE' }">class="is-current"</c:if>>사이트관리</a></li>
|
|
| 88 |
+ <li <c:if test="${param.depth1 eq 'SITE_POLICY' }">class="is-active"</c:if>><a href="#none" <c:if test="${param.depth1 eq 'SITE_POLICY' }">class="is-current"</c:if>>약관관리</a>
|
|
| 89 |
+ <ul class="depth2"> |
|
| 90 |
+ <li><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=useStplat" <c:if test="${param.depth2 eq 'useStplat' }">class="is-current"</c:if>>이용약관</a></li>
|
|
| 91 |
+ <li><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=indvdlInfoPolicy" <c:if test="${param.depth2 eq 'indvdlInfoPolicy' }">class="is-current"</c:if>>개인정보처리방침</a></li>
|
|
| 92 |
+ <li><a href="/mng/sym/sit/sitePolicy.do?sysTyCode=marktPolicy" <c:if test="${param.depth2 eq 'marktPolicy' }">class="is-current"</c:if>>마케팅광고동의</a></li>
|
|
| 93 |
+ </ul> |
|
| 94 |
+ </li> |
|
| 95 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 96 |
+ <li><a href="<c:url value="/mng/cop/com/selectLytTemplateList.do"/>" <c:if test="${param.depth1 eq 'TMPLAT_MANAGE' }">class="is-current"</c:if>>템플릿관리</a></li>
|
|
| 97 |
+ <li><a href="<c:url value="/mng/cop/com/selectLytSourcList.do"/>" <c:if test="${param.depth1 eq 'SOURC_MANAGE' }">class="is-current"</c:if>>레이아웃 관리</a></li>
|
|
| 98 |
+ <li><a href="<c:url value="/mng/sym/ccm/cca/EgovCcmCmmnCodeList.do"/>" <c:if test="${param.depth1 eq 'CODE_MANAGE' }">class="is-current"</c:if>>공통코드관리</a></li>
|
|
| 99 |
+ </c:if> |
|
| 115 | 100 |
</c:when> |
| 116 |
- |
|
| 117 |
- <c:when test="${param.menu eq 'MENUCNTNTS_MANAGE' }"> <!-- 메뉴/콘텐츠관리 -->
|
|
| 118 |
- <ul class="list"> |
|
| 119 |
- <li class="smnu"><a href="<c:url value="/mng/sym/mpm/selectMpmList.do"/>" <c:if test="${param.depth1 eq 'MENU_MANAGE' }">class="slt"</c:if> target="_self">메뉴관리</a></li>
|
|
| 101 |
+ <%-- 메뉴관리 --%> |
|
| 102 |
+ <c:when test="${param.menu eq 'MENUCNTNTS_MANAGE' }">
|
|
| 103 |
+ <li><a href="<c:url value="/mng/sym/mpm/selectMpmList.do"/>" <c:if test="${param.depth1 eq 'MENU_MANAGE' }">class="is-current"</c:if>>메뉴관리</a></li>
|
|
| 104 |
+ <%-- |
|
| 105 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 106 |
+ <li><a href="<c:url value="/mng/sym/mpm/selectMpmList.do?siteId=${MENU_AUTO_MAKE_SITE_ID}"/>" <c:if test="${param.depth1 eq 'MENU_AUTHO_MANAGE' }">class="is-current"</c:if>>기본 자동생성 메뉴관리</a></li>
|
|
| 107 |
+ </c:if> |
|
| 108 |
+ --%> |
|
| 109 |
+ </c:when> |
|
| 110 |
+ <%-- 게시판관리 --%> |
|
| 111 |
+ <c:when test="${param.menu eq 'BOARD_MANAGE' }">
|
|
| 112 |
+ <li><a href="<c:url value="/mng/cop/bbs/SelectBBSMasterInfs.do"/>" <c:if test="${param.depth1 eq 'BOARD_ADMIN' }">class="is-current"</c:if>>게시판관리</a></li>
|
|
| 113 |
+ <li><a href="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"/>" <c:if test="${param.depth1 eq 'CTGRY_ADMIN' }">class="is-current"</c:if>>카테고리관리</a></li>
|
|
| 114 |
+ <c:if test="${USER_INFO.userSe > 10}">
|
|
| 115 |
+ <li><a href="<c:url value="/mng/cop/com/selectBbsTemplateList.do"/>" <c:if test="${param.depth1 eq 'TMPLAT_MANAGE' }">class="is-current"</c:if>>게시판 템플릿 관리</a></li>
|
|
| 116 |
+ <li><a href="<c:url value="/mng/cop/com/selectBbsSourcList.do"/>" <c:if test="${param.depth1 eq 'SOURC_MANAGE' }">class="is-current"</c:if>>게시판 소스 관리</a></li>
|
|
| 117 |
+ </c:if> |
|
| 118 |
+ </c:when> |
|
| 119 |
+ <%-- 회원관리 --%> |
|
| 120 |
+ <c:when test="${param.menu eq 'MBER_MANAGE' }">
|
|
| 121 |
+ <li><a href="<c:url value="/mng/usr/mberManage.do"/>" <c:if test="${param.depth2 eq 'PROF_MANAGE' }">class="is-current"</c:if>>회원관리</a></li>
|
|
| 122 |
+ </c:when> |
|
| 123 |
+ <%-- 통합캘린더관리 --%> |
|
| 124 |
+ <c:when test="${param.menu eq 'EVENT_MANAGE' }">
|
|
| 125 |
+ <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do"/>" <c:if test="${param.depth1 eq 'EVENT_LIST' }">class="is-current"</c:if>>통합캘린더관리</a></li>
|
|
| 126 |
+ </c:when> |
|
| 127 |
+ <%-- SMS/이메일관리 --%> |
|
| 128 |
+ <c:when test="${param.menu eq 'SMS_MANAGE' }">
|
|
| 129 |
+ <li><a href="/mng/sms/selectSmsManage.do" <c:if test="${param.depth1 eq 'SMS_SEND' }">class="is-current"</c:if>>SMS/이메일관리</a>
|
|
| 130 |
+ <ul class="depth2"> |
|
| 131 |
+ <li><a href="/mng/sms/selectSmsManage.do" <c:if test="${param.depth2 eq 'SMS' }">class="is-current"</c:if>>개별메시지전송</a></li>
|
|
| 132 |
+ <li><a href="/mng/sms/selectMmsManage.do" <c:if test="${param.depth2 eq 'MMS' }">class="is-current"</c:if>>그룹메세지전송</a></li>
|
|
| 133 |
+ <!-- <li><a href="<c:url value="/mng/ems/selectEmsManage.do"/>" <c:if test="${param.depth2 eq 'EMS' }">class="is-current"</c:if>>이메일전송</a></li> -->
|
|
| 134 |
+ </ul> |
|
| 135 |
+ </li> |
|
| 136 |
+ </c:when> |
|
| 137 |
+ <%-- 통계관리 --%> |
|
| 138 |
+ <c:when test="${param.menu eq 'STAT_MANAGE' }">
|
|
| 139 |
+ <li><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=H"/>" <c:if test="${param.depth1 eq 'SCRIN_STAT' }">class="is-current"</c:if>>일/월/년간 접속</a>
|
|
| 120 | 140 |
<%-- |
| 121 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 122 |
- <li class="smnu"><a href="<c:url value="/mng/sym/mpm/selectMpmList.do?siteId=${MENU_AUTO_MAKE_SITE_ID}"/>" <c:if test="${param.depth1 eq 'MENU_AUTHO_MANAGE' }">class="slt"</c:if> target="_self">기본 자동생성 메뉴관리</a></li>
|
|
| 123 |
- </c:if> |
|
| 124 |
- --%> |
|
| 125 |
- </ul> |
|
| 126 |
- </c:when> |
|
| 127 |
- |
|
| 128 |
- <c:when test="${param.menu eq 'BOARD_MANAGE' }"> <!-- 게시판관리 -->
|
|
| 129 |
- <ul class="list"> |
|
| 130 |
- <li class="smnu"><a href="<c:url value="/mng/cop/bbs/SelectBBSMasterInfs.do"/>" <c:if test="${param.depth1 eq 'BOARD_ADMIN' }">class="slt"</c:if>>게시판관리</a></li>
|
|
| 131 |
- <li class="smnu"><a href="<c:url value="/mng/cop/bbs/ctg/selectBBSCtgryMasterList.do"/>" <c:if test="${param.depth1 eq 'CTGRY_ADMIN' }">class="slt"</c:if>>카테고리관리</a></li>
|
|
| 132 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 133 |
- <li class="smnu"><a href="<c:url value="/mng/cop/com/selectBbsTemplateList.do"/>" <c:if test="${param.depth1 eq 'TMPLAT_MANAGE' }">class="slt"</c:if>>게시판 템플릿 관리</a></li>
|
|
| 134 |
- <li class="smnu"><a href="<c:url value="/mng/cop/com/selectBbsSourcList.do"/>" <c:if test="${param.depth1 eq 'SOURC_MANAGE' }">class="slt"</c:if>>게시판 소스 관리</a></li>
|
|
| 135 |
- </c:if> |
|
| 136 |
- </ul> |
|
| 137 |
- </c:when> |
|
| 138 |
- |
|
| 139 |
- <c:when test="${param.menu eq 'MBER_MANAGE' }"> <!-- 회원관리 -->
|
|
| 140 |
- <ul class="list"> |
|
| 141 |
- <li class="smnu"><a href="<c:url value="/mng/usr/mberManage.do"/>" <c:if test="${param.depth2 eq 'PROF_MANAGE' }">class="slt"</c:if> target="_self">회원관리</a></li>
|
|
| 142 |
- </ul> |
|
| 143 |
- </c:when> |
|
| 144 |
- |
|
| 145 |
- <c:when test="${param.menu eq 'EVENT_MANAGE' }"> <!-- 통합캘린더관리 -->
|
|
| 146 |
- <ul class="list"> |
|
| 147 |
- <li class="smnu"><a href="<c:url value="/mng/evt/selectSchdulinfoList.do"/>" <c:if test="${param.depth1 eq 'EVENT_LIST' }">class="slt"</c:if>>통합캘린더관리</a>
|
|
| 148 |
- <ul class="slist"> |
|
| 149 |
- <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do"/>" <c:if test="${empty param.searchSe}">class="slt"</c:if>>전체</a></li>
|
|
| 150 |
- <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do?searchSe=1"/>" <c:if test="${param.searchSe eq 1 }">class="slt"</c:if>>행사및일반일정</a></li>
|
|
| 151 |
- <!-- <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do?searchSe=2"/>" <c:if test="${param.searchSe eq 2 }">class="slt"</c:if>>이벤트</a></li>-->
|
|
| 152 |
- <li><a href="<c:url value="/mng/evt/selectSchdulinfoList.do?searchSe=3"/>" <c:if test="${param.searchSe eq 3 }">class="slt"</c:if>>설문조사</a></li>
|
|
| 153 |
- |
|
| 141 |
+ <u class="depth2"> |
|
| 142 |
+ <li><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=H"/>" <c:if test="${param.statsKind eq 'H' }">class="is-current"</c:if>>홈페이지</a></li>
|
|
| 143 |
+ <li><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=M"/>" <c:if test="${param.statsKind eq 'M' }">class="is-current"</c:if>>모바일</a></li>
|
|
| 154 | 144 |
</ul> |
| 155 |
- </li> |
|
| 145 |
+ --%> |
|
| 146 |
+ </li> |
|
| 147 |
+ <%--<li><a href="<c:url value="/mng/sts/selectBbsStats.do"/>" <c:if test="${param.depth1 eq 'BBS_STAT' }">class="is-current"</c:if>>게시물 통계</a></li>--%>
|
|
| 148 |
+ <%-- |
|
| 149 |
+ <!-- <li><a href="<c:url value="/mng/sts/selectMlgStats.do"/>" <c:if test="${param.depth1 eq 'MG_STAT' }">class="is-current"</c:if>>마일리지 통계</a></li>-->
|
|
| 150 |
+ <!-- <li><a href="<c:url value="/mng/sts/selectMbrStats.do"/>" <c:if test="${param.depth1 eq 'MBR_STAT' }">class="is-current"</c:if>>회원가입 통계</a></li>-->
|
|
| 151 |
+ <!-- <li><a href="<c:url value="/mng/sts/selectCmyStats.do"/>" <c:if test="${param.depth1 eq 'CMY_STAT' }">class="is-current"</c:if>>커뮤니티개설 통계</a></li>-->
|
|
| 152 |
+ --%> |
|
| 153 |
+ </c:when> |
|
| 154 |
+ <%-- 기타관리 --%> |
|
| 155 |
+ <c:when test="${param.menu eq 'ETC_MANAGE' }">
|
|
| 156 |
+ <ul class="list"> |
|
| 157 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN001"/>" <c:if test="${param.bannerTyCode eq 'BAN001' }">class="is-current"</c:if>>배너존관리</a></li>
|
|
| 158 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN002"/>" <c:if test="${param.bannerTyCode eq 'BAN002' }">class="is-current"</c:if>>팝업존관리</a></li>
|
|
| 159 |
+ <%-- |
|
| 160 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN003"/>" <c:if test="${param.bannerTyCode eq 'BAN003' }">class="is-current"</c:if>>퀵메뉴관리</a></li>
|
|
| 161 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN004"/>" <c:if test="${param.bannerTyCode eq 'BAN004' }">class="is-current"</c:if>>메인배너관리(Type1)</a></li>
|
|
| 162 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN005"/>" <c:if test="${param.bannerTyCode eq 'BAN005' }">class="is-current"</c:if>>메인배너관리(Type2)</a></li>
|
|
| 163 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN006"/>" <c:if test="${param.bannerTyCode eq 'BAN006' }">class="is-current"</c:if>>서브배너관리</a></li>
|
|
| 164 |
+ --%> |
|
| 165 |
+ <li><a href="<c:url value="/mng/uss/ion/pwm/listPopup.do"/>" <c:if test="${param.depth1 eq 'ETC_POPUPWINDOW' }">class="is-current"</c:if>>팝업관리</a></li>
|
|
| 166 |
+ <li><a href="<c:url value="/mng/uss/ion/sit/SiteListInqire.do"/>" <c:if test="${param.depth1 eq 'ETC_SITE' }">class="is-current"</c:if>>링크사이트관리</a></li>
|
|
| 156 | 167 |
</ul> |
| 157 | 168 |
</c:when> |
| 158 |
- |
|
| 159 |
- <c:when test="${param.menu eq 'MILEAGE_MANAGE' }"> <!-- 마일리지관리 -->
|
|
| 169 |
+ <%--등록되지 않은 메뉴들 --%> |
|
| 170 |
+ <c:otherwise> |
|
| 160 | 171 |
<ul class="list"> |
| 161 |
- <li class="smnu"><a href="/mng/uss/ion/mlg/selectMlginfoList.do" <c:if test="${param.depth1 eq 'MILEAGE_SETUP' }">class="slt"</c:if>>마일리지설정</a></li>
|
|
| 162 |
- <li class="smnu"><a href="/mng/uss/ion/mlg/selectMlgUserlogList.do" <c:if test="${param.depth1 eq 'MILEAGE_LIST' }">class="slt"</c:if>>마일리지 내역</a></li>
|
|
| 163 |
- <li class="smnu"><a href="/mng/rnk/MileageRanking.do" <c:if test="${param.depth1 eq 'RANKING_MILEAGE' }">class="slt"</c:if>>마일리지 TOP 10</a></li>
|
|
| 164 |
- </ul> |
|
| 165 |
- </c:when> |
|
| 166 |
- |
|
| 167 |
- <c:when test="${param.menu eq 'SMS_MANAGE' }"> <!-- SMS/이메일관리 -->
|
|
| 168 |
- <ul class="list"> |
|
| 169 |
- <li class="smnu"><a href="/mng/sms/selectSmsManage.do" <c:if test="${param.depth1 eq 'SMS_SEND' }">class="slt"</c:if>>SMS/이메일관리</a>
|
|
| 170 |
- <ul class="slist"> |
|
| 171 |
- <li><a href="/mng/sms/selectSmsManage.do" <c:if test="${param.depth2 eq 'SMS' }">class="slt"</c:if>>개별메시지전송</a></li>
|
|
| 172 |
- <li><a href="/mng/sms/selectMmsManage.do" <c:if test="${param.depth2 eq 'MMS' }">class="slt"</c:if>>그룹메세지전송</a></li>
|
|
| 173 |
- <!-- <li><a href="<c:url value="/mng/ems/selectEmsManage.do"/>" <c:if test="${param.depth2 eq 'EMS' }">class="slt"</c:if>>이메일전송</a></li> -->
|
|
| 174 |
- </ul> |
|
| 175 |
- </li> |
|
| 176 |
- </ul> |
|
| 177 |
- </c:when> |
|
| 178 |
- |
|
| 179 |
- <c:when test="${param.menu eq 'STAT_MANAGE' }"> <!-- 통계관리 -->
|
|
| 180 |
- <ul class="list"> |
|
| 181 |
- |
|
| 182 |
- <li class="smnu"><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=H"/>" <c:if test="${param.depth1 eq 'SCRIN_STAT' }">class="slt"</c:if>>일/월/년간 접속</a>
|
|
| 183 |
- <%-- |
|
| 184 |
- <ul class="slist"> |
|
| 185 |
- <li><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=H"/>" <c:if test="${param.statsKind eq 'H' }">class="slt"</c:if>>홈페이지</a></li>
|
|
| 186 |
- <li><a href="<c:url value="/mng/sts/selectScrinStats.do?statsKind=M"/>" <c:if test="${param.statsKind eq 'M' }">class="slt"</c:if>>모바일</a></li>
|
|
| 187 |
- </ul> |
|
| 188 |
- --%> |
|
| 189 |
- </li> |
|
| 190 |
- <%--<li class="smnu"><a href="<c:url value="/mng/sts/selectBbsStats.do"/>" <c:if test="${param.depth1 eq 'BBS_STAT' }">class="slt"</c:if>>게시물 통계</a></li>--%>
|
|
| 191 |
- <%-- |
|
| 192 |
- <!-- <li class="smnu"><a href="<c:url value="/mng/sts/selectMlgStats.do"/>" <c:if test="${param.depth1 eq 'MG_STAT' }">class="slt"</c:if>>마일리지 통계</a></li>-->
|
|
| 193 |
- <!-- <li class="smnu"><a href="<c:url value="/mng/sts/selectMbrStats.do"/>" <c:if test="${param.depth1 eq 'MBR_STAT' }">class="slt"</c:if>>회원가입 통계</a></li>-->
|
|
| 194 |
- <!-- <li class="smnu"><a href="<c:url value="/mng/sts/selectCmyStats.do"/>" <c:if test="${param.depth1 eq 'CMY_STAT' }">class="slt"</c:if>>커뮤니티개설 통계</a></li>-->
|
|
| 195 |
- <!-- <li class="smnu"><a href="https://www.google.com/analytics/web/?pli=1#report/visitors-overview/a29280954w55337777p56340389/" target="_blank">접속 통계</a></li> --> |
|
| 196 |
- <!-- |
|
| 197 |
- <li class="smnu"> |
|
| 198 |
- <a href="/mng/sts/selectEvtStats.do" <c:if test="${param.depth1 eq 'EVENT_STAT' }">class="slt"</c:if>>이벤트통계</a>
|
|
| 199 |
- <c:if test="${param.depth1 eq 'EVENT_STAT'}">
|
|
| 200 |
- <ul class="slist"> |
|
| 201 |
- <li><a href="<c:url value="/mng/sts/selectEvtStats.do"/>" <c:if test="${param.depth2 eq 'EVENT_DPT' }">class="slt"</c:if>>회차별 통계</a></li>
|
|
| 202 |
- <li><a href="<c:url value="/mng/sts/selectEvtStatUser.do"/>" <c:if test="${param.depth2 eq 'EVENT_USR' }">class="slt"</c:if>>사용자별 통계</a></li>
|
|
| 203 |
- </ul> |
|
| 204 |
- </c:if> |
|
| 205 |
- </li> |
|
| 206 |
- --> |
|
| 207 |
- --%> |
|
| 208 |
- </ul> |
|
| 209 |
- </c:when> |
|
| 210 |
- |
|
| 211 |
- <c:when test="${param.menu eq 'ETC_MANAGE' }"> <!-- 기타관리 -->
|
|
| 212 |
- <ul class="list"> |
|
| 213 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN001"/>" <c:if test="${param.bannerTyCode eq 'BAN001' }">class="slt"</c:if>>배너존관리</a></li>
|
|
| 214 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN002"/>" <c:if test="${param.bannerTyCode eq 'BAN002' }">class="slt"</c:if>>팝업존관리</a></li>
|
|
| 215 |
- <%-- |
|
| 216 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN003"/>" <c:if test="${param.bannerTyCode eq 'BAN003' }">class="slt"</c:if>>퀵메뉴관리</a></li>
|
|
| 217 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN004"/>" <c:if test="${param.bannerTyCode eq 'BAN004' }">class="slt"</c:if>>메인배너관리(Type1)</a></li>
|
|
| 218 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN005"/>" <c:if test="${param.bannerTyCode eq 'BAN005' }">class="slt"</c:if>>메인배너관리(Type2)</a></li>
|
|
| 219 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN006"/>" <c:if test="${param.bannerTyCode eq 'BAN006' }">class="slt"</c:if>>서브배너관리</a></li>
|
|
| 220 |
- --%> |
|
| 221 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/pwm/listPopup.do"/>" <c:if test="${param.depth1 eq 'ETC_POPUPWINDOW' }">class="slt"</c:if>>팝업관리</a></li>
|
|
| 222 |
- <li class="smnu"><a href="<c:url value="/mng/uss/ion/sit/SiteListInqire.do"/>" <c:if test="${param.depth1 eq 'ETC_SITE' }">class="slt"</c:if>>링크사이트관리</a></li>
|
|
| 223 |
- </ul> |
|
| 224 |
- </c:when> |
|
| 225 |
- |
|
| 226 |
- <c:otherwise> <%--등록되지 않은 메뉴들 --%> |
|
| 227 |
- <ul class="list"> |
|
| 228 |
- <li class="smnu"><a href="#" class="slt">메뉴1</a></li> |
|
| 229 |
- <li class="smnu"><a href="#">메뉴2</a></li> |
|
| 230 |
- <li class="smnu"><a href="#">메뉴3</a></li> |
|
| 231 |
- <li class="smnu"><a href="#">메뉴4</a></li> |
|
| 232 |
- <li class="smnu"><a href="#">메뉴5</a></li> |
|
| 172 |
+ <li><a href="#" class="is-current">메뉴1</a></li> |
|
| 173 |
+ <li><a href="#">메뉴2</a></li> |
|
| 174 |
+ <li><a href="#">메뉴3</a></li> |
|
| 175 |
+ <li><a href="#">메뉴4</a></li> |
|
| 176 |
+ <li><a href="#">메뉴5</a></li> |
|
| 233 | 177 |
</ul> |
| 234 | 178 |
</c:otherwise> |
| 235 | 179 |
</c:choose> |
| 236 | 180 |
</ul> |
| 237 |
- </div> |
|
| 181 |
+ </nav> |
|
| 238 | 182 |
</div> |
| 239 |
- |
|
| 240 |
- <div id="container"> |
|
| 241 |
- <!-- 좌측메뉴 목록 --> |
|
| 242 |
- <div id="leftMenu"> |
|
| 243 |
- |
|
| 244 |
- </div> |
|
| 245 |
- |
|
| 246 |
- <div id="rightPage"> |
|
| 247 |
- <div id="navi"> |
|
| 248 |
- <h2 class="naviTit"><c:out value='${param.title}'/></h2>
|
|
| 249 |
- </div> |
|
| 250 |
- <div id="contents"> |
|
| 183 |
+ <div class="container"> |
|
| 184 |
+ <div class="contents"> |
|
| 185 |
+ <div class="tit-area"> |
|
| 186 |
+ <div class="l-area"> |
|
| 187 |
+ <h2 class="tit"><c:out value='${param.title}'/></h2>
|
|
| 188 |
+ </div> |
|
| 189 |
+ </div>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/resources/template/manage/images/board/no_img.gif
+++ base/src/main/webapp/resources/manage/image/common/no_img.gif
| Binary file is not shown |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?