관리자페이지 클래스 수정

This commit is contained in:
subsub 2025-12-03 16:09:26 +09:00
parent 5c6cc5fe34
commit f41d4e88f4
20 changed files with 1290 additions and 1421 deletions

View File

@ -179,7 +179,7 @@ function bbsMasterExcelDownload(){
<input type="text" id="searchWrd" name="searchWrd" value="<c:out value='${searchVO.searchWrd}'/>" class="input search_input" placeholder="검색어를 입력하세요" onkeyDown="press(event);" style="width:220px;"> <input type="text" id="searchWrd" name="searchWrd" value="<c:out value='${searchVO.searchWrd}'/>" class="input search_input" placeholder="검색어를 입력하세요" onkeyDown="press(event);" style="width:220px;">
</div> </div>
<button type="button" class="btn btn_search" onclick="javascript:linkPage('1'); return false;">검색</button> <button type="button" class="btn btn_search" onclick="javascript:linkPage('1'); return false;">검색</button>
<select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width:100px;">
<option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option> <option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${searchVO.pageUnit == '20'}">selected</c:if>>20줄</option> <option value='20' <c:if test="${searchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${searchVO.pageUnit == '30'}">selected</c:if>>30줄</option> <option value='30' <c:if test="${searchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
@ -281,7 +281,7 @@ function bbsMasterExcelDownload(){
<div class="btn_wrap center"> <div class="btn_wrap center">
<c:if test="${bbsAttrMngAuth}"> <c:if test="${bbsAttrMngAuth}">
<%-- <input type="button" value="수정" class="btnType1" onclick="javascript:fn_egov_inqire_brdMstr('<c:out value="${result.bbsId}"/>');"> --%> <%-- <input type="button" value="수정" class="btnType1" onclick="javascript:fn_egov_inqire_brdMstr('<c:out value="${result.bbsId}"/>');"> --%>
<button type="button" class="btn fill primary_light small" onclick="javascript:fn_egov_inqire_brdMstr('<c:out value="${result.bbsId}"/>');">수정</button> <button type="button" class="btn line primary small" onclick="javascript:fn_egov_inqire_brdMstr('<c:out value="${result.bbsId}"/>');">수정</button>
</c:if> </c:if>
<%-- <input type="button" value="게시판보기" class="btnType2" onclick="location.href='<c:url value='/cop/bbs/selectBoardList.do'/>?bbsId=<c:out value='${result.bbsId}'/>'"> --%> <%-- <input type="button" value="게시판보기" class="btnType2" onclick="location.href='<c:url value='/cop/bbs/selectBoardList.do'/>?bbsId=<c:out value='${result.bbsId}'/>'"> --%>
<button type="button" class="btn line lightgray small" onclick="location.href='<c:url value='/cop/bbs/selectBoardList.do'/>?bbsId=<c:out value='${result.bbsId}'/>'">게시판보기</button> <button type="button" class="btn line lightgray small" onclick="location.href='<c:url value='/cop/bbs/selectBoardList.do'/>?bbsId=<c:out value='${result.bbsId}'/>'">게시판보기</button>

View File

@ -55,73 +55,59 @@ function fncAuthorDelete() {
</script> </script>
</head> </head>
<body> <body>
<form:form commandName="authorManage" method="post" > <form:form commandName="authorManage" method="post" >
<double-submit:preventer tokenKey="someKey" /> <double-submit:preventer tokenKey="someKey" />
<!-- cont -->
<div class="cont_wrap">
<div class="box">
<!-- cont_tit --> <div class="content_title">
<div class="cont_tit"> <h3>권한관리</h3>
<h2>권한등록</h2> <ol class="breadcrumb">
<ul class="cont_nav"> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li class="home"><a href="/"><i></i></a></li> <li><a href="#">권한관리</a></li>
<li> <li><a href="#">권한별 롤 관리</a></li>
<p>권한관리</p> <li><strong class="current_location">권한등록</strong></li>
</li> </ol>
<li>
<p>권한별롤관리</p>
</li>
<li><span class="cur_nav">권한등록</span></li>
</ul>
</div> </div>
<!-- //cont_tit -->
<div class="cont"> <div class="table table_type_rows">
<!-- list_상세 --> <table>
<div class="col-table data-table"> <colgroup>
<table> <col style="width:200px;">
<colgroup> <col style="width:auto;">
<col style="width: 20%"> </colgroup>
<col style="width: 80%">
</colgroup>
<tbody> <tbody>
<tr> <tr>
<th><span class="reqArea">권한코드</span></th> <th><span class="required">*</span>권한코드</th>
<td colspan="3"> <td>
<input type="text" name="authorCode" id="authorCode" value="<c:out value='${authorManage.authorCode}'/>" style="ime-mode:disabled;" size="50" title="권한코드" /> <input type="text" name="authorCode" id="authorCode" class="input" value="<c:out value='${authorManage.authorCode}'/>" style="ime-mode:disabled;" size="50" title="권한코드" />
<form:errors path="authorCode" /> <form:errors path="authorCode" />
</td> </td>
</tr> </tr>
<tr> <tr>
<th><span class="reqArea">권한명</span></th> <th><span class="required">*</span>권한명</th>
<td colspan="3"> <td>
<input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="50" title="권한명" /> <input name="authorNm" id="authorNm" class="input" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="50" title="권한명" />
<form:errors path="authorNm" /> <form:errors path="authorNm" />
</td> </td>
</tr> </tr>
<tr> <tr>
<th>설명</th> <th>설명</th>
<td colspan="3"> <td>
<input name="authorDc" id="authorDc" type="text" value="<c:out value='${authorManage.authorDc}'/>" maxLength="50" size="50" title="설명" /> <input name="authorDc" id="authorDc" class="input" type="text" value="<c:out value='${authorManage.authorDc}'/>" maxLength="50" size="50" title="설명" />
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap right">
<button class="btn btn_text btn_46 blue_fill btnType02" onclick="fncAuthorInsert(); return false;">저장</button>
<button class="btn btn_text btn_46 gray_fill btnType03" onclick="fncSelectAuthorList(); return false;">목록</button>
</div>
<!-- //btn_wrap -->
</div> </div>
</div> <!-- //list_상세 -->
</div>
<!-- //cont --> <!-- btn_wrap -->
<div class="btn_wrap right">
<button class="btn fill primary xlarge" onclick="fncAuthorInsert(); return false;">저장</button>
<button class="btn fill gray xlarge" onclick="fncSelectAuthorList(); return false;">목록</button>
</div>
<!-- //btn_wrap -->
</form:form> </form:form>
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/sec/ram/EgovAuthorList.do'/>" ></form> <form name="searchForm" id="searchForm" method="get" action="<c:url value='/sec/ram/EgovAuthorList.do'/>" ></form>
<!-- //cont --> <!-- //cont -->

View File

@ -151,128 +151,124 @@ function press() {
<input type="hidden" name="searchSortCnd" value="<c:out value="${authorManageVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${authorManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${authorManageVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${authorManageVO.searchSortOrd}" />" />
<input name="roleNm" type="hidden" /> <input name="roleNm" type="hidden" />
<!-- cont -->
<div class="cont_wrap">
<div class="box">
<div class="cont_tit">
<h2>권한별롤관리</h2>
<ul class="cont_nav">
<li class="home"><a href="/"><i></i></a></li>
<li>
<p>권한관리</p>
</li>
<li><span class="cur_nav">권한별롤관리</span></li>
</ul>
</div>
<!-- cont -->
<div class="cont">
<!-- list_top -->
<div class="list_top table_top">
<p class="table_total_text">총 건수 : <span class="color_blue fw_bold"><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<div class="list_util search_wrap">
<c:if test="${siteId eq 'super'}">
<select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분">
<c:forEach var="result" items="${siteManageList}" varStatus="status">
<option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
</c:forEach>
</select>
</c:if>
<select class="sel2 searchSel" id="searchCondition" name="searchCondition" title="조회조건">
<option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option>
<option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
<option value="1" <c:if test="${userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
</select>
<input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요"> <div class="content_title">
<button class="btn btn_text blue_border" onclick="fnSearch(); return false;">검색</button> <h3>권한별롤관리</h3>
<ol class="breadcrumb">
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">권한관리</a></li>
<li><strong class="current_location">권한별롤관리</strong></li>
</ol>
</div>
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <div class="search_area">
<option value='10' <c:if test="${userSearchVO.pageUnit == '10' or userSearchVO.pageUnit == ''}">selected</c:if>>10줄</option> <div class="search_left">
<option value='20' <c:if test="${userSearchVO.pageUnit == '20'}">selected</c:if>>20줄</option> <p class="total_number">총 게시물 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p>
<option value='30' <c:if test="${userSearchVO.pageUnit == '30'}">selected</c:if>>30줄</option> </div>
</select> <div class="search_right">
</div> <c:if test="${siteId eq 'super'}">
</div> <select name="searchConditionSite" id="searchConditionSite" class="search_select" title="검색조건2-검색어구분">
<!-- //list_top --> <c:forEach var="result" items="${siteManageList}" varStatus="status">
<option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
</c:forEach>
</select>
</c:if>
<select class="search_select" id="searchCondition" name="searchCondition" title="조회조건">
<option value="" <c:if test="${empty userSearchVO.searchCondition }">selected="selected"</c:if> >전체</option>
<option value="0" <c:if test="${userSearchVO.searchCondition == '0'}">selected="selected"</c:if> >아이디</option>
<option value="1" <c:if test="${userSearchVO.searchCondition == '1'}">selected="selected"</c:if> >관리자명</option>
</select>
<!-- list --> <input type="text" id="searchKeyword" class="input search_input" name="searchKeyword" value="<c:out value='${userSearchVO.searchKeyword}'/>" placeholder="검색어를 입력하세요">
<div class="list tbType01 table-layout mt15"> <button class="btn btn_search" onclick="fnSearch(); return false;">검색</button>
<table>
<colgroup>
<col style="width: 80px;">
<col style="width: 8%;">
<col style="width: 25%;">
<col style="width: 30%;">
<col style="width: 30%;">
<col style="width: 15%;">
<col style="width: 120px;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_SORT_NUM">▲</button></th>
<th scope="col">권한명<button class="sort sortBtn" id="sort_AUTHOR_NM">▲</button></th>
<th scope="col">권한 코드<button class="sort sortBtn" id="sort_AUTHOR_CODE">▲</button></th>
<th scope="col">설명<button class="sort sortBtn" id="sort_AUTHOR_DC">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_AUTHOR_CREAT_DE">▲</button></th>
<th scope="col">롤 정보</th>
</tr>
</thead>
<tbody>
<c:forEach var="author" items="${authorList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" id="<c:out value="${author.authorNm}"/>" value="<c:out value="${author.authorCode}"/>">
<input type="hidden" name="checkId" value="<c:out value="${author.authorCode}"/>" />
</td> <select class="sel2" name="pageUnit" id="pageUnit" class="search_select" onchange="linkPage(1);" title="줄 선택" style="width: 100px">
<td> <option value='10' <c:if test="${userSearchVO.pageUnit == '10' or userSearchVO.pageUnit == ''}">selected</c:if>>10줄</option>
<c:if test="${authorManageVO.searchSortOrd eq 'desc' }"> <option value='20' <c:if test="${userSearchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<c:out value="${ ( paginationInfo.totalRecordCount - ((authorManageVO.pageIndex -1)*authorManageVO.pageUnit) ) - status.index }"/> <option value='30' <c:if test="${userSearchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
</c:if> </select>
<c:if test="${authorManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(authorManageVO.pageIndex - 1) * authorManageVO.pageUnit + status.count}"/>
</c:if>
</td>
<td><a href="#" onclick="fncSelectAuthor('<c:out value="${author.authorCode}"/>')"><c:out value="${author.authorNm}"/></a></td>
<td>
<c:out value="${author.authorCode}"/>
</td>
<td><c:out value="${author.authorDc}"/></td>
<td><c:out value="${author.authorCreatDe}"/></td>
<td>
<button type="button" class="btn btn_text btn_36 orange_border btnType01" onclick="fncSelectAuthorRole('<c:out value="${author.authorCode}"/>' , '<c:out value="${author.authorNm}"/>'); return false">이동</button>
<%-- <input type="button" class="btnType1 serchBtn" onclick="fncSelectAuthorRole('<c:out value="${author.authorCode}"/>' , '<c:out value="${author.authorNm}"/>'); return false"> --%>
</td>
</tr>
</c:forEach>
<c:if test="${empty authorList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap">
<button type="button" class="btn btn_text btn_46 red_border" onclick="fncAuthorDeleteList(); return false;">삭제</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="fncAddAuthorInsert(); return false;">등록</button>
</div>
<!-- //btn_wrap -->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty authorList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</div>
</div> </div>
</div> </div>
<!-- //cont -->
<!-- list -->
<div class="table table_type_cols">
<table>
<colgroup>
<col style="width: 40px;">
<col style="width: 6%;">
<col style="width: 25%;">
<col style="width: 30%;">
<col style="width: 30%;">
<col style="width: 15%;">
<col style="width: 120px;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_SORT_NUM">▲</button></th>
<th scope="col">권한명<button class="sort sortBtn" id="sort_AUTHOR_NM">▲</button></th>
<th scope="col">권한 코드<button class="sort sortBtn" id="sort_AUTHOR_CODE">▲</button></th>
<th scope="col">설명<button class="sort sortBtn" id="sort_AUTHOR_DC">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_AUTHOR_CREAT_DE">▲</button></th>
<th scope="col">롤 정보</th>
</tr>
</thead>
<tbody>
<c:forEach var="author" items="${authorList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" id="<c:out value="${author.authorNm}"/>" value="<c:out value="${author.authorCode}"/>">
<input type="hidden" name="checkId" value="<c:out value="${author.authorCode}"/>" />
</td>
<td>
<c:if test="${authorManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((authorManageVO.pageIndex -1)*authorManageVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${authorManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(authorManageVO.pageIndex - 1) * authorManageVO.pageUnit + status.count}"/>
</c:if>
</td>
<td><a href="#" onclick="fncSelectAuthor('<c:out value="${author.authorCode}"/>')"><c:out value="${author.authorNm}"/></a></td>
<td>
<c:out value="${author.authorCode}"/>
</td>
<td><c:out value="${author.authorDc}"/></td>
<td><c:out value="${author.authorCreatDe}"/></td>
<td>
<button type="button" class="btn line lightgray small" onclick="fncSelectAuthorRole('<c:out value="${author.authorCode}"/>' , '<c:out value="${author.authorNm}"/>'); return false">이동</button>
<%-- <input type="button" class="btnType1 serchBtn" onclick="fncSelectAuthorRole('<c:out value="${author.authorCode}"/>' , '<c:out value="${author.authorNm}"/>'); return false"> --%>
</td>
</tr>
</c:forEach>
<c:if test="${empty authorList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap">
<div class="left">
<button type="button" class="btn line red xlarge" onclick="fncAuthorDeleteList(); return false;">삭제</button>
</div>
<div class="right">
<button type="button" class="btn fill primary xlarge" onclick="fncAddAuthorInsert(); return false;">등록</button>
</div>
</div>
<!-- //btn_wrap -->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty authorList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</form:form> </form:form>
</body> </body>

View File

@ -143,117 +143,110 @@ function fncSelectRole(roleCode) {
<input name="roleCode" type="hidden" /> <input name="roleCode" type="hidden" />
<input type="hidden" name="searchCondition"/> <input type="hidden" name="searchCondition"/>
<div class="cont_wrap"> <div class="content_title">
<div class="box"> <h3>권한롤관리</h3>
<div class="cont_tit"> <ol class="breadcrumb">
<h2>권한롤관리</h2> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<ul class="cont_nav"> <li><a href="#">권한관리</a></li>
<li class="home"><a href="/"><i></i></a></li> <li><a href="#">권한별롤관리</a></li>
<li><p>권한관리</p></li> <li><strong class="current_location">권한롤관리</strong></li>
<li><p>권한별롤관리</p></li> </ol>
<li><span class="cur_nav">권한롤관리</span></li> </div>
</ul>
</div>
<!-- cont -->
<div class="cont">
<!-- list_top -->
<div class="list_top table_top">
<p class="table_total_text">총 건수 : <span class="color_blue fw_bold"><c:out value="${paginationInfo.totalRecordCount}" /></span>건
(${authorRoleManageVO.searchKeyword} : ${authorRoleManageVO.roleNm})</p>
<div class="list_util search_wrap">
<input type="text" id="searchKeyword2" name="searchKeyword2" value="<c:out value='${authorRoleManageVO.searchKeyword2}'/>" class="search_input" placeholder="검색어를 입력하세요">
<button class="btn btn_text blue_border btn_search" onclick="linkPage(1); return false;">검색</button>
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <div class="search_area">
<option value='10' <c:if test="${authorRoleManageVO.pageUnit == '10' or authorRoleManageVO.pageUnit == ''}">selected</c:if>>10줄</option> <div class="search_left">
<option value='20' <c:if test="${authorRoleManageVO.pageUnit == '20'}">selected</c:if>>20줄</option> <p class="total_number">총 건수 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건 (${authorRoleManageVO.searchKeyword} : ${authorRoleManageVO.roleNm})</p>
<option value='30' <c:if test="${authorRoleManageVO.pageUnit == '30'}">selected</c:if>>30줄</option> </div>
</select> <div class="search_right">
</div> <input type="text" id="searchKeyword2" name="searchKeyword2" class="input search_input" value="<c:out value='${authorRoleManageVO.searchKeyword2}'/>" class="search_input" placeholder="검색어를 입력하세요">
</div> <button class="btn btn_search" onclick="linkPage(1); return false;">검색</button>
<!-- //list_top -->
<!-- list --> <select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 100px;">
<div class="list tbType01 table-layout mt15"> <option value='10' <c:if test="${authorRoleManageVO.pageUnit == '10' or authorRoleManageVO.pageUnit == ''}">selected</c:if>>10줄</option>
<table> <option value='20' <c:if test="${authorRoleManageVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<colgroup> <option value='30' <c:if test="${authorRoleManageVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<col style="width: 5%"> </select>
<col style="width: 8%">
<col style="width: 19%">
<col style="width: auto;">
<col style="width: 10%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_tempSortNum">▲</button></th>
<th scope="col">롤명<button class="sort sortBtn" id="sort_ROLE_NM">▲</button></th>
<th scope="col">롤패턴<button class="sort sortBtn" id="sort_ROLE_PTTRN">▲</button></th>
<th scope="col">롤순서<button class="sort sortBtn" id="sort_ROLE_SORT">▲</button></th>
<th scope="col">롤설명<button class="sort sortBtn" id="sort_ROLE_DC">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_CREAT_DT">▲</button></th>
<th scope="col">등록여부<button class="sort sortBtn" id="sort_REG_YN">▲</button></th>
</tr>
</thead>
<tbody>
<c:forEach var="authorRole" items="${authorRoleList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" id="<c:out value="${authorRole.roleCode}"/>"><label for="<c:out value="${authorRole.roleCode}"/>"></label>
<input type="hidden" name="checkId" value="<c:out value="${authorRole.roleCode}"/>" />
</td>
<td>
<c:if test="${authorRoleManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${authorRoleManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td>
<a href="#LINK" onclick="javascript:fncSelectRole('${authorRole.roleCode}')"><c:out value="${authorRole.roleNm}"/></a>
</td>
<td><c:out value="${authorRole.rolePtn}"/></td>
<td><c:out value="${authorRole.roleSort}"/></td>
<td><c:out value="${authorRole.roleDc}"/></td>
<td><c:out value="${authorRole.creatDt}"/></td>
<td>
<select name="regYn" title="등록여부">
<option value="Y" <c:if test="${authorRole.regYn == 'Y'}">selected</c:if> >등록</option>
<option value="N" <c:if test="${authorRole.regYn == 'N'}">selected</c:if> >미등록</option>
</select>
</td>
</tr>
</c:forEach>
<c:if test="${empty authorRoleList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap right">
<button type="button" class="btn btn_text btn_46 blue_fill btnType02" onclick="fncAddAuthorRoleInsert(); return false;">등록</button>
</div>
<!-- //btn_wrap -->
<!-- page -->
<c:if test="${!empty authorRoleList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
</div>
<!-- //cont -->
</div> </div>
</div> </div>
<!-- list -->
<div class="table table_type_cols">
<table>
<colgroup>
<col style="width: 40px;">
<col style="width: 6%;">
<col style="width: 19%;">
<col style="width: auto;">
<col style="width: 8%;">
<col style="width: 15%;">
<col style="width: 10%;">
<col style="width: 10%;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_tempSortNum">▲</button></th>
<th scope="col">롤명<button class="sort sortBtn" id="sort_ROLE_NM">▲</button></th>
<th scope="col">롤패턴<button class="sort sortBtn" id="sort_ROLE_PTTRN">▲</button></th>
<th scope="col">롤순서<button class="sort sortBtn" id="sort_ROLE_SORT">▲</button></th>
<th scope="col">롤설명<button class="sort sortBtn" id="sort_ROLE_DC">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_CREAT_DT">▲</button></th>
<th scope="col">등록여부<button class="sort sortBtn" id="sort_REG_YN">▲</button></th>
</tr>
</thead>
<tbody>
<c:forEach var="authorRole" items="${authorRoleList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" id="<c:out value="${authorRole.roleCode}"/>"><label for="<c:out value="${authorRole.roleCode}"/>"></label>
<input type="hidden" name="checkId" value="<c:out value="${authorRole.roleCode}"/>" />
</td>
<td>
<c:if test="${authorRoleManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${authorRoleManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td>
<a href="#LINK" onclick="javascript:fncSelectRole('${authorRole.roleCode}')"><c:out value="${authorRole.roleNm}"/></a>
</td>
<td><c:out value="${authorRole.rolePtn}"/></td>
<td><c:out value="${authorRole.roleSort}"/></td>
<td><c:out value="${authorRole.roleDc}"/></td>
<td><c:out value="${authorRole.creatDt}"/></td>
<td>
<select name="regYn" class="select" title="등록여부">
<option value="Y" <c:if test="${authorRole.regYn == 'Y'}">selected</c:if> >등록</option>
<option value="N" <c:if test="${authorRole.regYn == 'N'}">selected</c:if> >미등록</option>
</select>
</td>
</tr>
</c:forEach>
<c:if test="${empty authorRoleList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap right">
<button type="button" class="btn fill primary xlarge" onclick="fncAddAuthorRoleInsert(); return false;">등록</button>
</div>
<!-- //btn_wrap -->
<!-- page -->
<c:if test="${!empty authorRoleList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
</form:form> </form:form>
</body> </body>

View File

@ -71,85 +71,69 @@ function fncAuthorDelete(){
</script> </script>
</head> </head>
<body> <body>
<form:form commandName="authorManage" method="post" > <form:form commandName="authorManage" method="post" >
<input type="hidden" name="searchCondition" value="<c:out value='${authorManageVO.searchCondition}'/>"/> <input type="hidden" name="searchCondition" value="<c:out value='${authorManageVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${authorManageVO.searchKeyword}'/>"/> <input type="hidden" name="searchKeyword" value="<c:out value='${authorManageVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${authorManageVO.pageIndex}'/>"/> <input type="hidden" name="pageIndex" value="<c:out value='${authorManageVO.pageIndex}'/>"/>
<div class="content_title">
<!-- cont --> <h3>권한관리</h3>
<div class="cont_wrap"> <ol class="breadcrumb">
<div class="box"> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">권한관리</a></li>
<!-- cont_tit --> <li><a href="#">권한별 롤 관리</a></li>
<div class="cont_tit"> <li><strong class="current_location">권한수정</strong></li>
<h2>권한수정</h2> </ol>
<ul class="cont_nav">
<li class="home"><a href="/"><i></i></a></li>
<li>
<p>권한관리</p>
</li>
<li>
<p>권한별롤관리</p>
</li>
<li><span class="cur_nav">권한수정</span></li>
</ul>
</div> </div>
<!-- //cont_tit -->
<div class="cont"> <div class="table table_type_rows">
<!-- list_상세 --> <table>
<div class="tbType02 col-table data-table"> <colgroup>
<table> <col style="width: 200px;">
<colgroup> <col style="width: auto;">
<col style="width: 20%"> </colgroup>
<col style="width: 80%">
</colgroup>
<tbody> <tbody>
<tr> <tr>
<th><span class="reqArea">권한코드</span></th> <th><span class="required">*</span>권한코드</th>
<td colspan="3"> <td>
<input type="text" name="authorCode" id="authorCode" value="<c:out value='${authorManage.authorCode}'/>" style="ime-mode:disabled;" size="50" title="권한코드" <input type="text" name="authorCode" id="authorCode" class="input" value="<c:out value='${authorManage.authorCode}'/>" style="ime-mode:disabled;" size="50" title="권한코드"
<c:if test="${!empty authorManage.authorCode}"> readonly <c:if test="${!empty authorManage.authorCode}"> readonly
</c:if> </c:if>
/> />
<form:errors path="authorCode" /> <form:errors path="authorCode" />
</td> </td>
</tr> </tr>
<tr> <tr>
<th><span class="reqArea">권한명</span></th> <th><span class="required">*</span>권한명</th>
<td colspan="3"> <td>
<input name="authorNm" id="authorNm" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="50" title="권한명" /> <input name="authorNm" id="authorNm" class="input" type="text" value="<c:out value='${authorManage.authorNm}'/>" maxLength="50" size="50" title="권한명" />
<form:errors path="authorNm" /> <form:errors path="authorNm" />
</td> </td>
</tr> </tr>
<tr> <tr>
<th>설명</th> <th>설명</th>
<td colspan="3"> <td>
<input name="authorDc" id="authorDc" type="text" value="<c:out value='${authorManage.authorDc}'/>" maxLength="50" size="50" title="설명" /> <input name="authorDc" id="authorDc" class="input" type="text" value="<c:out value='${authorManage.authorDc}'/>" maxLength="50" size="50" title="설명" />
</td> </td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap">
<div class="area_left">
<button class="btn btn_text btn_46 red_border btnType04" onclick="fncAuthorDelete(); return false;">삭제</button>
</div>
<div class="area_right">
<button class="btn btn_text btn_46 blue_fill btnType06" onclick="fncAuthorUpdate(); return false;">저장</button>
<button class="btn btn_text btn_46 gray_fill btnType03" onclick="fncSelectAuthorList(); return false;">목록</button>
</div>
</div>
<!-- //btn_wrap -->
</div> </div>
</div> <!-- //list_상세 -->
</div>
<!-- //cont --> <!-- btn_wrap -->
<div class="btn_wrap">
<div class="left">
<button class="btn line red xlarge" onclick="fncAuthorDelete(); return false;">삭제</button>
</div>
<div class="right">
<button class="btn fill primary xlarge" onclick="fncAuthorUpdate(); return false;">저장</button>
<button class="btn fill gray xlarge" onclick="fncSelectAuthorList(); return false;">목록</button>
</div>
</div>
<!-- //btn_wrap -->
</form:form> </form:form>
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/sec/ram/EgovAuthorList.do'/>" ></form> <form name="searchForm" id="searchForm" method="get" action="<c:url value='/sec/ram/EgovAuthorList.do'/>" ></form>
</body> </body>

View File

@ -83,96 +83,86 @@ function fncRoleDelete() {
<!-- 검색조건 유지 --> <!-- 검색조건 유지 -->
<input type="hidden" name="roleTyp" value="url"/> <input type="hidden" name="roleTyp" value="url"/>
<!-- cont --> <div class="content_title">
<div class="cont_wrap"> <h3>롤 등록</h3>
<div class="box"> <ol class="breadcrumb">
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">권한관리</a></li>
<li><a href="#">롤 관리</a></li>
<li><strong class="current_location">롤 등록</strong></li>
</ol>
</div>
<!-- cont_tit --> <!-- list_상세 -->
<div class="cont_tit"> <div class="table table_type_rows mb10">
<h2>롤등록</h2> <table>
<ul class="cont_nav"> <colgroup>
<li class="home"><a href="/"><i></i></a></li> <col style="width:200px">
<li><p>권한관리</p></li> <col style="width:auto;">
<li><p>롤관리</p></li> </colgroup>
<li><span class="cur_nav">롤등록</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont"> <tbody>
<!-- list_상세 --> <tr>
<div class="col-table data-table"> <th><span class="required">*</span>롤명</th>
<table> <td>
<colgroup> <input name="roleNm" id="roleNm" class="input w80per" type="text" value="<c:out value='${roleManage.roleNm}'/>" maxLength="50" size="50" title="롤명" />&nbsp;<form:errors path="roleNm" />
<col style="width: 20%"> </td>
<col style="width: 80%"> </tr>
</colgroup> <tr>
<th><span class="required">*</span>롤패턴</th>
<td>
<input name="rolePtn" id="rolePtn" class="input w80per" type="text" value="<c:out value='${roleManage.rolePtn}'/>" maxLength="100" size="80" title="롤패턴" />&nbsp;<form:errors path="rolePtn" />
</td>
</tr>
<tr>
<th>설명</th>
<td>
<input name="roleDc" id="roleDc" class="input w80per" type="text" value="<c:out value='${roleManage.roleDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th><span class="required">*</span>롤순서</th>
<td>
<input name="roleSort" id="roleSort" class="input w80per" type="text" value="<c:out value='${roleManage.roleSort}'/>" maxLength="50" size="50" title="롤sort" />
</td>
</tr>
<c:if test="${registerFlag == 'UPDATE'}">
<tr>
<th>등록일자</th>
<td>
<input name="roleCreatDe" id="roleCreatDe" class="input" type="text" value="<c:out value='${roleManage.roleCreatDe}'/>" maxLength="50" size="20" title="등록일자" readonly="readonly"/>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<tbody> <c:if test="${roleManage.roleNm == 'uat-uia' || roleManage.roleNm == 'cmm-main'}">
<tr> <span class="input_desc red">로그인 및 중요 권한 롤일 경우에는 저장 및 수정 버튼이 보이지 않습니다.</span>
<th><span class="reqArea">롤명</span></th> </c:if>
<td> <!-- //list_상세 -->
<input name="roleNm" id="roleNm" type="text" value="<c:out value='${roleManage.roleNm}'/>" maxLength="50" size="50" title="롤명" />&nbsp;<form:errors path="roleNm" />
</td>
</tr>
<tr>
<th><span class="reqArea">롤패턴</span></th>
<td>
<input name="rolePtn" id="rolePtn" type="text" value="<c:out value='${roleManage.rolePtn}'/>" maxLength="100" size="80" title="롤패턴" />&nbsp;<form:errors path="rolePtn" />
</td>
</tr>
<tr>
<th>설명</th>
<td>
<input name="roleDc" id="roleDc" type="text" value="<c:out value='${roleManage.roleDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th><span class="reqArea">롤순서</span></th>
<td>
<input name="roleSort" id="roleSort" type="text" value="<c:out value='${roleManage.roleSort}'/>" maxLength="50" size="50" title="롤sort" />
</td>
</tr>
<c:if test="${registerFlag == 'UPDATE'}">
<tr>
<th>등록일자</th>
<td>
<input name="roleCreatDe" id="roleCreatDe" type="text" value="<c:out value='${roleManage.roleCreatDe}'/>" maxLength="50" size="20" title="등록일자" readonly="readonly"/>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<c:if test="${roleManage.roleNm == 'uat-uia' || roleManage.roleNm == 'cmm-main'}"> <!-- btn_wrap -->
<br /> <div class="btn_wrap mt40">
<br />로그인 및 중요 권한 롤일 경우에는 저장 및 수정 버튼이 보이지 않습니다. <div class="left">
<c:if test="${registerFlag == 'UPDATE'}">
<button class="btn line red xlarge" onclick="fncRoleDelete(); return false;">삭제</button>
</c:if> </c:if>
<!-- //list_상세 --> </div>
<div class="right">
<!-- btn_wrap --> <c:if test="${registerFlag == 'INSERT'}">
<div class="btn_wrap btn_layout01"> <button class="btn fill primary xlarge" onclick="fncRoleInsert(); return false;">저장</button>
<div class="area_left"> </c:if>
<c:if test="${registerFlag == 'UPDATE'}"> <c:if test="${registerFlag == 'UPDATE'}">
<button class="btn btn_text btn_46 red_border" onclick="fncRoleDelete(); return false;">삭제</button> <button class="btn fill primary xlarge" onclick="fncRoleUpdate(); return false;">수정</button>
</c:if> </c:if>
</div> <button class="btn fill gray xlarge" onclick="fncSelectRoleList(); return false;">목 록</button>
<div class="area_right">
<c:if test="${registerFlag == 'INSERT'}">
<button class="btn btn_text btn_46 blue_fill" onclick="fncRoleInsert(); return false;">저장</button>
</c:if>
<c:if test="${registerFlag == 'UPDATE'}">
<button class="btn btn_text btn_46 blue_fill" onclick="fncRoleUpdate(); return false;">수정</button>
</c:if>
<button class="btn btn_text btn_46 gray_fill" onclick="fncSelectRoleList(); return false;">목 록</button>
</div>
</div>
<!-- //btn_wrap -->
</div> </div>
</div> </div>
</div> <!-- //btn_wrap -->
<!-- //cont -->
</form:form> </form:form>
</body> </body>
</html> </html>

View File

@ -141,114 +141,113 @@ function roleListExcelDownload(){
<input type="hidden" name="searchSortCnd" value="<c:out value="${roleManageVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${roleManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${roleManageVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${roleManageVO.searchSortOrd}" />" />
<div class="cont_wrap"> <div class="content_title">
<div class="box"> <h3>롤관리</h3>
<div class="cont_tit"> <ol class="breadcrumb">
<h2>롤관리</h2> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<ul class="cont_nav"> <li><a href="#">권한관리</a></li>
<li class="home"><a href="/"><i></i></a></li> <li><strong class="current_location">롤관리</strong></li>
<li><p>권한관리</p></li> </ol>
<li><span class="cur_nav">롤관리</span></li> </div>
</ul>
</div>
<!-- cont -->
<div class="cont">
<!-- list_top -->
<div class="list_top table_top">
<p class="table_total_text">총 건수 : <span class="color_blue fw_bold"><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<div class="list_util search_wrap">
<select class="sel2 searchSel" id="searchCondition" name="searchCondition" title="조회조건">
<option value="" <c:if test="${roleManageVO.searchCondition == ''}">selected</c:if> >전체</option>
<option value="1" <c:if test="${roleManageVO.searchCondition == '1'}">selected</c:if> >롤명</option>
<option value="2" <c:if test="${roleManageVO.searchCondition == '2'}">selected</c:if> >롤설명</option>
<option value="3" <c:if test="${roleManageVO.searchCondition == '3'}">selected</c:if> >롤패턴</option>
</select>
<input type="text" id=searchKeyword name="searchKeyword" class="recentSearch" value="<c:out value='${roleManageVO.searchKeyword}'/>" size="40" title="검색" /> <div class="search_area">
<button class="btn btn_text blue_border" onclick="fncSelectRoleList(1); return false;">검색</button> <div class="search_left">
<p class="total_number">총 게시물 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p>
</div>
<div class="search_right">
<select class="search_select" id="searchCondition" name="searchCondition" title="조회조건">
<option value="" <c:if test="${roleManageVO.searchCondition == ''}">selected</c:if> >전체</option>
<option value="1" <c:if test="${roleManageVO.searchCondition == '1'}">selected</c:if> >롤명</option>
<option value="2" <c:if test="${roleManageVO.searchCondition == '2'}">selected</c:if> >롤설명</option>
<option value="3" <c:if test="${roleManageVO.searchCondition == '3'}">selected</c:if> >롤패턴</option>
</select>
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <input type="text" id=searchKeyword name="searchKeyword" class="input search_input" value="<c:out value='${roleManageVO.searchKeyword}'/>" size="40" title="검색" />
<option value='10' <c:if test="${roleManageVO.pageUnit == '10' or roleManageVO.pageUnit == ''}">selected</c:if>>10줄</option> <button class="btn btn_search" onclick="fncSelectRoleList(1); return false;">검색</button>
<option value='20' <c:if test="${roleManageVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${roleManageVO.pageUnit == '30'}">selected</c:if>>30줄</option>
</select>
</div>
</div>
<!-- //list_top -->
<!-- list --> <select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<div class="table-layout mt15"> <option value='10' <c:if test="${roleManageVO.pageUnit == '10' or roleManageVO.pageUnit == ''}">selected</c:if>>10줄</option>
<table> <option value='20' <c:if test="${roleManageVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<colgroup> <option value='30' <c:if test="${roleManageVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<col style="width: 5%"> </select>
<col style="width: 8%">
<col style="width: 19%">
<col style="width: 34%">
<col style="width: 10%">
<col style="width: 25%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_SORT_TEMP_NO">▲</button></th>
<th scope="col">롤설명<button class="sort sortBtn" id="sort_ROLE_DC">▲</button></th>
<th scope="col">롤패턴<button class="sort sortBtn" id="sort_ROLE_PTTRN">▲</button></th>
<th scope="col">롤순서<button class="sort sortBtn" id="sort_ROLE_SORT">▲</button></th>
<th scope="col">롤명<button class="sort sortBtn" id="sort_ROLE_NM">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_ROLE_CREAT_DE">▲</button></th>
</tr>
</thead>
<tbody>
<c:forEach var="role" items="${roleList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" id="<c:out value="${role.roleCode}"/>"><label for="<c:out value="${role.roleCode}"/>"></label>
<input type="hidden" name="checkId" value="<c:out value="${role.roleCode}"/>" />
</td>
<td>
<c:if test="${roleManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((roleManageVO.pageIndex -1)*roleManageVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${roleManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(roleManageVO.pageIndex - 1) * roleManageVO.pageUnit + status.count}"/>
</c:if>
</td>
<td>
<a href="#LINK" onclick="javascript:fncSelectRole('<c:out value="${role.roleCode}"/>')"><c:out value="${role.roleDc}"/></a>
</td>
<td><c:out value="${role.rolePtn}"/></td>
<td><c:out value="${role.roleSort}"/></td>
<td><c:out value="${role.roleNm}"/></td>
<td><c:out value="${role.roleCreatDe}"/></td>
</tr>
</c:forEach>
<c:if test="${empty roleList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap">
<button type="button" class="btn btn_text btn_46 red_border" onclick="fncRoleListDelete(); return false;">삭제</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="fncAddRoleInsert(); return false;">등록</button>
</div>
<!-- //btn_wrap -->
<!-- page -->
<c:if test="${!empty roleList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
</div>
<!-- //cont -->
</div> </div>
</div> </div>
<!-- list -->
<div class="table table_type_cols">
<table>
<colgroup>
<col style="width: 40px;">
<col style="width: 8%">
<col style="width: 19%">
<col style="width: 34%">
<col style="width: 10%">
<col style="width: 25%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fnCheckAll();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_SORT_TEMP_NO">▲</button></th>
<th scope="col">롤설명<button class="sort sortBtn" id="sort_ROLE_DC">▲</button></th>
<th scope="col">롤패턴<button class="sort sortBtn" id="sort_ROLE_PTTRN">▲</button></th>
<th scope="col">롤순서<button class="sort sortBtn" id="sort_ROLE_SORT">▲</button></th>
<th scope="col">롤명<button class="sort sortBtn" id="sort_ROLE_NM">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_ROLE_CREAT_DE">▲</button></th>
</tr>
</thead>
<tbody>
<c:forEach var="role" items="${roleList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" id="<c:out value="${role.roleCode}"/>"><label for="<c:out value="${role.roleCode}"/>"></label>
<input type="hidden" name="checkId" value="<c:out value="${role.roleCode}"/>" />
</td>
<td>
<c:if test="${roleManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((roleManageVO.pageIndex -1)*roleManageVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${roleManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(roleManageVO.pageIndex - 1) * roleManageVO.pageUnit + status.count}"/>
</c:if>
</td>
<td>
<a href="#LINK" onclick="javascript:fncSelectRole('<c:out value="${role.roleCode}"/>')"><c:out value="${role.roleDc}"/></a>
</td>
<td><c:out value="${role.rolePtn}"/></td>
<td><c:out value="${role.roleSort}"/></td>
<td><c:out value="${role.roleNm}"/></td>
<td><c:out value="${role.roleCreatDe}"/></td>
</tr>
</c:forEach>
<c:if test="${empty roleList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap">
<div class="left">
<button type="button" class="btn line red xlarge" onclick="fncRoleListDelete(); return false;">삭제</button>
</div>
<div class="right">
<button type="button" class="btn fill primary xlarge" onclick="fncAddRoleInsert(); return false;">등록</button>
</div>
</div>
<!-- //btn_wrap -->
<!-- page -->
<c:if test="${!empty roleList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
</form:form> </form:form>
</body> </body>

View File

@ -81,95 +81,89 @@ function fncRoleDelete() {
<input type="hidden" name="roleTyp" value="url"/> <input type="hidden" name="roleTyp" value="url"/>
<!-- cont --> <div class="content_title">
<div class="cont_wrap"> <h3>롤 수정</h3>
<div class="box"> <ol class="breadcrumb">
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">권한관리</a></li>
<li><a href="#">롤관리</a></li>
<li><strong class="current_location">롤수정</strong></li>
</ol>
</div>
<!-- cont_tit --> <!-- list_상세 -->
<div class="cont_tit"> <div class="table table_type_rows mb10">
<h2>롤수정</h2> <table>
<ul class="cont_nav"> <colgroup>
<li class="home"><a href="/"><i></i></a></li> <col style="width:200px;">
<li><p>권한관리</p></li> <col style="width:auto;">
<li><p>롤관리</p></li> </colgroup>
<li><span class="cur_nav">롤수정</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont"> <tbody>
<!-- list_상세 --> <tr>
<div class="col-table data-table"> <th><span class="required">*</span>롤코드</th>
<table> <td>
<colgroup> <input name="roleCode" id="roleCode" class="input" type="text" value="<c:out value='${roleManage.roleCode}'/>" size="50" readonly="readonly" title="롤 코드" />
<col style="width: 20%"> </td>
<col style="width: 80%"> </tr>
</colgroup> <tr>
<th><span class="required">*</span>롤명</th>
<td>
<input name="roleNm" id="roleNm" class="input" type="text" value="<c:out value='${roleManage.roleNm}'/>" maxLength="50" size="50" title="롤명" />&nbsp;<form:errors path="roleNm" />
</td>
</tr>
<tr>
<th><span class="required">*</span>롤패턴</th>
<td>
<input name="rolePtn" id="rolePtn" class="input" type="text" value="<c:out value='${roleManage.rolePtn}'/>" maxLength="50" size="50" title="롤패턴" />&nbsp;<form:errors path="rolePtn" />
</td>
</tr>
<tr>
<th>설명</th>
<td>
<input name="roleDc" id="roleDc" class="input" type="text" value="<c:out value='${roleManage.roleDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th>롤순서</th>
<td>
<input name="roleSort" id="roleSort" class="input" type="text" value="<c:out value='${roleManage.roleSort}'/>" maxLength="50" size="50" title="롤sort" />
</td>
</tr>
<tr>
<th>등록일자</th>
<td>
<input name="roleCreatDe" id="roleCreatDe" class="input" type="text" value="<c:out value='${roleManage.roleCreatDe}'/>" maxLength="50" size="50" title="등록일자" readonly="readonly"/>
</td>
</tr>
</tbody>
</table>
</div>
<tbody> <c:if test="${roleManage.roleNm == 'uat-uia' || roleManage.roleNm == 'cmm-main'}">
<tr> <span class="input_desc red">로그인 및 중요 권한 롤일 경우에는 저장 및 수정 버튼이 보이지 않습니다.</span>
<th><span class="reqArea">롤코드</span></th> </c:if>
<td> <!-- //list_상세 -->
<input name="roleCode" id="roleCode" type="text" value="<c:out value='${roleManage.roleCode}'/>" size="50" readonly="readonly" title="롤 코드" />
</td>
</tr>
<tr>
<th><span class="reqArea">롤명</span></th>
<td colspan="3">
<input name="roleNm" id="roleNm" type="text" value="<c:out value='${roleManage.roleNm}'/>" maxLength="50" size="50" title="롤명" />&nbsp;<form:errors path="roleNm" />
</td>
</tr>
<tr>
<th><span class="reqArea">롤패턴</span></th>
<td colspan="3">
<input name="rolePtn" id="rolePtn" type="text" value="<c:out value='${roleManage.rolePtn}'/>" maxLength="50" size="50" title="롤패턴" />&nbsp;<form:errors path="rolePtn" />
</td>
</tr>
<tr>
<th>설명</th>
<td colspan="3">
<input name="roleDc" id="roleDc" type="text" value="<c:out value='${roleManage.roleDc}'/>" maxLength="50" size="50" title="설명" />
</td>
</tr>
<tr>
<th>롤순서</th>
<td colspan="3">
<input name="roleSort" id="roleSort" type="text" value="<c:out value='${roleManage.roleSort}'/>" maxLength="50" size="50" title="롤sort" />
</td>
</tr>
<tr>
<th>등록일자</th>
<td colspan="3">
<input name="roleCreatDe" id="roleCreatDe" type="text" value="<c:out value='${roleManage.roleCreatDe}'/>" maxLength="50" size="50" title="등록일자" readonly="readonly"/>
</td>
</tr>
</tbody>
</table>
</div>
<c:if test="${roleManage.roleNm == 'uat-uia' || roleManage.roleNm == 'cmm-main'}"> <!-- btn_wrap -->
<br /> <div class="btn_wrap mt40">
<br />로그인 및 중요 권한 롤일 경우에는 저장 및 수정 버튼이 보이지 않습니다. <div class="left">
</c:if> <c:if test="${registerFlag == 'UPDATE'}">
<!-- //list_상세 --> <button class="btn line red xlarge" onclick="fncRoleDelete(); return false;">삭제</button>
</c:if>
<!-- btn_wrap --> </div>
<div class="btn_wrap"> <div class="right">
<c:if test="${registerFlag == 'INSERT'}"> <c:if test="${registerFlag == 'INSERT'}">
<input type="button" class="btn btn_text btn_46 blue_fill" value="저장" onclick="fncRoleInsert(); return false;"> <input type="button" class="btn fill primary xlarge" value="저장" onclick="fncRoleInsert(); return false;">
<button class="btn btn_text btn_46 blue_fill" onclick="fncRoleInsert(); return false;">저장</button> <button class="btn fill primary xlarge" onclick="fncRoleInsert(); return false;">저장</button>
</c:if> </c:if>
<c:if test="${registerFlag == 'UPDATE'}"> <c:if test="${registerFlag == 'UPDATE'}">
<button class="btn btn_text btn_46 red_border" onclick="fncRoleDelete(); return false;">삭제</button> <button class="btn fill primary xlarge" onclick="fncRoleUpdate(); return false;">수정</button>
<button class="btn btn_text btn_46 blue_fill" onclick="fncRoleUpdate(); return false;">수정</button> </c:if>
</c:if>
<!-- <button class="btnType03" onclick="fncSelectRoleList(); return false;">목 록</button> -->
</div>
<!-- //btn_wrap -->
</div>
</div> </div>
</div> </div>
<!-- //cont --> <!-- //btn_wrap -->
</form:form> </form:form>
</body> </body>
</html> </html>

View File

@ -97,112 +97,94 @@ function logListExcelDownload(){
<input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
<div class="cont_wrap"> <div class="content_title">
<div class="box"> <h3>사용자로그 관리</h3>
<ol class="breadcrumb">
<!-- cont_tit --> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<div class="cont_tit"> <li><a href="#">접속통계</a></li>
<h2>사용자로그 관리</h2> <li><strong class="current_location">사용자로그 관리</strong></li>
<ul class="cont_nav"> </ol>
<li class="home"><a href="/"><i></i></a></li>
<li>
<p>로그관리</p>
</li>
<li><span class="cur_nav">사용자로그 관리</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<!-- list_top -->
<div class="search_detail">
<ul class="search_ul">
<li>
<p class="title">· 구분</p>
<select name="searchCondition" id="searchCondition" style="width:150px;margin:0 5px 0 0;">
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>메뉴명</option>
<option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected</c:if>>URL</option>
</select>
<input type="text" id="searchKeyword" name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${searchVO.searchKeyword}'/>" size="50" title="검색" maxlength="50"/>
</li>
<li>
<button class="btn btn_36 blue_border btn-page-sch" title="검색 완료 버튼" onclick="fn_select('1'); return false;">검색</button>
</li>
</ul>
</div>
<!-- //list_top -->
<div class="form-wrap">
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 5%">
<col style="width: 12%">
<%-- <col style="width: 9%"> --%>
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 24%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<th>번호<button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th>메뉴명<button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th>메소드<button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th>접속ID<button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th>접속IP<button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th>접속URL<button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th>접속일자<button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach items="${adminLogList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<%-- <td><c:out value="${result.methodNm}"/></td> --%>
<td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<!--
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
-->
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</div>
</div>
</div> </div>
<ul class="search_area box">
<li class="search_item">
<strong class="search_title">구분</strong>
<div class="form_wrap search_right">
<select name="searchCondition" id="searchCondition" class="search_select">
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>메뉴명</option>
<option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected</c:if>>URL</option>
</select>
<input type="text" id="searchKeyword" name="searchKeyword" class="input search_input" placeholder="검색어를 입력하세요" value="<c:out value='${searchVO.searchKeyword}'/>" size="50" title="검색" maxlength="50"/>
<button class="btn btn_search" title="검색 완료 버튼" onclick="fn_select('1'); return false;">검색</button>
</div>
</li>
</ul>
<div class="form-wrap">
<div class="table table_type_cols">
<table>
<colgroup>
<col style="width: 5%">
<col style="width: 12%">
<%-- <col style="width: 9%"> --%>
<col style="width: 6%">
<col style="width: 15%">
<col style="width: 10%">
<col style="width: 24%">
<col style="width: 15%">
</colgroup>
<thead>
<tr>
<th>번호<button type="button" class="sortBtn sort" id="sort_logId"></button></th>
<th>메뉴명<button type="button" class="sortBtn sort" id="sort_menuNm"></button></th>
<!-- <th>접근구분 <button type="button" class="sortBtn sort" id="sort_approNm"></button></th> -->
<th>메소드<button type="button" class="sortBtn sort" id="sort_progrmFileNm"></button></th>
<th>접속ID<button type="button" class="sortBtn sort" id="sort_loginId"></button></th>
<th>접속IP<button type="button" class="sortBtn sort" id="sort_loginIp"></button></th>
<th>접속URL<button type="button" class="sortBtn sort" id="sort_url"></button></th>
<th>접속일자<button type="button" class="sortBtn sort" id="sort_creatDt"></button></th>
</tr>
</thead>
<tbody>
<c:forEach items="${adminLogList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.menuNm}"/></td>
<%-- <td><c:out value="${result.methodNm}"/></td> --%>
<td><c:out value="${result.approNm}"/></td>
<td><span class="privateInfo"><c:out value="${result.loginId}"/></span></td>
<td><c:out value="${result.loginIp}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td><c:out value="${result.creatDt}"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<!--
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
-->
</div>
<!-- page -->
<div class="page">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</div>
<!-- //page -->
</form> </form>
<form name="searchForm" method="get" action="<c:url value='/sym/log/clg/SelectLoginLogList.do'/>"> <form name="searchForm" method="get" action="<c:url value='/sym/log/clg/SelectLoginLogList.do'/>">
<input name="pageIndex" type="hidden" value="1" /> <input name="pageIndex" type="hidden" value="1" />

View File

@ -142,136 +142,122 @@ function fnCheckAll(){
<input type="hidden" name="pageType" value="" /> <input type="hidden" name="pageType" value="" />
<input type="hidden" name="admotId" value="" /> <input type="hidden" name="admotId" value="" />
<div class="cont_wrap"> <div class="content_title">
<div class="box"> <h3>관리자로그설정관리</h3>
<!-- cont_tit --> <ol class="breadcrumb">
<div class="cont_tit"> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<h2>관리자로그설정관리</h2> <li><a href="#">접속통계</a></li>
<ul class="cont_nav"> <li><strong class="current_location">관리자로그설정관리</strong></li>
<li class="home"><a href="/"><i></i></a></li> </ol>
<li> </div>
<p>운영관리</p>
</li>
<li><span class="cur_nav">관리자로그설정관리</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont"> <ul class="search_area box">
<!-- list_top --> <li class="search_item">
<strong class="search_title">구분</strong>
<div class="search_detail"> <div class="form_wrap search_right">
<ul class="search_ul"> <select name="searchCondition" id="searchCondition" class="search_select">
<li> <option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option>
<p class="title">· 구분</p> <option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>매뉴명</option>
<select name="searchCondition" id="searchCondition" style="width:150px;margin:0 5px 0 0;"> <option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected</c:if>>메소드명</option>
<option value='' <c:if test="${searchVO.searchCondition == ''}">selected</c:if> >전체</option> </select>
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected</c:if>>매뉴명</option> <input type="text" id="searchKeyword" name="searchKeyword" class="input search_input" placeholder="검색어를 입력하세요" value="<c:out value='${searchVO.searchKeyword}'/>" size="50" title="검색" maxlength="50"/>
<option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected</c:if>>메소드명</option> <button class="btn btn_search" title="검색 완료 버튼" onclick="fn_select('1'); return false;">검색</button>
</select>
<input type="text" id="searchKeyword" name="searchKeyword" class="search_input" placeholder="검색어를 입력하세요" value="<c:out value='${searchVO.searchKeyword}'/>" size="50" title="검색" maxlength="50"/>
</li>
<li>
<button class="btn btn_36 blue_border btn-page-sch" title="검색 완료 버튼" onclick="fn_select('1'); return false;">검색</button>
</li>
</ul>
</div>
<!-- //list_top -->
<div class="table_top mb15">
<p class="total_table_text">총 건수 : <span class="color_blue fw_bold"><c:out value="${paginationInfo.totalRecordCount}" /></span></p>
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px">
<option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${searchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${searchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${searchVO.pageUnit == '100'}">selected</c:if>>100줄</option>
</select>
</div>
<div class="form-wrap">
<div class="table-layout">
<table>
<caption>분쟁조정 사례 테이블입니다.</caption>
<colgroup>
<col style="width: 100px;">
<col style="width: 15%;">
<col style="width: 18%;">
<col style="width: 20%;">
<col style="width: 9%;">
<col style="width: 10%;">
<%-- <col style="width: 8%;"> --%>
<col style="width: 8%;">
<col style="width: 10%;">
<col style="width: 8%;">
<col style="width: 80px;">
</colgroup>
<thead>
<tr>
<th>번호<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_tempSortNum"></div></th>
<th>메뉴명<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_menuNm"></div></th>
<th>메소드명<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_methodNm"></div></th>
<th>기능명<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_approNm"></div></th>
<th>파라미터<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_param"></div></th>
<th>개인정보여부<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_privacy"></div></th>
<!-- <th>등록일자</p><input type="button" class="sortBtn sort" id="sort_creatDt"></th> -->
<th>사용자구분<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_method_cd"></div></th>
<th>통계사용여부<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_use_yn"></div></th>
<th>통계순서<div class="sort_wrap"><input type="button" class="sortBtn sort" id="sort_sort_num"></div></th>
<th>관리</p></th>
</tr>
</thead>
<tbody>
<c:forEach items="${logMethodList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td class="td_wrap t_left"><c:out value="${result.menuNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.approNm}"/></td>
<td><c:out value="${result.param}"/></td>
<td><c:out value="${result.privacy}"/></td>
<%-- <td><c:out value="${result.creatDt}"/></td> --%>
<td><c:out value="${result.dateType}"/></td>
<td><c:out value="${result.useYn}"/></td>
<td><c:out value="${result.sortNum}"/></td>
<td>
<input type="button" value="수정" class="btn btn_text btn_30 orange_border btnType01" style="padding:0 8px;font-size:14px;" onclick="fn_modify('${result.admotId}'); return false;">
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<!--
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
-->
</div>
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty logMethodList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</div> </div>
</li>
</ul>
<div class="search_area">
<div class="search_left">
<p class="total_number">총 게시물 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p>
</div>
<div class="search_right">
<select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width:100px;">
<option value='10' <c:if test="${searchVO.pageUnit == '10' or searchVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${searchVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${searchVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<option value='100' <c:if test="${searchVO.pageUnit == '100'}">selected</c:if>>100줄</option>
</select>
</div> </div>
</div> </div>
<!-- //cont -->
<div class="table table_type_cols">
<table>
<colgroup>
<col style="width: 80px;">
<col style="width: calc((50%/3) - 100px);">
<col style="width: calc((50%/3) - 100px);">
<col style="width: calc((50%/3) - 100px);">
<col style="width: 7%;">
<col style="width: 8%;">
<%-- <col style="width: 8%;"> --%>
<col style="width: 7%;">
<col style="width: 8%;">
<col style="width: 7%;">
<col style="width: 60px;">
</colgroup>
<thead>
<tr>
<th>번호<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_tempSortNum"></div></th>
<th>메뉴명<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_menuNm"></div></th>
<th>메소드명<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_methodNm"></div></th>
<th>기능명<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_approNm"></div></th>
<th>파라미터<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_param"></div></th>
<th>개인정보여부<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_privacy"></div></th>
<!-- <th>등록일자</p><input type="button" class="sortBtn sort" id="sort_creatDt"></th> -->
<th>사용자구분<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_method_cd"></div></th>
<th>통계사용여부<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_use_yn"></div></th>
<th>통계순서<div class="sort_wrap"><input type="button" class="sortBtn sort" value="▲" id="sort_sort_num"></div></th>
<th>관리</p></th>
</tr>
</thead>
<tbody>
<c:forEach items="${logMethodList}" var="result" varStatus="status">
<tr>
<td>
<c:if test="${searchVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${searchVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td class="td_wrap t_left"><c:out value="${result.menuNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.methodNm}"/></td>
<td class="td_wrap t_left"><c:out value="${result.approNm}"/></td>
<td><c:out value="${result.param}"/></td>
<td><c:out value="${result.privacy}"/></td>
<%-- <td><c:out value="${result.creatDt}"/></td> --%>
<td><c:out value="${result.dateType}"/></td>
<td><c:out value="${result.useYn}"/></td>
<td><c:out value="${result.sortNum}"/></td>
<td>
<button type="button" class="btn line primary small" onclick="fn_modify('${result.admotId}'); return false;">수정</button>
<%-- <input type="button" value="수정" class="btn line primary small" onclick="fn_modify('${result.admotId}'); return false;"> --%>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<!--
<div class="change-state-area btn_wrap right" style="overflow: hidden;padding:0;">
<button type="button" onclick="goPage('write','')" class="btn-change-state btn btn_text btn_46 blue_fill">글쓰기</button>
</div>
-->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty logMethodList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</form> </form>
<form name="searchForm" method="get" action="<c:url value='/sym/log/clg/SelectLoginLogList.do'/>"> <form name="searchForm" method="get" action="<c:url value='/sym/log/clg/SelectLoginLogList.do'/>">
<input name="pageIndex" type="hidden" value="1" /> <input name="pageIndex" type="hidden" value="1" />

View File

@ -203,158 +203,130 @@ function fn_delete() {
<input name="searchCondition" type="hidden" value="<c:out value="${searchFr.searchCondition}" />" /> <input name="searchCondition" type="hidden" value="<c:out value="${searchFr.searchCondition}" />" />
<input name="searchKeyword" type="hidden" value="<c:out value="${searchFr.searchKeyword}" />"/> <input name="searchKeyword" type="hidden" value="<c:out value="${searchFr.searchKeyword}" />"/>
<div class="content_title">
<div class="cont_wrap"> <h3>관리자로그설정관리상세</h3>
<div class="box"> <ol class="breadcrumb">
<!-- cont_tit --> <li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<div class="cont_tit"> <li><a href="#">접속통계</a></li>
<h2>관리자로그설정관리상세</h2> <li><a href="#">로그메뉴명관리</a></li>
<li><strong class="current_location">관리자로그설정관리상세</strong></li>
<ul class="cont_nav"> </ol>
<li class="home"><a href="/"><i></i></a></li> </div>
<li>
<p>운영관리</p>
</li>
<li><span>관리자로그설정관리</span></li>
<li><span class="cur_nav">상세화면</span></li>
</ul>
</div>
<!-- //cont_tit -->
<div class="cont">
<!-- list -->
<div class="table table_type_rows">
<table>
<colgroup>
<col style="width: 200px;">
<col style="width: auto;">
</colgroup>
<tbody>
<tr>
<th><span class="required">*</span>메뉴명</th>
<td>
<input type="text" class="input" size="100" name="menuNm" value="${loginLog.menuNm}" title="menuNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="required">*</span>메소드명</th>
<td>
<input type="text" class="input" size="100" name="methodNm" value="${loginLog.methodNm}" title="methodNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="required">*</span>기능명</th>
<td>
<input type="text" class="input" size="100" name="approNm" value="${loginLog.approNm}" title="approNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="required">*</span>파라미터</th>
<td>
<input type="text" class="input" size="100" name="param" value="${empty loginLog.admotId ? 'N' : loginLog.param }" title="param" maxlength="100" />
<div class="input_desc_wrap column">
<span class="input_desc">*기본값은 N 입니다.</span>
<span class="input_desc">*N이 아닌 값을 사용할 경우는 url에 'logParam=파라미터값' 형식을 추가해야 적용됩니다.</span>
</div>
</td>
</tr>
<tr>
<th><span class="required">*</span>privacy</th>
<td>
<input type="text" class="input" size="100" name="privacy" value="${empty loginLog.admotId ? 'N' : loginLog.privacy }" title="privacy" maxlength="100" />
<div class="input_desc_wrap column">
<span class="input_desc">*기본값은 N 입니다.</span>
<span class="input_desc">*N / Y *개인정보 포함 여부를 표시합니다.</span>
</div>
</td>
</tr>
<tr>
<th><span class="required">*</span>사용자구분</th>
<td>
<input type="text" class="input" size="100" name="dateType" value="${empty loginLog.admotId ? 'N' : loginLog.dateType }" title="dateType" maxlength="100" />
<span class="text_split">${loginLog.dateType}</span>
<span class="input_desc">*U(사용자) / A(관리자)</span>
</td>
</tr>
<!-- list --> <tr>
<div class="col-table data-table"> <th><span class="required">*</span>통계노출여부</th>
<td>
<select name="useYn" id="useYn" class="select">
<option value="N" <c:if test="${loginLog.useYn == 'N'}">selected</c:if>>미사용</option>
<option value="Y" <c:if test="${loginLog.useYn == 'Y'}">selected</c:if>>사용</option>
</select>
</td>
</tr>
<tr>
<th><span class="required">*</span>통계순서</th>
<td>
<input type="text" class="input" size="10" name="sortNum" value="${loginLog.sortNum}" title="sortNum" maxlength="10" />
</td>
</tr>
<table> <c:if test="${!empty loginLog.admotId }">
<colgroup> <tr>
<col style="width: 20%"> <th><span class="required">*</span>등록일자</th>
<col style="width: 80%"> <td>
</colgroup> ${loginLog.creatDt}
<tbody> <%-- <input name="creatDt" value="${loginLog.creatDt}" title="creatDt" maxlength="100" readonly /> --%>
<tr> </td>
<th><span class="reqArea">메뉴명</span></th> </tr>
<td style="text-align:left;">
<input type="text" size="100" name="menuNm" value="${loginLog.menuNm}" title="menuNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="reqArea">메소드명</span></th>
<td style="text-align:left;">
<input type="text" size="100" name="methodNm" value="${loginLog.methodNm}" title="methodNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="reqArea">기능명</span></th>
<td style="text-align:left;">
<input type="text" size="100" name="approNm" value="${loginLog.approNm}" title="approNm" maxlength="100" />
</td>
</tr>
<tr>
<th><span class="reqArea">파라미터</span></th>
<td style="text-align:left;">
<input type="text" size="100" name="param" value="${empty loginLog.admotId ? 'N' : loginLog.param }" title="param" maxlength="100" />
<br><span class="cfText">*기본값은 N 입니다.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">*N이 아닌 값을 사용할 경우는 url에 'logParam=파라미터값' 형식을 추가해야 적용됩니다.</span>
</td>
</tr>
<tr>
<th><span class="reqArea">privacy</span></th>
<td style="text-align:left;">
<input type="text" size="100" name="privacy" value="${empty loginLog.admotId ? 'N' : loginLog.privacy }" title="privacy" maxlength="100" />
<br><span class="cfText">*기본값은 N 입니다.</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">N / Y *개인정보 포함 여부를 표시합니다.</span>
</td>
</tr>
<tr>
<th><span class="reqArea">사용자구분</span></th>
<td style="text-align:left;">
<input type="text" size="100" name="dateType" value="${empty loginLog.admotId ? 'N' : loginLog.dateType }" title="dateType" maxlength="100" />
${loginLog.dateType}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="cfText c_ed4555">U(사용자) / A(관리자)</span>
</td>
</tr>
<tr>
<th><span class="reqArea">통계노출여부</span></th>
<td colspan="3" style="text-align:left;">
<select name="useYn" id="useYn" class="sel_type1">
<option value="N" <c:if test="${loginLog.useYn == 'N'}">selected</c:if>>미사용</option>
<option value="Y" <c:if test="${loginLog.useYn == 'Y'}">selected</c:if>>사용</option>
</select>
</td>
</tr>
<tr>
<th><span class="reqArea">통계순서</span></th>
<td colspan="3" style="text-align:left;">
<input type="text" size="10" name="sortNum" value="${loginLog.sortNum}" title="sortNum" maxlength="10" />
</td>
</tr>
<c:if test="${!empty loginLog.admotId }">
<tr>
<th><span class="reqArea">등록일자</span></th>
<td colspan="3" style="text-align:left;">
${loginLog.creatDt}
<%-- <input name="creatDt" value="${loginLog.creatDt}" title="creatDt" maxlength="100" readonly /> --%>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<div class="btn_wrap">
<div class="area_left">
<c:if test="${!empty loginLog.admotId }">
<button type="button" class="btn btn_text btn_46 red_border btn-page-sch" onclick="fn_delete(); return false;">삭제</button>
</c:if>
</div>
<div class="area_right">
<c:if test="${!empty loginLog.admotId }">
<button type="button" class="btn btn_text btn_46 blue_fill btn-page-sch" onclick="fn_update(); return false;">수정</button>
</c:if>
<c:if test="${empty loginLog.admotId }">
<button type="button" class="btn btn_text btn_46 blue_fill btn-page-sch" onclick="fn_insert(); return false;">저장</button>
</c:if>
<button type="button" class="btn btn_text btn_46 gray_fill btn-page-sch" onclick="goList(); return false;">목록</button>
</div>
</div>
<!-- //list -->
<!-- btn_wrap -->
<!-- btn_wrap -->
<!--
<div class="btn_wrap btn_layout01">
<div class="area_right">
<button type="button" class="btnType02" onclick="fncDeleteGroupPolicy(); return false;">삭제</button>
</div>
<div class="area_right">
<button type="button" class="btnType02" onclick="fncInsertLoginGroupPolicy(); return false;">등록</button>
</div>
</div>
-->
<!-- //btn_wrap -->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty logMethodList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if> </c:if>
<!-- //페이지 네비게이션 끝 --> </tbody>
</div> </table>
</div>
<div class="btn_wrap">
<div class="left">
<c:if test="${!empty loginLog.admotId }">
<button type="button" class="btn line xlarge red" onclick="fn_delete(); return false;">삭제</button>
</c:if>
</div>
<div class="right">
<c:if test="${!empty loginLog.admotId }">
<button type="button" class="btn fill xlarge primary" onclick="fn_update(); return false;">수정</button>
</c:if>
<c:if test="${empty loginLog.admotId }">
<button type="button" class="btn fill xlarge primary" onclick="fn_insert(); return false;">저장</button>
</c:if>
<button type="button" class="btn fill xlarge gray" onclick="goList(); return false;">목록</button>
</div> </div>
</div> </div>
<!-- //cont -->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty logMethodList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</form> </form>

View File

@ -23,12 +23,12 @@
<link href="<c:url value='/'/>css/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css"> <link href="<c:url value='/'/>css/jstree/themes/default/style.min.css" rel="stylesheet" type="text/css">
<%-- <link href="<c:url value='/'/>css/style.min.css" rel="stylesheet" type="text/css"> --%> <%-- <link href="<c:url value='/'/>css/style.min.css" rel="stylesheet" type="text/css"> --%>
<style> <style>
.jstree_orgChart { /* .jstree_orgChart {
overflow: auto; overflow: auto;
border: 1px solid silver; border: 1px solid silver;
min-height: 100px; min-height: 100px;
width: 290px; width: 290px;
} } */
</style> </style>
<script src="<c:url value='/js/jquery-1.12.4.min.js' />"></script> <script src="<c:url value='/js/jquery-1.12.4.min.js' />"></script>
<script src="<c:url value='/js/jstree.min.js' />"></script> <script src="<c:url value='/js/jstree.min.js' />"></script>
@ -744,198 +744,188 @@ function set_bbs(){
<input type="hidden" id="existChildNode" name="existChildNode" value="N" /> <input type="hidden" id="existChildNode" name="existChildNode" value="N" />
<input type="hidden" name="emplyrId" id="emplyrId" /><!-- 담당자ID --> <input type="hidden" name="emplyrId" id="emplyrId" /><!-- 담당자ID -->
<!-- cont --> <div class="content_title">
<div class="cont_wrap"> <h3>메뉴관리</h3>
<ol class="breadcrumb">
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">메뉴관리</a></li>
<li><strong class="current_location">메뉴관리</strong></li>
</ol>
</div>
<div class="box"> <%-- <div class="menu_select">
<select name="authorCode" id="authorCode" class="select" onchange="jstreeRefresh(); return false;" title="검색조건선택">
<option value='ROLE_ANONYMOUS' <c:if test="${menuCreatVO.authorCode == 'ROLE_ANONYMOUS' || empty menuCreatVO.authorCode }">selected</c:if>>사용자</option>
<option value='ROLE_ADMIN' <c:if test="${menuCreatVO.authorCode == 'ROLE_ADMIN' }">selected</c:if>>관리자</option>
<c:forEach var="authorList" items="${authorList}" varStatus="status">
<option value='${authorList.authorCode}' <c:if test="${menuCreatVO.authorCode == authorList.authorCode}">selected</c:if>>${authorList.authorCode}</option>
</c:forEach>
</select>
</div> --%>
<!-- cont_tit --> <div class="menu_container">
<div class="cont_tit"> <div class="menu_list_content">
<h2>메뉴관리</h2> <div class="btn_wrap left">
<ul class="cont_nav"> <button type="button" class="btn fill primary ssmall all_open" onclick="$('#itn_organization').jstree('open_all' );">모두열기</button>
<li class="home"><a href="/"><i></i></a></li> <button type="button" class="btn fill gray ssmall all_close" onclick="$('#itn_organization').jstree('close_node' , $('#0') );">모두닫기</button>
<li>
<p>메뉴 관리</p>
</li>
<li><span class="cur_nav">메뉴 관리</span></li>
</ul>
</div> </div>
<!-- //cont_tit --> <div class="menu_list" id="itn_organization" class="jstree_orgChart"></div>
</div>
<div class="menu_detail">
<div class="cont"> <div class="content_title h4">
<h4>메뉴 추가등록 상세</h4>
<%-- <div class="menu_select"> </div>
<select name="authorCode" id="authorCode" class="select" onchange="jstreeRefresh(); return false;" title="검색조건선택"> <div class="table table_type_rows">
<option value='ROLE_ANONYMOUS' <c:if test="${menuCreatVO.authorCode == 'ROLE_ANONYMOUS' || empty menuCreatVO.authorCode }">selected</c:if>>사용자</option> <table>
<option value='ROLE_ADMIN' <c:if test="${menuCreatVO.authorCode == 'ROLE_ADMIN' }">selected</c:if>>관리자</option> <colgroup>
<c:forEach var="authorList" items="${authorList}" varStatus="status"> <col style="width: 200px;">
<option value='${authorList.authorCode}' <c:if test="${menuCreatVO.authorCode == authorList.authorCode}">selected</c:if>>${authorList.authorCode}</option> <col style="width: auto;">
</c:forEach> </colgroup>
</select> <tbody>
</div> --%> <tr>
<th>메뉴번호</th>
<div class="menu_wrap"> <td>
<div class="menu_area"> <div id="select_part">
<div class="btn_wrap left"> <input type="text" class="input" name="menuNo" id="menuNo" />
<button type="button" class="btn btn_text blue_fill all_open" onclick="$('#itn_organization').jstree('open_all' );">모두열기</button> <input type="hidden" id="tmp_Id" name="tmp_Id"/><!-- 이전메뉴 No -->
<button type="button" class="btn btn_text blue_border all_close" onclick="$('#itn_organization').jstree('close_node' , $('#0') );">모두닫기</button> </div>
</div> </td>
<div class="menu_list" id="itn_organization" class="jstree_orgChart"></div> </tr>
</div> <tr>
<div class="menu_detail"> <th>메뉴명</th>
<p class="depth02 title">메뉴 추가등록 상세</p> <td>
<div class="col-table data-table"> <input type="text" class="input w100per" name="menuNm" id="menuNm" />
<table> <input type="hidden" id="tmp_Name" name="tmp_Name"/><!-- 이전메뉴 이름 -->
<colgroup> </td>
<col style="width: 215px;"> </tr>
<col style="width: auto;"> <tr>
</colgroup> <th>메뉴설명</th>
<tbody> <td>
<tr> <input type="text" class="input" name="menuDc" id="menuDc" style="width:100%;"/>
<th><span>메뉴번호</span></th> <input type="hidden" id="dc_Name" name="dc_Name"/><!-- 이전메뉴 이름 -->
<td> <div class="input_desc_wrap column">
<div id="select_part"> <span class="input_desc">상세페이지에 대한 제어가 필요한 경우 상세 페이지 주소를 넣으면 된다.</span>
<input type="text" name="menuNo" id="menuNo" /> <span class="input_desc">ex)adjReqMgrRegDetail</span>
<input type="hidden" id="tmp_Id" name="tmp_Id"/><!-- 이전메뉴 No --> </div>
</div> </td>
</td> </tr>
</tr>
<tr>
<th><span>메뉴명</span></th>
<td>
<input type="text" name="menuNm" id="menuNm" />
<input type="hidden" id="tmp_Name" name="tmp_Name"/><!-- 이전메뉴 이름 -->
</td>
</tr>
<tr>
<th><span>메뉴설명</span></th>
<td>
<input type="text" name="menuDc" id="menuDc" style="width:100%;"/>
<input type="hidden" id="dc_Name" name="dc_Name"/><!-- 이전메뉴 이름 -->
<p class="cf_text mt10">상세페이지에 대한 제어가 필요한 경우 상세 페이지 주소를 넣으면 된다.</p>
<p class="cf_text">ex)adjReqMgrRegDetail</p>
</td>
</tr>
<tr> <tr>
<th><span>타입</span></th> <th>타입</th>
<td> <td>
<select name="menuType" id="menuType" title="" onchange="initShowUrl('N'); return false;"> <select name="menuType" id="menuType" class="select" title="" onchange="initShowUrl('N'); return false;">
<option value="M" <c:if test="${userSearchVO.menuType == 'M'}">selected="selected"</c:if> >메뉴</option> <option value="M" <c:if test="${userSearchVO.menuType == 'M'}">selected="selected"</c:if> >메뉴</option>
<option value="P" <c:if test="${userSearchVO.menuType == 'P'}">selected="selected"</c:if> >프로그램</option> <option value="P" <c:if test="${userSearchVO.menuType == 'P'}">selected="selected"</c:if> >프로그램</option>
<option value="C" <c:if test="${userSearchVO.menuType == 'C'}">selected="selected"</c:if> >HTML컨텐츠</option> <option value="C" <c:if test="${userSearchVO.menuType == 'C'}">selected="selected"</c:if> >HTML컨텐츠</option>
<option value="B" <c:if test="${userSearchVO.menuType == 'B'}">selected="selected"</c:if> >게시판</option> <option value="B" <c:if test="${userSearchVO.menuType == 'B'}">selected="selected"</c:if> >게시판</option>
<option value="O" <c:if test="${userSearchVO.menuType == 'O'}">selected="selected"</c:if> >외부링크</option> <option value="O" <c:if test="${userSearchVO.menuType == 'O'}">selected="selected"</c:if> >외부링크</option>
</select> </select>
<a style="display: none;cursor:pointer;" id="btnContent" <a style="display: none;cursor:pointer;" id="btnContent"
target="_blank" title="새창으로" onclick="searchContentList(); return false;" target="_blank" title="새창으로" onclick="searchContentList(); return false;"
style="selector-dummy:expression(this.hideFocus=false);" > style="selector-dummy:expression(this.hideFocus=false);" >
<img src="<c:url value='/img/post/serch_img.png' />" alt='컨텐츠ID 검색' width="15" height="15" /> <img src="<c:url value='/img/post/serch_img.png' />" alt='컨텐츠ID 검색' width="15" height="15" />
<span style="vertical-align: middle;">(화면컨텐츠ID 검색)</span> <span style="vertical-align: middle;">(화면컨텐츠ID 검색)</span>
</a> </a>
<span style="display:none;width:60px;height:36px;cursor:pointer;padding-left:5px;vertical-align:middle;" id="htmlComfirm"> <span style="display:none;" id="htmlComfirm">
<button class="btn btn_text blue_border" style="width:100%;height:100%;padding:0;" onclick="htmlComfirm();" id="a_contentLink">확인</button> <button class="btn line small primary" style="margin:0 0 0 4px;" onclick="htmlComfirm();" id="a_contentLink">확인</button>
</span> </span>
<span id="contentNameSpan" style="color: blue"></span> <span id="contentNameSpan" style="color: blue"></span>
<a style="display: none;cursor:pointer;vertical-align:middle;" id="btnBBS" <a style="display: none;cursor:pointer;vertical-align:middle;" id="btnBBS"
target="_blank" title="새창으로" onclick="searchBBSId(); return false;" target="_blank" title="새창으로" onclick="searchBBSId(); return false;"
style="selector-dummy:expression(this.hideFocus=false);" class="btn btn_text btn_36 blue_border"> style="selector-dummy:expression(this.hideFocus=false);" class="btn btn_text btn_36 blue_border">
<%-- <img src="<c:url value='/img/post/serch_img.png' />" alt='게시판ID 검색' width="15" height="15" /> --%> <%-- <img src="<c:url value='/img/post/serch_img.png' />" alt='게시판ID 검색' width="15" height="15" /> --%>
<span style="vertical-align: middle;">(게시판ID 검색)</span> <span style="vertical-align: middle;">(게시판ID 검색)</span>
</a> </a>
<span id="BBSNameSpan" style="color: blue"></span> <span id="BBSNameSpan" style="color: blue"></span>
<div style="margin:6px 0 0 0;"> <div class="form_wrap input_mix_wrap mt10" id="showUrl" style="display: none;" >
<span id="showUrl" style="display: none;" > <span class="text_split">URL</span>
URL <input type="text" name="url" id="url" style="width:80%;"/> <input type="text" name="url" id="url" class="input w80per">
<input type="hidden" id="url_tmp" name="url_tmp"/> <input type="hidden" id="url_tmp" name="url_tmp"/>
</span> </div>
</div> </td>
</td> </tr>
</tr> <tr>
<tr> <th>상위메뉴번호</th>
<th><span>상위메뉴번호</span></th> <td>
<td> <span id="upperMenuIdText"></span>
<span id="upperMenuIdText"></span> <input type="hidden" id="upperMenuId" name="upperMenuId"/>
<input type="hidden" id="upperMenuId" name="upperMenuId"/> </td>
</td> </tr>
</tr> <tr>
<tr> <th>프로그램파일명</th>
<th><span>프로그램파일명</span></th> <td>
<td> <input type="text" name="progrmFileNm" id="progrmFileNm" class="input" readonly="readonly" onkeyup="onkeyContentName(event);" />
<input type="text" name="progrmFileNm" id="progrmFileNm" readonly="readonly" onkeyup="onkeyContentName(event);" /> <input type="hidden" name="progrmHtmlFileId" id="progrmHtmlFileId" />
<input type="hidden" name="progrmHtmlFileId" id="progrmHtmlFileId" /> <input type="hidden" name="progrmBbsId" id="progrmBbsId" />
<input type="hidden" name="progrmBbsId" id="progrmBbsId" /> <input type="hidden" name="progrmFileNm_tmp" id="progrmFileNm_tmp" />
<input type="hidden" name="progrmFileNm_tmp" id="progrmFileNm_tmp" /> </td>
</td> </tr>
</tr> <tr>
<tr> <th>메뉴경로</th>
<th><span>메뉴경로</span></th> <td>
<td> <span id="menuCours"></span>
<span id="menuCours"> </td>
</span> </tr>
</td> <tr>
</tr> <th><span>메뉴순서</span></th>
<tr> <td>
<th><span>메뉴순서</span></th> <input type="text" class="input" name="menuOrdr" id="menuOrdr" />
<td> </td>
<input type="text" name="menuOrdr" id="menuOrdr" /> </tr>
</td> <tr id="menuOpen">
</tr> <th>메뉴노출</th>
<tr id="menuOpen"> <td>
<th><span>메뉴노출</span></th> <!-- <select name="useYn" id="useYn" title="" > -->
<td> <!-- </select> -->
<!-- <select name="useYn" id="useYn" title="" > --> <%-- <option value="Y" <c:if test="${userSearchVO.useYn == 'Y'}">selected="selected"</c:if> >사용</option>
<!-- </select> --> <option value="N" <c:if test="${userSearchVO.useYn == 'N'}">selected="selected"</c:if> >미사용</option> --%>
<%-- <option value="Y" <c:if test="${userSearchVO.useYn == 'Y'}">selected="selected"</c:if> >사용</option> <div class="form_wrap checkbox_wrap column">
<option value="N" <c:if test="${userSearchVO.useYn == 'N'}">selected="selected"</c:if> >미사용</option> --%> <c:forEach var="authorList" items="${authorList}" varStatus="status">
<c:forEach var="authorList" items="${authorList}" varStatus="status">
<div>
<%-- <input type="checkbox" id="${authorList.authorCode}" name="${authorList.authorCode}" value="${authorList.authorCode}"/>
<label for="${authorList.authorCode}"> ${authorList.authorNm} </label> --%>
<input name="authorChkList" id="<c:out value="${authorList.authorCode}"/>" title="Check <c:out value="${status.count}"/>" type="checkbox" value="${authorList.authorCode}"/>
<label for="<c:out value="${authorList.authorCode}"/>" style="position: unset;"><c:out value="${authorList.authorNm}"/>(<c:out value="${authorList.authorCode}"/>)</label>
</div>
</c:forEach>
</td>
</tr>
<c:if test="${menuManageVO.authorCode == 'ROLE_ANONYMOUS'}">
<tr id="satisTr">
<th><span>만족도 평가</span></th>
<td>
<select name="satisYn" id="satisYn" title="" >
<option value="Y" <c:if test="${userSearchVO.satisYn == 'Y'}">selected="selected"</c:if> >사용</option>
<option value="N" <c:if test="${userSearchVO.satisYn == 'N'}">selected="selected"</c:if> >미사용</option>
</select>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- btn_wrap -->
<div class="btn_wrap mt20">
<div class="area_left">
<button type="button" class="btn btn_text btn_46 red_border main1_delete_btn" onClick="fn_delete_menuInfo(); return false;">삭제</button>
</div>
<div class="area_right">
<button type="button" class="btn btn_text btn_46 blue_fill main1_save_btn" onClick="fn_save_menuInfo(); return false;">저장</button> <%-- <input type="checkbox" id="${authorList.authorCode}" name="${authorList.authorCode}" value="${authorList.authorCode}"/>
</div> <label for="${authorList.authorCode}"> ${authorList.authorNm} </label> --%>
</div> <label for="<c:out value="${authorList.authorCode}"/>" class="checkbox_item">
<!-- //btn_wrap --> <input name="authorChkList" id="<c:out value="${authorList.authorCode}"/>" title="Check <c:out value="${status.count}"/>" type="checkbox" value="${authorList.authorCode}"/>
</div> <c:out value="${authorList.authorNm}"/>(<c:out value="${authorList.authorCode}"/>)
</label>
</c:forEach>
</div>
</td>
</tr>
<c:if test="${menuManageVO.authorCode == 'ROLE_ANONYMOUS'}">
<tr id="satisTr">
<th><span>만족도 평가</span></th>
<td>
<select name="satisYn" id="satisYn" title="" >
<option value="Y" <c:if test="${userSearchVO.satisYn == 'Y'}">selected="selected"</c:if> >사용</option>
<option value="N" <c:if test="${userSearchVO.satisYn == 'N'}">selected="selected"</c:if> >미사용</option>
</select>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- btn_wrap -->
<div class="btn_wrap mt40">
<div class="left">
<button type="button" class="btn line red xlarge main1_delete_btn" onClick="fn_delete_menuInfo(); return false;">삭제</button>
</div> </div>
<div class="right">
<button type="button" class="btn fill primary xlarge main1_save_btn" onClick="fn_save_menuInfo(); return false;">저장</button>
</div>
</div> </div>
<!-- //btn_wrap -->
</div> </div>
</div> </div>
<!-- //cont -->
</form> </form>
<table id="eva_temp_table" style="display:none"> <table id="eva_temp_table" style="display:none">

View File

@ -108,10 +108,10 @@ String.prototype.replaceAll = function(src, repl){
</script> </script>
<style> <style>
.date_format{width:91px !important;} /* .date_format{width:91px !important;}
.main1_table input{ .main1_table input{
width: unset; width: unset;
} } */
</style> </style>
</head> </head>
<body> <body>
@ -119,94 +119,85 @@ String.prototype.replaceAll = function(src, repl){
<input name="cmd" type="hidden" value="<c:out value='save'/>"/> <input name="cmd" type="hidden" value="<c:out value='save'/>"/>
<input name="cntId" type="hidden" value="${cntManageVO.cntId }"/> <input name="cntId" type="hidden" value="${cntManageVO.cntId }"/>
<!-- cont --> <div class="content_title">
<div class="cont_wrap"> <h3>콘텐츠관리 등록/수정</h3>
<div class="box"> <ol class="breadcrumb">
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">콘텐츠관리</a></li>
<li><a href="#">콘텐츠관리</a></li>
<li><strong class="current_location">콘텐츠관리 등록/수정</strong></li>
</ol>
</div>
<!-- cont_tit -->
<div class="cont_tit"> <!-- list_상세 -->
<h2>콘텐츠관리 등록/수정</h2> <div class="table table_type_rows">
<ul class="cont_nav"> <table>
<li class="home"><a href="/"><i></i></a></li> <colgroup>
<li> <col style="width: 200px">
<p>콘텐츠관리</p> <col style="width: auto">
</li> </colgroup>
<li>
<p>콘텐츠관리</p> <tbody>
</li> <tr>
<li><span class="cur_nav">콘텐츠관리 등록/수정</span></li> <th><span class="required">*</span>콘텐츠 이름</th>
</ul> <td>
<form:input path="cntName" cssClass="txaIpt input w100per" maxlength="100"/>
<form:errors path="cntName" cssClass="error"/>
</td>
</tr>
<tr>
<th><span class="required">*</span>내용</th>
<td>
<form:textarea path="cntCn" cssClass="input" cols="300" rows="20" />
<ckeditor:replace replace="cntCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
</td>
</tr>
<c:if test="${not empty cntManageVO.cntId}">
<tr>
<th>최종수정일</th>
<td>
<form:input path="registPnttm" size="73" cssClass="txaIpt input w20per" maxlength="255" readonly="readonly" />
<form:errors path="registPnttm" cssClass="error"/>
</td>
</tr>
<tr>
<th>작성자</th>
<td>
<form:input path="registerId" size="73" cssClass="txaIpt input w20per" maxlength="255" />
<form:errors path="registerId" cssClass="error"/>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap">
<div class="left">
<button class="btn line primary xlarge" onclick="ckeditorPriview(); return false;">미리보기</button>
<button class="btn line secondary xlarge" id="origin_txt" style="display:none;" onclick="originTextCopy(); return false;">원본 내용</button>
</div> </div>
<!-- //cont_tit --> <div class="right">
<div class="cont"> <c:if test="${!empty cntManageVO.cntDtId }">
<!-- list_상세 --> <button class="btn fill primary xlarge" onclick="fn_egov_save_CntManage('modi'); return false;">수정</button>
<div class="tbType02 col-table data-table"> </c:if>
<table> <c:if test="${empty cntManageVO.cntDtId}">
<colgroup> <button class="btn fill primary xlarge" onclick="fn_egov_save_CntManage('save'); return false;">등록</button>
<col style="width: 20%"> </c:if>
<col style="width: 80%"> <button class="btn fill gray xlarge" onclick="location.href='/uss/ion/cnt/contentList.do'; return false;">목록</button>
</colgroup>
<tbody>
<tr>
<th><span class="reqArea">콘텐츠 이름</span></th>
<td>
<form:input path="cntName" cssClass="txaIpt w100per" maxlength="100"/>
<form:errors path="cntName" cssClass="error"/>
</td>
</tr>
<tr>
<th style="vertical-align:middle;"><span class="reqArea">내용</span></th>
<td>
<form:textarea path="cntCn" cols="300" rows="20" />
<ckeditor:replace replace="cntCn" basePath="${pageContext.request.contextPath}/html/egovframework/com/cmm/utl/ckeditor/" />
</td>
</tr>
<c:if test="${not empty cntManageVO.cntId}">
<tr>
<th>최종수정일</th>
<td>
<form:input path="registPnttm" size="73" cssClass="txaIpt" maxlength="255" readonly="readonly " style="width:95%"/>
<form:errors path="registPnttm" cssClass="error"/>
</td>
</tr>
<tr>
<th>작성자</th>
<td>
<form:input path="registerId" size="73" cssClass="txaIpt" maxlength="255" style="width:95%"/>
<form:errors path="registerId" cssClass="error"/>
</td>
</tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list_상세 -->
<!-- btn_wrap -->
<div class="btn_wrap">
<div class="area_left">
<button class="btn btn_text btn_46 blue_border btnType03" onclick="ckeditorPriview(); return false;">미리보기</button>
</div>
<div class="area_right">
<button class="btn btn_text btn_46 gray_fill btnType03" onclick="location.href='/uss/ion/cnt/contentList.do'; return false;">목 록</button>
<c:if test="${!empty cntManageVO.cntDtId }">
<button class="btn btn_text btn_46 blue_fill btnType02" onclick="fn_egov_save_CntManage('modi'); return false;">수 정</button>
</c:if>
<c:if test="${empty cntManageVO.cntDtId}">
<button class="btn btn_text btn_46 blue_fill btnType02" onclick="fn_egov_save_CntManage('save'); return false;">등 록</button>
</c:if>
<button class="btnType03" id="origin_txt" class="btnType1 bg_ed4545" style="display:none;" onclick="originTextCopy(); return false;">원본 내용</button>
</div>
</div>
<!-- //btn_wrap -->
<iframe name="iframe_egov_cntDetail" id="iframe_egov_cntDetail" src="/uss/ion/cnt/cntDetailList.do?cntId=${cntManageVO.cntId }"
style="margin-top: 1px;width: 100%; height: 750px; border:none;" scrolling="no" marginheight="0" marginwidth="0"></iframe>
</div>
</div> </div>
</div> </div>
<!-- //cont --> <!-- //btn_wrap -->
<iframe name="iframe_egov_cntDetail" id="iframe_egov_cntDetail" src="/uss/ion/cnt/cntDetailList.do?cntId=${cntManageVO.cntId }"
style="margin-top: 1px;width: 100%; height: 750px; border:none;" scrolling="no" marginheight="0" marginwidth="0"></iframe>
</form:form> </form:form>
</body> </body>
</html> </html>

View File

@ -153,10 +153,6 @@ function contentListExcelDownload(){
} }
</script> </script>
<!-- <style>
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; background: url('/') no-repeat 95% 50%; /* 화살표 모양의 이미지 */ }
select::-ms-expand { display: none;}
</style> -->
</head> </head>
<body> <body>
<form:form id="listForm" name="listForm" action="<c:url value='/uss/ion/cnt/contentList.do'/>" method="post"> <form:form id="listForm" name="listForm" action="<c:url value='/uss/ion/cnt/contentList.do'/>" method="post">
@ -167,123 +163,120 @@ function contentListExcelDownload(){
<input type="hidden" name="searchSortCnd" value="<c:out value="${cntManageVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortCnd" value="<c:out value="${cntManageVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${cntManageVO.searchSortOrd}" />" /> <input type="hidden" name="searchSortOrd" value="<c:out value="${cntManageVO.searchSortOrd}" />" />
<div class="content_title">
<h3>콘텐츠 관리</h3>
<ol class="breadcrumb">
<li><a href="#" class="home" title="메인으로 이동"><i></i></a></li>
<li><a href="#">콘텐츠 관리</a></li>
<li><strong class="current_location">콘텐츠 관리</strong></li>
</ol>
</div>
<!-- cont --> <div class="search_area">
<div class="cont_wrap"> <div class="search_left">
<div class="box"> <p class="total_number">총 게시물 <b><c:out value="${paginationInfo.totalRecordCount}" /></b>건</p>
<div class="cont_tit"> </div>
<h2>콘텐츠관리</h2> <div class="search_right">
<ul class="cont_nav">
<li class="home"><a href="/"><i></i></a></li>
<li>
<p>콘텐츠관리</p>
</li>
<li><span class="cur_nav">콘텐츠관리</span></li>
</ul>
</div>
<!-- cont -->
<div class="cont">
<!-- list_top -->
<div class="list_top table_top">
<p clas="table_total_text">총 건수 : <span class="color_blue fw_bold"><c:out value="${paginationInfo.totalRecordCount}" /></span>건</p>
<div class="list_util search_wrap">
<c:if test="${siteId eq 'super'}">
<select name="searchConditionSite" id="searchConditionSite" title="검색조건2-검색어구분">
<c:forEach var="result" items="${siteManageList}" varStatus="status">
<option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
</c:forEach>
</select>
</c:if>
컨텐츠 명 :
<input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${cntManageVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
<button class="btn btn_text blue_border" onclick="fncSelectCntList(); return false;">검색</button>
<select class="sel2" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width: 140px"> <c:if test="${siteId eq 'super'}">
<option value='10' <c:if test="${cntManageVO.pageUnit == '10' or cntManageVO.pageUnit == ''}">selected</c:if>>10줄</option> <select name="searchConditionSite" id="searchConditionSite" class="search_select" title="검색조건2-검색어구분">
<option value='20' <c:if test="${cntManageVO.pageUnit == '20'}">selected</c:if>>20줄</option> <c:forEach var="result" items="${siteManageList}" varStatus="status">
<option value='30' <c:if test="${cntManageVO.pageUnit == '30'}">selected</c:if>>30줄</option> <option value="${result.siteId}" <c:if test="${result.siteId eq userSearchVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
</select> </c:forEach>
</div> </select>
</div> </c:if>
<!-- //list_top --> 컨텐츠 명 :
<input type="text" id="searchKeyword" class="input search_input" name="searchKeyword" value="<c:out value='${cntManageVO.searchKeyword}'/>" class="search_input" placeholder="검색어를 입력하세요">
<button class="btn btn_search" onclick="fncSelectCntList(); return false;">검색</button>
<!-- list --> <select class="search_select" name="pageUnit" id="pageUnit" onchange="linkPage(1);" title="줄 선택" style="width:100px;">
<div class="table-layout mt15"> <option value='10' <c:if test="${cntManageVO.pageUnit == '10' or cntManageVO.pageUnit == ''}">selected</c:if>>10줄</option>
<table> <option value='20' <c:if test="${cntManageVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<colgroup> <option value='30' <c:if test="${cntManageVO.pageUnit == '30'}">selected</c:if>>30줄</option>
<col style="width: 10%"> </select>
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 20%">
<col style="width: 19%">
<col style="width: 30%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fn_egov_checkAll_cntManage();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_cntId">▲</button></th>
<th scope="col">콘텐츠이름<button class="sort sortBtn" id="sort_cntName">▲</button></th>
<th scope="col">연결메뉴<button class="sort sortBtn" id="sort_menuNm">▲</button></th>
<th scope="col">등록자<button class="sort sortBtn" id="sort_registerId">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_registPnttm">▲</button></th>
<th scope="col">미리보기</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${cntManageList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" class="check2" id="<c:out value="${result.cntId}"/>" value="${result.cntId}"><label for="<c:out value="${result.cntId}"/>"></label>
<input type="hidden" name="checkId" value="<c:out value="${result.cntId}"/>" />
</td>
<td>
<c:if test="${cntManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${cntManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td>
<a href="#" onclick="fncSelectCntDetail('<c:out value="${result.cntId}"/>','<c:out value="${result.cntDtId}"/>')"><c:out value="${result.cntName}"/></a>
</td>
<td><c:out value="${result.menuNm}"/></td>
<td><c:out value="${result.registerId}"/></td>
<td><c:out value="${result.registPnttm}"/></td>
<td>
<%-- <input type="button" class="btnType1" onclick="fncPreviewCntDetail('<c:out value="${result.cntDtId}"/>','<c:out value="${result.siteId}"/>'); return false;" value="미리보기"> --%>
<button type="button" class="btn btn_text btn_30 orange_border btnType01" onclick="fncPreviewCntDetail('<c:out value="${result.cntDtId}"/>','<c:out value="${result.siteId}"/>'); return false;">미리보기</button>
</tr>
</c:forEach>
<c:if test="${empty cntManageList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap">
<button type="button" class="btn btn_text btn_46 red_border" onclick="fncCntDeleteList(); return false;">삭제</button>
<button type="button" class="btn btn_text btn_46 blue_fill" onclick="location.href='/uss/ion/cnt/cntManageInsert.do'; return false;">등록</button>
</div>
<!-- //btn_wrap -->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty cntManageList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</div>
</div> </div>
</div> </div>
<!-- //cont -->
<div class="table table_type_cols">
<table>
<colgroup>
<col style="width: 40px;">
<col style="width: 6%;">
<col style="width: calc((54%/2) - 40px);">
<col style="width: calc((54%/2) - 40px);">
<col style="width: 10%;">
<col style="width: 20%;">
<col style="width: 10%;">
</colgroup>
<thead>
<tr>
<th><input type="checkbox" name="checkAll" id="checkAll" onclick="fn_egov_checkAll_cntManage();" /><label for="checkAll"></label></th>
<th scope="col">번호<button class="sort sortBtn" id="sort_cntId">▲</button></th>
<th scope="col">콘텐츠이름<button class="sort sortBtn" id="sort_cntName">▲</button></th>
<th scope="col">연결메뉴<button class="sort sortBtn" id="sort_menuNm">▲</button></th>
<th scope="col">등록자<button class="sort sortBtn" id="sort_registerId">▲</button></th>
<th scope="col">등록일자<button class="sort sortBtn" id="sort_registPnttm">▲</button></th>
<th scope="col">미리보기</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${cntManageList}" varStatus="status">
<tr>
<td>
<input type="checkbox" name="delYn" class="check2" id="<c:out value="${result.cntId}"/>" value="${result.cntId}"><label for="<c:out value="${result.cntId}"/>"></label>
<input type="hidden" name="checkId" value="<c:out value="${result.cntId}"/>" />
</td>
<td>
<c:if test="${cntManageVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo -1)*paginationInfo.recordCountPerPage) ) - status.index }"/>
</c:if>
<c:if test="${cntManageVO.searchSortOrd eq 'asc' }">
<c:out value="${(paginationInfo.currentPageNo - 1) * paginationInfo.recordCountPerPage + status.count}"/>
</c:if>
</td>
<td>
<a href="#" onclick="fncSelectCntDetail('<c:out value="${result.cntId}"/>','<c:out value="${result.cntDtId}"/>')"><c:out value="${result.cntName}"/></a>
</td>
<td><c:out value="${result.menuNm}"/></td>
<td><c:out value="${result.registerId}"/></td>
<td><c:out value="${result.registPnttm}"/></td>
<td>
<%-- <input type="button" class="btnType1" onclick="fncPreviewCntDetail('<c:out value="${result.cntDtId}"/>','<c:out value="${result.siteId}"/>'); return false;" value="미리보기"> --%>
<button type="button" class="btn line lightgray small" onclick="fncPreviewCntDetail('<c:out value="${result.cntDtId}"/>','<c:out value="${result.siteId}"/>'); return false;">미리보기</button>
</tr>
</c:forEach>
<c:if test="${empty cntManageList}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- //list -->
<!-- btn_wrap -->
<div class="btn_wrap">
<div class="left">
<button type="button" class="btn line red xlarge" onclick="fncCntDeleteList(); return false;">삭제</button>
</div>
<div class="right">
<button type="button" class="btn fill primary xlarge" onclick="location.href='/uss/ion/cnt/cntManageInsert.do'; return false;">등록</button>
</div>
</div>
<!-- //btn_wrap -->
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty cntManageList}">
<div class="page">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</form:form> </form:form>
<form name="modiForm" method="get" action="<c:url value='/uss/ion/cnt/cntManageInsert.do'/>" > <form name="modiForm" method="get" action="<c:url value='/uss/ion/cnt/cntManageInsert.do'/>" >
<input name="cntId" type="hidden" /> <input name="cntId" type="hidden" />

View File

@ -126,7 +126,6 @@ select.readonly{
background-color: var(--disable-fill-bg-color) !important; background-color: var(--disable-fill-bg-color) !important;
color: var(--disable-fill-text-color) !important; color: var(--disable-fill-text-color) !important;
border: 1px solid var(--disable-fill-line-color) !important; border: 1px solid var(--disable-fill-line-color) !important;
cursor: not-allowed;
} }
/* 접근성 - label 숨김 처리 */ /* 접근성 - label 숨김 처리 */

View File

@ -71,7 +71,8 @@
.btn.excel i{width:32px;} .btn.excel i{width:32px;}
.btn.excel i.download,.btn.excel i.upload{margin:2px 0 0 0;} .btn.excel i.download,.btn.excel i.upload{margin:2px 0 0 0;}
.sortBtn{font-size:11px;margin:0 0 0 4px;} .sort_wrap{display:inline-block;}
.sortBtn,input.sortBtn{font-size:9px;margin:-2.5px 0 0 4px;border:0 !important;background:transparent !important;color:#000 !important;}
/* 페이지 */ /* 페이지 */

View File

@ -27,6 +27,7 @@ select, .select{height:34px;border:1px solid var(--default-line-color);border-ra
.email_wrap .select{width:160px;} .email_wrap .select{width:160px;}
.radio_wrap,.checkbox_wrap{display:flex;align-items:center;gap:16px;} .radio_wrap,.checkbox_wrap{display:flex;align-items:center;gap:16px;}
.radio_wrap.column,.checkbox_wrap.column{flex-direction:column;align-items:flex-start;gap:4px;}
.radio_item,.checkbox_item{display:flex;align-items:center;gap:4px;font-size:16px;} .radio_item,.checkbox_item{display:flex;align-items:center;gap:4px;font-size:16px;}
.input_mix_wrap{display:flex;gap:8px;align-items:center;} .input_mix_wrap{display:flex;gap:8px;align-items:center;}
@ -121,3 +122,10 @@ select, .select{height:34px;border:1px solid var(--default-line-color);border-ra
.gallery_list .list_info li::after{position:absolute;content:"";width:1px;height:10px;background:#636469;right:0;top:6px;} .gallery_list .list_info li::after{position:absolute;content:"";width:1px;height:10px;background:#636469;right:0;top:6px;}
.gallery_list .list_info li:last-child::after{display:none;} .gallery_list .list_info li:last-child::after{display:none;}
/* 메뉴관리 */
.menu_container{display:flex;justify-content:space-between;gap:40px;}
.menu_list_content{width:280px;}
.menu_list_content .btn_wrap{margin:0 0 12px 0;}
.menu_list{width:100%;border:1px solid var(--lightgray-color);border-radius:8px;}
.menu_detail{width:calc(100% - 280px);}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

After

Width:  |  Height:  |  Size: 256 B

View File

@ -21,8 +21,9 @@
.menu_wrap .logo a{height: 100%; display: flex; justify-content: center; align-items: center;} .menu_wrap .logo a{height: 100%; display: flex; justify-content: center; align-items: center;}
.menu_wrap .logo img{margin-left: -15px;} .menu_wrap .logo img{margin-left: -15px;}
.depth01{position: relative; border-bottom: 1px solid #688DD0;} .depth01{position: relative; border-bottom: 1px solid #688DD0;}
.menu_title{width: 100%; height: 50px; padding: 0 20px; text-align: left; font-size: 18px; font-weight: 500; color: #fff; background-image: url(../images/common/icon_leftmenu_open.png); background-repeat: no-repeat; background-position: calc(100% - 20px) center;} .menu_title{width: 100%; height: 50px; padding: 0 20px; text-align: left; font-size: 18px; font-weight: 500; color: #fff; background-image: url(../images/common/icon_leftmenu_open.png); background-repeat: no-repeat; background-position: calc(100% - 20px) center; transition:all .3s;}
.menu_title:not(:has(+ .depth02 li)) {background-image: none !important;padding-right: 0 !important;} .menu_title:not(:has(+ .depth02 li)) {background-image: none !important;padding-right: 0 !important;}
.menu_title:hover{background-color:#1A499F;}
.depth01.on .menu_title{background:#fff; color: #2557b4; font-weight:600; background-image: url(../images/common/icon_leftmenu_on.png); background-repeat: no-repeat; background-position: calc(100% - 20px) center;} .depth01.on .menu_title{background:#fff; color: #2557b4; font-weight:600; background-image: url(../images/common/icon_leftmenu_on.png); background-repeat: no-repeat; background-position: calc(100% - 20px) center;}
.depth02{height: 100%; padding: 8px 0; background-color: #16459A;} .depth02{height: 100%; padding: 8px 0; background-color: #16459A;}
.depth02 li a{display: flex; align-items: center; width: 100%; height: 40px; padding: 0 5px 0 32px; font-size: 16px; font-weight: 300; color: #8BA2CD; box-sizing: border-box; position: relative;} .depth02 li a{display: flex; align-items: center; width: 100%; height: 40px; padding: 0 5px 0 32px; font-size: 16px; font-weight: 300; color: #8BA2CD; box-sizing: border-box; position: relative;}

View File

@ -9,6 +9,10 @@ $(function () {
}); });
$(".depth02").slideUp(0); $(".depth02").slideUp(0);
setTimeout(function(){
$(".on .depth02").slideDown(0);
},100)
$(".depth01.on").each(function () { $(".depth01.on").each(function () {
var $submenu = $(this).find(".depth02"); var $submenu = $(this).find(".depth02");
if ($submenu.find("li").length > 0) { if ($submenu.find("li").length > 0) {