fix : 미사용 페이지 제거

main
이범준 2 years ago
parent f66e23a878
commit b1f2d557eb

@ -1,7 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<span><span class="copyright">Copyright © 2002.02.02. XIT All rights reserved.</span></span>
<span class="link_btn">
<a href="${ctx}/board/system_list.do" class="link1" >시스템문의</a>
</span>
<!-- //main_footer -->

@ -1,288 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%String uri = request.getRequestURI();%>
<script type="text/javascript">
$(function() {
SideBarUtil.rmSideBar();
SideBarUtil.setSideBarUseAt();
/*=====================
* 좌측 메뉴 사이드바 tree view
=====================*/
$("#tree").treeview({
collapsed: true,
animated: "medium",
control:"#sidetreecontrol",
prerendered: true, //전체보기 여부(true:전체보기, false:펼치기/접기 버튼 사용)
persist: "location"
});
$( ".dp4 a[href='<c:url value='${urlInfoMap.menuUrl}'/>']" ).parents(".hasSub").addClass("active");
$( ".dp4 a[href='<c:url value='${urlInfoMap.menuUrl}'/>']" ).css("color","#e60012");
/*=====================
* 브라우저 타이틀명칭 변경
=====================*/
// $('ul.dp4 > li > a').each(function(){
// if($(this).css('color')=='rgb(230, 0, 18)'){
// var depth1 = $('ul.dp1 > li.active > a').text()
// var depth4 = $(this).text();
// $('head title').text(depth1+'-'+depth4);
// }
// });
navEventFunction.init();
})
/* 사용자 수정 화면*/
function fn_goMyView() {
/* ====================
* 2020.11.20 박민규
* 회원 유형별 페이지 분기
====================*/
//2020.11.20. 주석처리
// var popUrl ='<c:url value="/framework/biz/mng/usr/UserRegMng_view.do"/>';
// var popOption = "width=1100px, height=600px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
var popUrl ='';
var popOption = '';
if('GNR'=='${sessionScope.XitLoginSession.userSe}'){
popUrl ='<c:url value="/framework/biz/mng/usr/GnrUserRegMng_view.do"/>';
popOption = "width=738px, height=630px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
}
else if('ENT'=='${sessionScope.XitLoginSession.userSe}'){
popUrl ='<c:url value="/framework/biz/mng/usr/EntUserRegMng_view.do"/>';
popOption = "width=738px, height=777px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
}
else{
popUrl ='<c:url value="/framework/biz/mng/usr/UserRegMng_view.do"/>';
popOption = "width=1100px, height=600px, resizable=no, scrollbars=no, location=no, top=100px, left=100px";
}
var target = '정보수정';
window.open('',target,popOption);
var param = new Object();
param.selectedId = '${sessionScope.XitLoginSession.uniqId}';
//TODO : 개발완료후 이부분 제거
param.tilesDef = 'popup';
var form = XitCmmnUtil.createForm(param);
form.action = popUrl;
form.method = 'post';
form.target = target;
form.id = 'frmPost';
document.body.appendChild(form);
form.submit();
}
/**
* 사이드바 도구
* @author 박민규
* @date 2019.01.28
*/
var SideBarUtil = {
/**
* 사이드바를 제거한다.
* -일반 페이지도 팝업 페이지처럼 보이도록 하기 위함.
*/
rmSideBar : function(){
if(!this.isPopup())
return false;
var isSidebarUse = '${sidebar_use}'=='true'?true:false;
if(isSidebarUse)
return false;
$('.main_header').remove();
$('.main_sidebar').remove();
$('.main_footer').remove();
$('div.content_wrapper').removeClass('active');
$('.content_wrapper').css('padding-top','0px');
$('.spi .content_wrapper').css('padding-top','0px');
$('.content_body').css('padding-left','10px');
$('.content_body').css('padding-right','20px');
},
/**
* 사이드바 사용여부 설정값 생성
* -사이드바 사용여부를 form에 생성한다.
* -설정값을 submit 및 reloading 시에도 유지하기 위함이다.
*/
setSideBarUseAt : function(){
if(!this.isPopup())
return false;
$('form').each(function(frm){
if($(this).find('input[name="sidebar_use"]').length<1)
$(this).append('<input type="hidden" name="sidebar_use" value="${sidebar_use}"/>');
});
},
isPopup : function(){
var isPopup=false;
try{
window.opener.document;
isPopup=true;
}catch(e){
}
return isPopup;
}
}
function fn_openDuplWindow(){
window.open(location.href,'dupl_popup','width=1300px; height=850px; scrollbars=yes;');
}
function divHeightFlat(obj){
var maxHeight = 0;
obj.each(function(index, item){
if (maxHeight < $(item).height()){
maxHeight = $(item).height();
}
});
obj.each(function(index, item){
$(item).height(maxHeight);
$(".secDiv").height(maxHeight);
});
$(".nav_wrap").height(maxHeight);
}
</script>
<div class="header_up">
<div id="background">
<div class="ex">
<a href="<c:url value='/'/>login/actionMain.do"><img class="logo_pc " src="<c:url value='/'/>resources/images/login/logo.png" /></a>
</div>
<!-- 공지사항 롤링 -->
<c:if test="${not empty rollingNotiList }">
<div id="rolling_noti">
<%-- <div class="head_icon"><img src="<c:url value="/framework/images/common/a_icon.png"/>" /></div> --%>
<ul>
<c:forEach var="row" items="${rollingNotiList }">
<li>
<img src="<c:url value="/resources/framework/images/common/a_icon.png"/>" />
<a href="<c:url value="/framework/biz/mng/bbs/BasicBbsMng_${row.bbs_id}_list.do?searchWrd=${row.ntt_sj }"/>">${row.ntt_sj }</a>
</li>
</c:forEach>
</ul>
</div>
</c:if>
<!-- //공지사항 롤링 -->
<div class="left_m">
<ul class="img_F">
<li><img src="<c:url value="/resources/framework/images/common/icon_01.png"/>" /></li>
</ul>
<ul class="text_L">
<li class="deco_01"><c:out value="${sessionScope.XitLoginSession.name }" />님 반갑습니다.</li>
<li class="deco_02"><a href="<c:url value='/'/>login/actionLogout.do" style="">로그아웃</a></li>
<li class="deco_03"><a href="#" style="" onclick="fn_goMyView();">정보수정</a></li>
</ul>
</div>
</div>
</div><!-- header_up종료 -->
<div class="header_down">
<ul class="gnb" tabindex="1000">
<li class="menu_bar"><a href="#" class="all_menu"><img src="/resources/framework/images/common/menu_b.png" /></a></li>
<c:forEach items="${allMenuList}" var="listMap" varStatus="status">
<c:if test="${listMap.menuDepth eq '1' }">
<li class ="mainDepth" style="float: left;">
<c:choose>
<c:when test="${status.first}">
<a class ="menu_dep1" href="${listMap.menuUrl}">${listMap.menuName}</a>
<div class="secDiv" style="float: left;">
</c:when>
<c:otherwise>
<a href="${listMap.menuUrl}">${listMap.menuName}</a>
<div class="secDiv" style="float: left;">
</c:otherwise>
</c:choose>
<ul class="secDepthMenu" style="float: left;">
<c:forEach items="${allMenuList}" var="sMap" varStatus="sStatus">
<c:if test="${sMap.menuDepth eq '2' and listMap.menuSid eq sMap.parentSid}">
<c:set var="linkUrl" value="${sMap.menuUrl}" />
<c:set var="flag" value="1"/>
<c:forEach items="${allMenuList}" var="cMap" varStatus="cStatus">
<c:if test="${cMap.menuDepth eq '3'}">
<c:if test="${fn:contains(cMap.menuPath, sMap.menuSid) and flag eq 1}">
<c:set var="linkUrl" value="${cMap.menuUrl}" />
<c:set var="flag" value="2"/>
</c:if>
</c:if>
</c:forEach>
<c:set var="flag" value="1"/>
<c:forEach items="${allMenuList}" var="cMap" varStatus="cStatus">
<c:if test="${fn:contains(cMap.menuPath, sMap.menuSid) and flag eq 1}">
<c:if test="${cMap.menuUrl ne '#'}">
<c:set var="linkUrl" value="${cMap.menuUrl}" />
<c:set var="flag" value="2"/>
</c:if>
</c:if>
</c:forEach>
<li class ="secDepth" style="float: left; text-align: left; line-height: 20px; height: 20px">
<a class ="menu_dep2" href="${linkUrl}" style="font-size: 12; padding-left: 10px; height: 20px;">${sMap.menuName}</a>
</li>
</c:if>
</c:forEach>
</ul>
</div>
</li>
</c:if>
</c:forEach>
</ul>
<div class="nav_wrap"></div>
</div>
</div><!-- header_down종료 -->
<!-- //main_header -->
<div class="all_menu_wrap">
<p>전체메뉴보기 <a href="#" class="close">전체메뉴 닫기</a></p>
<div class="inner">
<ul id="tree">
<c:forEach items="${allMenuList}" var="listMap1" varStatus="status">
<c:if test="${listMap1.menuDepth eq '1' }">
<li>
<a href="${listMap1.menuUrl}"><strong>${listMap1.menuName}</strong></a>
<ul>
<c:forEach items="${allMenuList}" var="listMap2">
<c:if test="${ listMap2.parentSid eq listMap1.menuSid and listMap2.menuDepth eq '2' }">
<li>
<a href="${listMap2.menuUrl}">${listMap2.menuName}</a>
<ul>
<c:forEach items="${allMenuList}" var="listMap3">
<c:if test="${ listMap3.parentSid eq listMap2.menuSid and listMap3.menuDepth eq '3' }">
<li>
<a href="${listMap3.menuUrl}">${listMap3.menuName}</a>
<ul>
<c:forEach items="${allMenuList}" var="listMap4">
<c:if test="${ listMap4.parentSid eq listMap3.menuSid and listMap4.menuDepth eq '4' }">
<li>
<a href="${listMap4.menuUrl}">${listMap4.menuName}</a>
</li>
</c:if>
</c:forEach>
</ul>
</li>
</c:if>
</c:forEach>
</ul>
</li>
</c:if>
</c:forEach>
</ul>
</li>
</c:if>
</c:forEach>
</ul>
</div>
</div>

@ -1,60 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="t" uri="http://tiles.apache.org/tags-tiles" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<!-- XitFramework 공통 페이지 -->
<%--<%@include file="/WEB-INF/jsp/framework/XitIncludeBase.jsp" %>--%>
<!DOCTYPE html>
<html>
<head>
<title>FIMS</title>
<%@include file="/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp" %>
<!-- eGovFramework 템플릿 CSS -->
<c:if test="${fn:indexOf(requestScope['javax.servlet.forward.servlet_path'],'/main/')>-1 }">
<link rel="stylesheet" type="text/css" href="<c:url value='/resources/framework/css/common.css'/>" />
</c:if>
<!-- [JS] layout -->
<script type="text/javascript" src="${ctx}/resources/framework/js/cmm/common-navbar.js"></script>
</head>
<body>
<!-- wrap -->
<div id="wrap" class="wrapper">
<!-- header -->
<div id="header">
<t:insertAttribute name="header"/>
</div>
<!-- contents -->
<!-- 2020.04.17 박민규: 사이드바 Default를 Show로 설정하기 위해 기존소스 주석처리 및 class에 active 추가 -->
<!-- 2020.07.31 정지현: 메인화면을 XitMain.jsp와 동일하게 출력하기 위해 container, contents div 주석처리-->
<!-- <div id="container" class="content_wrapper"> -->
<!-- <div id="container" class="content_wrapper active"> -->
<!-- <div id="contents" class="content_body"> -->
<div class="row">
<t:insertAttribute name="content"/>
</div>
<!-- </div> -->
<!-- </div> -->
<!-- footer -->
<div id="footer" class="main_footer">
<t:insertAttribute name="footer"/>
</div>
</div>
<!-- //wrap -->
</body>
</html>

@ -136,36 +136,7 @@ col.search_w06:nth-child(6){border:0px solid purple; width:15%;}
background-color: #006fbd; background-color: #006fbd;
color: #fff; color: #fff;
} }
.custom_menu {
display: inline-block;
margin: 5px 0px 0px 0px;
}
.custom_menu .all_menu {
margin-right: 50px;
display: inline-block;
}
.custom_menu .login_state {
display: inline-block;
}
.custom_menu .login_msg {
font-size: 15px;
color: #fff;
margin-bottom: 7px;
}
.custom_menu .login_msg span {
color: #55dcdf;
font-weight: bold;
margin-right: 5px;
}
.custom_menu .state_btn a{
display: inline-block;
font-size: 13px;
color: #fff;
/* padding: 7px 20px; */
padding: 2px 4px;
text-align: center;
margin-right: 5px;
}
.state_btn .mypage { .state_btn .mypage {
background-color: #383f4b; background-color: #383f4b;
} }

Loading…
Cancel
Save