fix : 미사용 페이지 제거

main
이범준 2 years ago
parent 18f63c0c50
commit 1cdd93e174

@ -9,8 +9,12 @@
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>로그인</title>
<link href="<c:url value='/'/>resources/framework/css/common.css" rel="stylesheet" type="text/css" >
<link href="<c:url value='/'/>resources/framework/css/login.css" rel="stylesheet" type="text/css" >
<script src="${ctx}/resources/3rd-party/sneat/libs/jquery/jquery.js"></script>
<style>
.captcha_wrap {

@ -1,185 +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="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 PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>로그인</title>
<link href="<c:url value='/'/>resources/css/common.css" rel="stylesheet" type="text/css" >
<link href="<c:url value='/'/>resources/css/login.css" rel="stylesheet" type="text/css" >
<script type="text/javascript">
/**
* 로그인
*/
function actionLogin() {
if (document.loginForm.id.value =="") {
alert("아이디를 입력하세요");
return false;
} else if (document.loginForm.password.value =="") {
alert("비밀번호를 입력하세요");
return false;
} else {
document.loginForm.action="<c:url value='/login/actionSecurityLogin.do'/>";
//document.loginForm.j_username.value = document.loginForm.userSe.value + document.loginForm.username.value;
//document.loginForm.action="<c:url value='/j_spring_security_check'/>";
document.loginForm.submit();
}
}
/**
* 쿠키 설정
*/
function setCookie (name, value, expires) {
document.cookie = name + "=" + escape (value) + "; path=/; expires=" + expires.toGMTString();
}
/**
* 쿠키 조회
* -쿠키에 저장된 목록을 조회 한다.
*/
function getCookie(Name) {
var search = Name + "="
if (document.cookie.length > 0) { // 쿠키가 설정되어 있다면
offset = document.cookie.indexOf(search)
if (offset != -1) { // 쿠키가 존재하면
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset)
// 쿠키 값의 마지막 위치 인덱스 번호 설정
if (end == -1)
end = document.cookie.length
return unescape(document.cookie.substring(offset, end))
}
}
return "";
}
/**
* 쿠키에 ID 저장or제거
* -"로그인ID 저장여부"를 check 시 일정기간동안 쿠키에 ID를 저장 한다.
* -"로그인ID 저장여부"를 uncheck 시 쿠키에 저장된 ID를 삭제 한다.
*/
function saveid(form) {
var expdate = new Date();
// 기본적으로 30일동안 기억하게 함. 일수를 조절하려면 * 30에서 숫자를 조절하면 됨
if (form.checkId.checked)
expdate.setTime(expdate.getTime() + 1000 * 3600 * 24 * 30); // 30일
else
expdate.setTime(expdate.getTime() - 1); // 쿠키 삭제조건
setCookie("saveid", form.id.value, expdate);
}
/**
* 쿠키에 저장된 ID 취득
* -저장된 ID가 존재할 경우 "로그인ID 저장여부"항목을 check 설정 한다.
*/
function getid(form) {
form.checkId.checked = ((form.id.value = getCookie("saveid")) != "");
}
function fnInit() {
var message = document.loginForm.message.value;
if (message != "") {
alert(message);
}
getid(document.loginForm);
}
/**
* 회원가입 팝업
*/
function fnReg(){
var popUrl ="${ctx}/_anonymous_/login/UserReg_input.do";
var popOption = "width=975px, height=350px, resizable=no, scrollbars=yes, location=no, top=100px, left=100px";
var target = '사용자등록';
window.open(popUrl,target,popOption);
}
</script>
</head>
<body onload="fnInit();">
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<!-- 전체 레이어 시작 -->
<div id="wrap">
<!-- header 시작 -->
<div id="header">
<div id="skipNav" class="invisible">
<dl>
<dt>콘텐츠 바로가기</dt>
<dd><a href="#content">컨텐츠 바로가기</a></dd>
<dd><a href="#topnavi">메인메뉴 바로가기</a></dd>
<dd><a href="#leftmenu">좌메뉴 바로가기</a></dd>
</dl>
</div>
<!-- 행정안전부 로고 및 타이틀 시작 -->
<div id="logoarea">
<h1><a href="<c:url value='/'/>login/actionMain.do"><img src="<c:url value='/'/>resources/images/header/logo.jpg" alt="템플릿 샘플 내부업무 사이트" /></a></h1>
</div>
<div id="project_title"><span class="maintitle">표준프레임워크 </span><strong>샘플 내부업무 사이트</strong>
<a href="<c:url value='/EgovPageLink.do?link=framework/egov/main/sample_menu/Intro'/>" target="_blank"><img width="20" height="20" src="<c:url value='/resources/images/question.jpg'/>" alt="메뉴구성 설명" title="메뉴구성 설명"></a>
</div>
<!-- //행정안전부 로고 및 타이틀 끝 -->
</div>
<div id="topnavi"><c:import url="/framework/biz/cmm/XitMainMenuHead.do" /></div>
<!-- //header 끝 -->
<!-- container 시작 -->
<div id="container">
<!-- 좌측메뉴 시작 -->
<div id="leftmenu"><c:import url="/framework/biz/cmm/XitMainMenuLeft.do" /></div>
<!-- //좌측메뉴 끝 -->
<!-- content 시작 -->
<div id="content">
<div id="login_title_div"><img alt="LOGIN 표준프레임워크 경량환경 내부업무 시스템에 오신것을 환영합니다." src="<c:url value='/' />images/login/img_logintitle.gif" /></div>
<div class="user_login">
<form:form id="loginForm" name="loginForm" method="post">
<fieldset>
<legend>조건정보 영역</legend>
<div class="user_login_ultop">
<ul>
<li>
<label for="id">아이디</label>
<input type="text" class="input_style" title="아이디를 입력하세요." id="id" name="id" maxlength="10"/>
</li>
<li>
<label for="password">비밀번호</label>
<input type="password" class="input_style" maxlength="25" title="비밀번호를 입력하세요." id="password" name="password" onkeydown="javascript:if (event.keyCode == 13) { actionLogin(); }"/>
</li>
<li>
<div>
<input type="checkbox" name="checkId" title="로그인ID 저장여부" onclick="javascript:saveid(this.form);" id="checkId" />
<label for="checkId" style="cursor: pointer;">ID저장</label>
</div>
</li>
<li>
<div>
<a href="#" style="float: left; font-size: 11px;" onclick="javascript:fnReg(); return false;">회원가입</a>
|&nbsp;<a href="#" style="float: right; font-size: 11px;" onclick="">아이디/비밀번호 찾기</a>
</div>
</li>
</ul>
<input type="image" alt="로그인" onclick="javascript:actionLogin()" src="<c:url value='/'/>images/login/btn_login.gif" />
</div>
</fieldset>
<input type="hidden" name="message" value="${message}" />
<input type="hidden" name="userSe" value="USR"/>
<input name="j_username" type="hidden"/>
</form:form>
</div>
</div>
<!-- //content 끝 -->
</div>
<!-- //container 끝 -->
<!-- footer 시작 -->
<div id="footer"><c:import url="/EgovPageLink.do?link=framework/egov/main/inc/EgovIncFooter" /></div>
<!-- //footer 끝 -->
</div>
<!-- //전체 레이어 끝 -->
</body>
</html>

@ -1,4 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<c:import url="/EgovPageLink.do?link=framework/egov/main/inc/EgovIncFooter" />

@ -1,19 +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" %>
<div id="skipNav" class="invisible">
<dl>
<dt>콘텐츠 바로가기</dt>
<dd><a href="#content">컨텐츠 바로가기</a></dd>
<dd><a href="#topnavi">메인메뉴 바로가기</a></dd>
<dd><a href="#leftmenu">좌메뉴 바로가기</a></dd>
</dl>
</div>
<!-- 행정안전부 로고 및 타이틀 시작 -->
<div id="logoarea">
<h1><a href="<c:url value='/'/>resources/login/actionMain.do"><img src="<c:url value='/'/>resources/images/header/logo.jpg" alt="템플릿 샘플 내부업무 사이트" /></a></h1>
</div>
<div id="project_title"><span class="maintitle">XIT 프레임워크 </span><strong>샘플 내부업무 사이트</strong>
<a href="<c:url value='/EgovPageLink.do?link=framework/egov/main/sample_menu/Intro'/>" target="_blank"><img width="20" height="20" src="<c:url value='/resources/images/question.jpg'/>" alt="메뉴구성 설명" title="메뉴구성 설명"></a>
</div>
<!-- //행정안전부 로고 및 타이틀 끝 -->

@ -1,49 +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"%>
<%--<%@include file="/WEB-INF/jsp/framework/XitIncludeBase.jsp" %>--%>
<%@include file="/WEB-INF/jsp/framework/layouts/tiles/biz/cmmn/BizIncludeBase.jsp" %>
<!DOCTYPE html>
<html>
<head>
<title>FIMS></title>
<!-- XitFramework CSS -->
<%-- <link rel="stylesheet" type="text/css" href="${ctx}/css/framework/cmmn/common-style.css"/> --%>
<!-- eGovFramework 템플릿 CSS -->
<%--<link href="<c:url value='/resources/framework/css/common.css'/>" rel="stylesheet" type="text/css" >--%>
</head>
<body>
<!-- wrap -->
<div id="wrap">
<div id="header">
<t:insertAttribute name="header"/>
</div>
<!-- eGovFamework 경량화 템플릿 CSS 적용-->
<div id="topnavi"><c:import url="/framework/biz/cmm/XitMainMenuHead.do" /></div>
<div id="main_container">
<div id="leftmenu">
<t:insertAttribute name="left"/>
</div>
<div id="content">
<t:insertAttribute name="content"/>
</div>
</div>
<div id="footer">
<t:insertAttribute name="footer"/>
</div>
</div>
<!-- //wrap -->
</body>
</html>

@ -1,3 +0,0 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<c:import url="/framework/biz/cmm/XitMainMenuLeft.do" />

@ -3,29 +3,23 @@
"-//Apache Software Foundation//DTD Tiles Configuration 3.0//EN"
"http://tiles.apache.org/dtds/tiles-config_3_0.dtd">
<tiles-definitions>
<!-- ******************************* -->
<!-- tiles "biz" View Page 설정 -->
<!-- ******************************* -->
<definition name="biz" template="/WEB-INF/jsp/framework/layouts/tiles/biz/layout-tiles-biz.jsp">
<definition name="main" template="/WEB-INF/jsp/framework/layouts/tiles/biz/layout-tiles-biz-main.jsp">
<put-attribute name="header" value="/WEB-INF/jsp/framework/layouts/tiles/biz/header.jsp" />
<put-attribute name="left" value="/WEB-INF/jsp/framework/layouts/tiles/biz/left.jsp" />
<put-attribute name="content" value="" />
<put-attribute name="footer" value="/WEB-INF/jsp/framework/layouts/tiles/biz/footer.jsp" />
</definition>
<definition name="main" template="/WEB-INF/jsp/framework/layouts/tiles/biz/layout-tiles-biz-main.jsp">
<!-- ******************************* -->
<!-- tiles "biz" View Page 설정 -->
<!-- ******************************* -->
<definition name="biz" template="/WEB-INF/jsp/framework/layouts/tiles/biz/layout-tiles-biz.jsp">
<put-attribute name="header" value="/WEB-INF/jsp/framework/layouts/tiles/biz/header.jsp" />
<put-attribute name="left" value="/WEB-INF/jsp/framework/layouts/tiles/biz/left.jsp" />
<put-attribute name="content" value="" />
<put-attribute name="footer" value="/WEB-INF/jsp/framework/layouts/tiles/biz/footer.jsp" />
</definition>
<!--definition name="base" template="/WEB-INF/jsp/framework/layouts/tiles/base/layout-tiles-base.jsp">
<put-attribute name="header" value="/WEB-INF/jsp/framework/layouts/tiles/base/header.jsp" />
<put-attribute name="left" value="/WEB-INF/jsp/framework/layouts/tiles/base/left.jsp" />
<put-attribute name="content" value="" />
<put-attribute name="footer" value="/WEB-INF/jsp/framework/layouts/tiles/base/footer.jsp" />
</definition-->
<definition name="popup" template="/WEB-INF/jsp/framework/layouts/tiles/popup/layout-tiles-popup.jsp">
<put-attribute name="content" value="" />

Loading…
Cancel
Save