149 lines
5.7 KiB
Plaintext
149 lines
5.7 KiB
Plaintext
<%--
|
|
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="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^=del_]").change(function(){
|
|
if(!confirm("관리자로그설정을 변경하시겠습니까?")){
|
|
var beforeValue= $('#'+$(this).attr('id')+'_ori').val() ;
|
|
$(this).parent().find("input[type=radio]:radio[value='"+beforeValue+"']").prop("checked", true);
|
|
return false;
|
|
}
|
|
|
|
$.ajax({
|
|
url :"/sym/site/recentSearchCdUpdateAjax.do"
|
|
,type:"post"
|
|
,data:{"siteId":$(this).attr('id').split('_')[1], "recentSearchCd":$(this).val()}
|
|
,dataType:"json"
|
|
,success:function(data){
|
|
$('#radio_'+data.siteManagerVO.siteId+'_ori').val(data.siteManagerVO.recentSearchCd) ;
|
|
alert("정상적으로 저장되었습니다.");
|
|
}
|
|
,error: function(){
|
|
alert("에러발생");
|
|
}
|
|
});
|
|
});
|
|
|
|
$("input[name=radioName]").change(function() {
|
|
|
|
});
|
|
|
|
});
|
|
|
|
function linkPage(pageNo){
|
|
var searchForm = document.searchForm ;
|
|
searchForm.pageIndex.value = pageNo ;
|
|
searchForm.searchKeyword.value = $('#searchKeyword').val();
|
|
searchForm.action = "<c:url value='/sym/site/inspList.do'/>";
|
|
searchForm.submit();
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
|
|
<form name="listForm" action="<c:url value='/sym/site/selectSiteManagerList.do'/>" method="post">
|
|
<input type="hidden" name="pageIndex" value="<c:if test="${empty loginPolicyVO.pageIndex }">1</c:if><c:if test="${!empty loginPolicyVO.pageIndex }"><c:out value='${loginPolicyVO.pageIndex}'/></c:if>">
|
|
<input type="hidden" name="searchCondition" value="1" >
|
|
<div class="ad_content">
|
|
<div class="ad_con_head">
|
|
<div class="ad_head_text">
|
|
<p class="today_txt">최근검색어 설정관리</p>
|
|
<div class="ad_head_ment">
|
|
<p class="today_last_txt"><span id="cnt_cate_list"></span></p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="ad_subcon">
|
|
<p class="mem_count">조회
|
|
: <c:out value="${paginationInfo.totalRecordCount}"/></p>
|
|
<div class="ad_mem_list">
|
|
<table>
|
|
<tr>
|
|
<th>번호</th>
|
|
<th scope="col" class="f_field" nowrap="nowrap">사이트아이디</th>
|
|
<th scope="col" nowrap="nowrap">사이트이름</th>
|
|
<th scope="col" nowrap="nowrap">설정(사용안함/5개/10개)</th>
|
|
</tr>
|
|
<c:forEach var="result" items="${recentSearchList}" varStatus="status">
|
|
<tr>
|
|
<td>
|
|
<c:out value="${ ( paginationInfo.totalRecordCount - ((siteManagerVO.pageIndex -1)*siteManagerVO.pageUnit) ) - status.index }"/>
|
|
</td>
|
|
<td nowrap="nowrap">
|
|
<c:out value="${result.siteId}"/>
|
|
<input type="hidden" id="radio_${result.siteId}_ori" value="${result.recentSearchCd}">
|
|
</td>
|
|
<td nowrap="nowrap">
|
|
<c:out value="${result.siteNm}"/>
|
|
</td>
|
|
<td nowrap="nowrap">
|
|
<div class="img_cont_check_center">
|
|
<c:forEach var="recentSearchCdList" items="${recentSearchCdList}" varStatus="status">
|
|
${recentSearchCdList.codeNm} <input type="radio" name="del_${result.siteId}" id="radio_${result.siteId}" value="${recentSearchCdList.code}"
|
|
<c:if test="${result.recentSearchCd eq recentSearchCdList.code}">
|
|
checked="checked"
|
|
</c:if> style="margin-left:3px;margin-right: 19px;">
|
|
<%-- <input type="radio" name="del" id="lab_${result.siteId}" > --%>
|
|
</c:forEach>
|
|
<%-- <input type="radio" name="del" id="lab_${result.siteId}"
|
|
class="img_cont_check_box" value="${result.siteId}"
|
|
<c:if test="${result.inspFlag eq 'Y' }">
|
|
checked="checked"
|
|
</c:if> >
|
|
<label for="lab_${result.siteId}"></label> --%>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
</c:forEach>
|
|
<c:if test="${empty recentSearchList}">
|
|
<tr><td colspan="6"><spring:message code="common.nodata.msg" /></td></tr>
|
|
</c:if>
|
|
</table>
|
|
<!-- 페이지 네비게이션 시작 -->
|
|
<c:if test="${!empty recentSearchList}">
|
|
<div class="board1_btn">
|
|
<ul>
|
|
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage" />
|
|
</ul>
|
|
</div>
|
|
</c:if>
|
|
<!-- //페이지 네비게이션 끝 -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<form name="modiForm" method="get" action="<c:url value='/sym/site/addSiteManagerView.do'/>" >
|
|
<input name="siteId" type="hidden" />
|
|
</form>
|
|
<form name="searchForm" method="get" action="<c:url value='/sym/site/selectSiteManagerList.do'/>">
|
|
<input name="pageIndex" type="hidden" value="1" />
|
|
<input name="searchCondition" type="hidden" />
|
|
<input name="searchKeyword" type="hidden" />
|
|
</form>
|
|
</body>
|
|
</html> |