File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%--
Class Name : EgovLoginPolicyList.jsp
Description : EgovLoginPolicyList 화면
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.02.01 lee.m.j 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 lee.m.j
since : 2009.02.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="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page import="itn.com.cmm.LoginVO"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko">
<title>로그인정책 목록조회</title>
<script type="text/javaScript" language="javascript" defer="defer">
$(document).ready(function() {
$("input[name=info_pass]").change(function() {
if(!confirm($(this).closest('tr').find('.td_siteNm').text() + " 조회시 패스워드 입력 상태를 변경하시겠습니까?")){
$(this).is(':checked') == true ? $(this).prop("checked", false) : $(this).prop("checked", true);
return false;
}
var infoProtectPass = $(this).is(':checked') ? "Y" : "N" ;
$.ajax({
url :"/sym/site/infoProtectPassUpdateAjax.do"
,type:"post"
,data:{"siteId":$(this).val(), "infoProtectPass":infoProtectPass}
,dataType:"json"
,success:function(data){
alert("정상적으로 저장되었습니다.");
}
,error: function(){
alert("에러발생");
}
});
});
$("input[name=info_mark]").change(function() {
if(!confirm("개인정보(*)처리 상태를 변경하시겠습니까?")){
$(this).is(':checked') == true ? $(this).prop("checked", false) : $(this).prop("checked", true);
return false;
}
var infoProtectMark = $(this).is(':checked') ? "Y" : "N" ;
$.ajax({
url :"/sym/site/infoProtectMarkUpdateAjax.do"
,type:"post"
,data:{"infoProtectMark":infoProtectMark}
,dataType:"json"
,success:function(data){
alert("정상적으로 저장되었습니다.");
}
,error: function(){
alert("에러발생");
}
});
});
});
function linkPage(pageNo){
var listForm = document.listForm ;
listForm.pageIndex.value = pageNo ;
listForm.action = "<c:url value='/sym/site/infoProtect.do'/>";
listForm.submit();
}
</script>
</head>
<body>
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<form name="listForm" action="<c:url value='/sym/site/faviconList.do'/>" method="post">
<input type="hidden" name="pageIndex" value="<c:if test="${empty siteManagerVO.pageIndex }">1</c:if><c:if test="${!empty siteManagerVO.pageIndex }"><c:out value='${siteManagerVO.pageIndex}'/></c:if>">
<input type="hidden" name="searchCondition" value="1" >
<input type="hidden" name="siteId" >
<input type="hidden" name="pageType" >
<input type="hidden" name="searchSortCnd" value="<c:out value="${siteManagerVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${siteManagerVO.searchSortOrd}" />" />
<!-- cont -->
<div class="contWrap">
<div class="pageTitle">
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
<h2 class="titType1 c_222222 fwBold">개인정보보호관리</h2>
<p class="tType6 c_999999">현재 사용중인 개인정보보호관리를 파악할 수 있으며, 개인정보보호설정을 변경할수 있습니다.</p>
</div>
<div class="pageCont">
<div class="listTop">
<p class="tType5">총 <span class="tType4 c_456ded fwBold"><fmt:formatNumber value="${paginationInfo.totalRecordCount}" pattern="#,###" /></span>건</p>
<div class="rightWrap">
<input type="button" class="printBtn" >
<select name="pageUnit" id="pageUnit" class="select" title="검색조건선택" onchange="linkPage(1);">
<option value='10' <c:if test="${siteManagerVO.pageUnit == '10' or siteManagerVO.pageUnit == ''}">selected</c:if>>10줄</option>
<option value='20' <c:if test="${siteManagerVO.pageUnit == '20'}">selected</c:if>>20줄</option>
<option value='30' <c:if test="${siteManagerVO.pageUnit == '30'}">selected</c:if>>30줄</option>
</select>
</div>
</div>
<div class="tableWrap">
<table class="tbType1">
<colgroup>
<col style="width: 10%">
<col style="width: 25%">
<col style="width: 30%">
<col style="width: 30%">
<col style="width: 40%">
</colgroup>
<thead>
<tr>
<th>번호<input type="button" class="sort sortBtn" id="sort_frstRegistPnttm"></th>
<th>사이트아이디<input type="button" class="sort sortBtn" id="sort_siteId"></th>
<th>사이트이름<input type="button" class="sort sortBtn" id="sort_siteNm"></th>
<th>조회시 패스워드 입력<input type="button" class="sort sortBtn" id="sort_infoProtectPass"></th>
<th>개인정보(*)처리<input type="button" class="sort sortBtn" id="sort_infoProtectMark"></th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${infoProtect}" varStatus="status">
<tr>
<td>
<c:if test="${siteManagerVO.searchSortOrd eq 'desc' }">
<c:out value="${ ( paginationInfo.totalRecordCount - ((siteManagerVO.pageIndex -1)*siteManagerVO.pageUnit) ) - status.index }"/>
</c:if>
<c:if test="${siteManagerVO.searchSortOrd eq 'asc' }">
<c:out value="${(siteManagerVO.pageIndex - 1) * siteManagerVO.pageUnit + status.count}"/>
</c:if>
</td>
<td><c:out value="${result.siteId}"/><c:out value="${result.siteNm}"/><spring:eval expression="@globalSettings['Globals.homepage.siteId']" /></td>
<td class="td_siteNm"><spring:eval expression="@globalSettings['Globals.homepage.siteNm']" /></td>
<td>
<input type="checkbox" name="info_pass" id="info_pass" value=""
<c:if test="${result.infoProtectPass eq 'Y' }">checked="checked"</c:if> >
<label for="info_pass_${result.siteId}"></label>
</td>
<td>
<input type="checkbox" name="info_mark" id="info_mark" value=""
<c:if test="${result.infoProtectMark eq 'Y' }">checked="checked"</c:if> >
<label for="info_mark_${result.siteId}"></label>
</td>
</tr>
</c:forEach>
<c:if test="${empty infoProtect}">
<tr><td colspan="8"><spring:message code="common.nodata.msg" /></td></tr>
</c:if>
</tbody>
</table>
</div>
<!-- 페이지 네비게이션 시작 -->
<c:if test="${!empty infoProtect}">
<div class="page" style="margin-top: 10px;">
<ul class="inline">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
</ul>
</div>
</c:if>
<!-- //페이지 네비게이션 끝 -->
</div>
</div>
<!-- //cont -->
</form>
</body>
</html>