• Y
  • List All
  • Feedback
    • This Project
    • All Projects
Profile Account settings Log out
  • Favorite
  • Project
  • All
Loading...
  • Log in
  • Sign up
rosewiper / itsm_git star
  • Project homeH
  • CodeC
  • IssueI
  • Pull requestP
  • Review R
  • MilestoneM
  • BoardB
  • Files
  • Commit
  • Branches
itsm_gitsrcmainwebappWEB-INFjspsecramEgovAuthorManage.jsp
Download as .zip file
File name
Commit message
Commit date
DATABASE
첫번째 커밋
06-19
service/impl
첫번째 커밋
06-19
src/main
첫번째 커밋
06-19
web
첫번째 커밋
06-19
.gitignore
첫번째 커밋
06-19
pom.xml
첫번째 커밋
06-19
searchQuery.sql
첫번째 커밋
06-19
File name
Commit message
Commit date
java/egovframework
첫번째 커밋
06-19
resources
첫번째 커밋
06-19
webapp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
WEB-INF
첫번째 커밋
06-19
common
첫번째 커밋
06-19
crosseditor/binary/images
첫번째 커밋
06-19
css
첫번째 커밋
06-19
direct
첫번째 커밋
06-19
font-flexslider
첫번째 커밋
06-19
fonts
첫번째 커밋
06-19
html
첫번째 커밋
06-19
images
첫번째 커밋
06-19
img
첫번째 커밋
06-19
js
첫번째 커밋
06-19
se2
첫번째 커밋
06-19
sso
첫번째 커밋
06-19
email.txt
첫번째 커밋
06-19
engleftmenu03.html
첫번째 커밋
06-19
engleftmenu04.html
첫번째 커밋
06-19
engleftmenu05.html
첫번째 커밋
06-19
engleftmenu06.html
첫번째 커밋
06-19
index.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
META-INF
첫번째 커밋
06-19
config/egovframework/springmvc
첫번째 커밋
06-19
jsp
첫번째 커밋
06-19
lib
첫번째 커밋
06-19
decorators.xml
첫번째 커밋
06-19
sitemesh.xml
첫번째 커밋
06-19
web.xml
첫번째 커밋
06-19
weblogic.xml
첫번째 커밋
06-19
File name
Commit message
Commit date
cmm
첫번째 커밋
06-19
cnt
첫번째 커밋
06-19
com/utl/wed
첫번째 커밋
06-19
cop
첫번째 커밋
06-19
egovframework/com/uss/ion/bnr
첫번째 커밋
06-19
kopost/search
첫번째 커밋
06-19
layout
첫번째 커밋
06-19
main
첫번째 커밋
06-19
sec
첫번째 커밋
06-19
sounds/ko/numbers
첫번째 커밋
06-19
sts/cst
첫번째 커밋
06-19
sym
첫번째 커밋
06-19
test/insa
첫번째 커밋
06-19
uat
첫번째 커밋
06-19
uss
첫번째 커밋
06-19
blank.jsp
첫번째 커밋
06-19
blankUserDirect.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
gmt
첫번째 커밋
06-19
ram
첫번째 커밋
06-19
rgm
첫번째 커밋
06-19
rmt
첫번째 커밋
06-19
accessDenied.jsp
첫번째 커밋
06-19
File name
Commit message
Commit date
EgovAuthorInsert.jsp
첫번째 커밋
06-19
EgovAuthorManage.jsp
첫번째 커밋
06-19
EgovAuthorManage_0826.jsp
첫번째 커밋
06-19
EgovAuthorRoleManage.jsp
첫번째 커밋
06-19
EgovAuthorRoleManage_0827.jsp
첫번째 커밋
06-19
EgovAuthorUpdate.jsp
첫번째 커밋
06-19
rosewiper 06-19 7ef7d0e 첫번째 커밋 UNIX
Raw Open in browser Change history
<%-- Class Name : EgovAuthorManage.jsp Description : EgovAuthorManage List 화면 Modification Information 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.03.01 lee.m.j 최초 생성 2011.08.31 JJY 경량환경 버전 생성 author : 공통서비스 개발팀 lee.m.j since : 2009.03.01 --%> <%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Language" content="ko" > <title>권한 목록</title> <script type="text/javaScript" language="javascript" defer="defer"> $( document).ready(function() { //정렬 아이콘 표시 var searchSortCnd = $("[name='searchSortCnd']").val(); var searchSortOrd = $("[name='searchSortOrd']").val(); if (searchSortCnd != "" && searchSortOrd != "") { var imgOrdr = ""; if (searchSortOrd == "desc") imgOrdr = "down"; else imgOrdr = "up"; var $sort_div = $("#sort_"+ searchSortCnd); var ordrImg = "<img class='ordr' src='/direct/img/sort_"+imgOrdr+"_on.png' alt=''>"; // <img class="ordr" src="/direct/img/sort_up_img.png" style="display: none;" alt=""> $sort_div.attr("sortOrd", searchSortOrd); $sort_div.find("div img").remove(); $sort_div.find("div").append(ordrImg); } // 정렬 항목 이벤트 $(".sort").click(function(e) { sortSearch(this); }); }); //목록 정렬 항목 클릭 function sortSearch(obj) { var sortOrd = $(obj).attr("sortOrd"); var sortCnd = $(obj).attr("id"); $("[name='searchSortCnd']").val(sortCnd.substring(5)); // 구분자 제거 if (sortOrd == "desc") $("[name='searchSortOrd']").val("asc"); else $("[name='searchSortOrd']").val("desc"); fncSelectAuthorList(1); } function fncCheckAll() { var checkField = document.listForm.delYn; if(document.listForm.checkAll.checked) { if(checkField) { if(checkField.length > 1) { for(var i=0; i < checkField.length; i++) { checkField[i].checked = true; } } else { checkField.checked = true; } } } else { if(checkField) { if(checkField.length > 1) { for(var j=0; j < checkField.length; j++) { checkField[j].checked = false; } } else { checkField.checked = false; } } } } function fncManageChecked() { var checkField = document.listForm.delYn; var checkId = document.listForm.checkId; var returnValue = ""; var returnBoolean = false; var checkCount = 0; if(checkField) { if(checkField.length > 1) { for(var i=0; i<checkField.length; i++) { if(checkField[i].checked) { checkField[i].value = checkId[i].value; if(returnValue == "") returnValue = checkField[i].value; else returnValue = returnValue + ";" + checkField[i].value; checkCount++; } } if(checkCount > 0) returnBoolean = true; else { alert("선택된 권한이 없습니다."); returnBoolean = false; } } else { if(document.listForm.delYn.checked == false) { alert("선택된 권한이 없습니다."); returnBoolean = false; } else { returnValue = checkId.value; returnBoolean = true; } } } else { alert("조회된 결과가 없습니다."); } document.listForm.authorCodes.value = returnValue; return returnBoolean; } function fncSelectAuthorList(pageNo){ var searchForm = document.searchForm ; searchForm.pageIndex.value = pageNo ; searchForm.searchSortOrd.value = $('#searchSortOrd').val() ; searchForm.pageUnit.value = $('#pageUnit').val(); searchForm.searchKeyword.value = $('#searchKeyword').val(); searchForm.submit(); } function fncSelectAuthor(author) { document.modiForm.authorCode.value = author; document.modiForm.action = "<c:url value='/sec/ram/EgovAuthor.do'/>"; document.modiForm.submit(); } function fncAddAuthorInsert(){ //location.replace("<c:url value='/sec/ram/EgovAuthorInsertView.do'/>"); document.modiForm.action = "<c:url value='/sec/ram/EgovAuthorInsertView.do'/>"; document.modiForm.submit(); } /* function fncAuthorDeleteList() { if(fncManageChecked()) { if(confirm("삭제하시겠습니까?")) { document.listForm.action = "<c:url value='/sec/ram/EgovAuthorListDelete.do'/>"; document.listForm.submit(); } } } */ function fncAddAuthorView() { document.listForm.action = "<c:url value='/sec/ram/EgovAuthorUpdate.do'/>"; document.listForm.submit(); } function fncSelectAuthorRole(author, roleNm) { document.modiForm.searchKeyword.value = author; document.modiForm.roleNm.value = roleNm; document.modiForm.action = "<c:url value='/sec/ram/EgovAuthorRoleList.do'/>"; document.modiForm.submit(); } function linkPage(pageNo){ document.listForm.searchCondition.value = "1"; document.listForm.pageIndex.value = pageNo; document.listForm.action = "<c:url value='/sec/ram/EgovAuthorList.do'/>"; document.listForm.submit(); } function press() { if (event.keyCode==13) { fncSelectAuthorList(1); event.preventDefault(); } } function fnSearch(){ fncSelectAuthorList(1); } </script> </head> <body> <div class="cont_area"> <div class="cont_main_title"> <img src="/direct/img/home_icon.png" alt=""> <span id="cnt_cate_list"></span> </div> <div class="cont_serch_area"> <div class="basic_serch_area"> 권한명 : <input type="text" id="searchKeyword" name="searchKeyword" value="<c:out value='${authorManageVO.searchKeyword}'/>" size="25" title="검색" onkeypress="press();" /> <div class="serch_btns"> <input type="button" value="검색" class="serch_btn" onclick="fnSearch(); return false;"> </div> </div> </div> <form:form id="listForm" name="listForm" action="<c:url value='/sec/ram/EgovAuthorList.do'/>" method="post"> <input type="hidden" name="authorCode"/> <input type="hidden" name="authorCodes"/> <input type="hidden" name="pageIndex" value="<c:out value='${authorManageVO.pageIndex}'/>"/> <input type="hidden" name="searchCondition"/> <input type="hidden" name="sortOrder" id="sortOrder" value="${authorManageVO.sortOrder}" /> <div class="list_info"> <div class="all_list_number">총 <span class="all_number"><c:out value="${paginationInfo.totalRecordCount}"/></span>건</div> <div class="list_info_right"> <!-- <div class="list_write"><input type="button" value="등록" onclick="fncAddAuthorInsert(); return false;"></div> --> <div class="list_count"> <select name="pageUnit" id="pageUnit" class="select" title="검색조건선택" onchange="fnSearch();"> <option value='10' <c:if test="${authorManageVO.pageUnit == '10' or authorManageVO.pageUnit == ''}">selected</c:if>>10줄</option> <option value='20' <c:if test="${authorManageVO.pageUnit == '20'}">selected</c:if>>20줄</option> <option value='30' <c:if test="${authorManageVO.pageUnit == '30'}">selected</c:if>>30줄</option> </select> </div> <!-- <div class="del_btn"> <input type="button" value="삭제" onclick="fncAuthorDeleteList(); return false;"/> </div> --> </div> </div> <div class="list_wrap"> <table> <tr> <!-- <th><input type="checkbox" name="checkAll" id="checkAll" onClick="fncManageChecked();"> <label for="checkAll"></label></th> --> <th> <div class="sort" id="sort_AUTHOR_CREAT_DE">번호 <div class="sort_btn"> <img src="/direct/img/sort_up_img.png" alt=""> </div> </div> </th> <th> <div class="sort" id="sort_AUTHOR_CODE">권한 코드 <div class="sort_btn"> <img src="/direct/img/sort_up_img.png" alt=""> </div> </div> </th> <th> <div class="sort" id="sort_AUTHOR_NM">권한 명 <div class="sort_btn"> <img src="/direct/img/sort_up_img.png" alt=""> </div> </div> </th> <th> <div class="sort" id="sort_AUTHOR_DC">설명 <div class="sort_btn"> <img src="/direct/img/sort_up_img.png" alt=""> </div> </div> </th> <th> <div class="sort" id="sort_AUTHOR_CREAT_DEB">등록일자 <div class="sort_btn"> <img src="/direct/img/sort_up_img.png" alt=""> </div> </div> </th> <th>롤 정보 </th> </tr> <c:forEach var="author" items="${authorList}" varStatus="status"> <tr> <%-- <td> <input name="checkField" id="check${status.index}" type="checkbox" <c:out value="${status.count}"/>" /> <label for="check${status.index}"></label> <input type="hidden" name="checkId" value="<c:out value="${author.authorCode}"/>" /> </td> --%> <td> <c:if test="${authorManageVO.searchSortOrd eq 'asc' }"> <c:out value="${(authorManageVO.pageIndex - 1) * authorManageVO.pageUnit + status.count}"/> </c:if> <c:if test="${authorManageVO.searchSortOrd eq 'desc' }"> <c:out value="${ ( paginationInfo.totalRecordCount - ((authorManageVO.pageIndex -1)*authorManageVO.pageUnit) ) - status.index }"/> </c:if> </td> <td> <a href="#" onclick="fncSelectAuthor('<c:out value="${author.authorCode}"/>')"> <c:out value="${author.authorCode}"/></a> </td> <td> <c:out value="${author.authorNm}"/> </td> <td> <c:out value="${author.authorDc}"/> </td> <td> <c:out value="${author.authorCreatDe}"/> </td> <td> <a href="#" onclick="fncSelectAuthorRole('<c:out value="${author.authorCode}"/>' , '<c:out value="${author.authorNm}"/>'); return false" ><img src="<c:url value='/images/img_search.gif'/>" width="15" height="15" align="middle" alt="롤 정보"></a> </td> </tr> </c:forEach> <c:if test="${empty authorList}"> <tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr> </c:if> </table> </div> <!-- 페이지 네비게이션 시작 --> <c:if test="${!empty authorList}"> <div class="page"> <ul> <ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" /> </ul> </div> </c:if> <!-- //페이지 네비게이션 끝 --> </form:form> </div> <form name="modiForm" method="get" action="<c:url value='/sec/ram/EgovAuthorRoleList.do'/>" > <input name="authorCode" type="hidden" /> <input name="searchKeyword" type="hidden" /> <input name="roleNm" type="hidden" /> </form> <form name="searchForm" method="get" action="<c:url value='/sec/ram/EgovAuthorList.do'/>"> <input name="pageIndex" type="hidden" value="1" /> <input name="searchCondition" type="hidden" value="1" /> <input name="searchKeyword" type="hidden" /> <input name="pageUnit" type="hidden" value="10" /> <input type="hidden" name="searchSortCnd" id="searchSortCnd" value="<c:out value="${authorManageVO.searchSortCnd}" />" /> <input type="hidden" name="searchSortOrd" id="searchSortOrd" value="<c:out value="${authorManageVO.searchSortOrd}" />" /> </form> </body> </html>

          
        
    
    
Copyright Yona authors & © NAVER Corp. & NAVER LABS Supported by NAVER CLOUD PLATFORM

or
Sign in with github login with Google Sign in with Google
Reset password | Sign up