로그인 필요한 화면 로그인 페이지로 전환 위해 사전 체크 기능 없앰 (요청 : 김혜준 대리)
This commit is contained in:
parent
4adf92a027
commit
e1084316c1
@ -3,32 +3,6 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
|
||||
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
|
||||
$("a[data-reqLogin='true']").each(function() {
|
||||
|
||||
<sec:authorize access="not isAuthenticated()">
|
||||
this.onclick = function() {
|
||||
alert("로그인하신 후, 이용 가능합니다.");
|
||||
};
|
||||
</sec:authorize>
|
||||
|
||||
<sec:authorize access="isAuthenticated()">
|
||||
this.onclick = function() {
|
||||
var gotoUrl = $(this).attr("data-gotoUrl");
|
||||
if(gfn_isEmpty(gotoUrl)) {
|
||||
alert("접속 정보가 없습니다. \n관리자에게 문의하여 주시기 바랍니다.");
|
||||
} else {
|
||||
location.href = gotoUrl;
|
||||
}
|
||||
};
|
||||
</sec:authorize>
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="inner">
|
||||
<sec:authorize access="isAuthenticated()">
|
||||
<div class="left is_login">
|
||||
@ -61,12 +35,12 @@ $(document).ready(function() {
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/userInfo/getMyHome.do" title="마이페이지" class="eff" data-reqLogin="true">마이페이지</a>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/userInfo/getMyHome.do')" title="마이페이지" class="eff">마이페이지</a>
|
||||
<ul class="sub-menu">
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/userInfo/getMyHome.do" title="회원정보관리" data-reqLogin="true"><span class="underline blue">회원정보관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/interest/listInterests.do" title="관심자료" data-reqLogin="true"><span class="underline blue">관심자료</span></a></li>
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/rent/listRentItems.do" title="대출관리" data-reqLogin="true"><span class="underline blue">대출관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/read/listReadItems.do" title="방문열람관리" data-reqLogin="true"><span class="underline blue">방문열람관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/userInfo/getMyHome.do')" title="회원정보관리"><span class="underline blue">회원정보관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/interest/listInterests.do')" title="관심자료"><span class="underline blue">관심자료</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/rent/listRentItems.do')" title="대출관리"><span class="underline blue">대출관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/read/listReadItems.do')" title="방문열람관리"><span class="underline blue">방문열람관리</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
@ -147,10 +121,10 @@ $(document).ready(function() {
|
||||
<div class="drop_icon"></div>
|
||||
</div>
|
||||
<ul class="sub-menu">
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/userInfo/getMyHome.do" title="회원정보관리" data-reqLogin="true"><span class="underline blue">- 회원정보관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/interest/listInterests.do" title="관심자료" data-reqLogin="true"><span class="underline blue">- 관심자료</span></a></li>
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/rent/listRentItems.do" title="대출관리" data-reqLogin="true"><span class="underline blue">- 대출관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" data-gotoUrl="${pageContext.request.contextPath}/read/listReadItems.do" title="방문열람관리" data-reqLogin="true"><span class="underline blue">- 방문열람관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/userInfo/getMyHome.do')" title="회원정보관리"><span class="underline blue">- 회원정보관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/interest/listInterests.do')" title="관심자료"><span class="underline blue">- 관심자료</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/rent/listRentItems.do')" title="대출관리"><span class="underline blue">- 대출관리</span></a></li>
|
||||
<li><a href="javascript:void(0)" onclick="gfn_gotoUrl('${pageContext.request.contextPath}/read/listReadItems.do')" title="방문열람관리"><span class="underline blue">- 방문열람관리</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</sec:authorize>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user