API신청 메뉴는 기업사용자(cls=1)만 볼 수 있음

main
유지인 2025-11-10 11:13:19 +09:00
parent f7a23c96e3
commit 9392a116d2
3 changed files with 36 additions and 24 deletions

View File

@ -181,11 +181,15 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</li> </li>
<li class="nav-item"> <c:if test="${isLogin == true}">
<a href="#" onClick="gourl('apiKey')" onFocus="this.blur()" class="nav-link nav-toggle"> <c:if test="${cls == 1}">
<span class="title">API 신청</span> <li class="nav-item">
</a> <a href="#" onClick="gourl('apiKey')" onFocus="this.blur()" class="nav-link nav-toggle">
</li> <span class="title">API 신청</span>
</a>
</li>
</c:if>
</c:if>
<c:if test="${isLogin == true}"> <c:if test="${isLogin == true}">
<c:if test="${cls == 0}"> <c:if test="${cls == 0}">

View File

@ -172,7 +172,11 @@
<a class="dropdown-toggle" data-toggle="dropdown" href="#" onClick="gourl('faq')" onFocus="this.blur()">시추정보 FAQ</a> <a class="dropdown-toggle" data-toggle="dropdown" href="#" onClick="gourl('faq')" onFocus="this.blur()">시추정보 FAQ</a>
</li> </li>
<li class="dropdown"> <li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" onClick="gourl('apiKey')" onFocus="this.blur()">API 신청</a> <c:if test="${isLogin == true}">
<c:if test="${cls == 1}">
<a class="dropdown-toggle" data-toggle="dropdown" href="#" onClick="gourl('apiKey')" onFocus="this.blur()">API 신청</a>
</c:if>
</c:if>
</li> </li>
<c:if test="${isLogin == true}"> <c:if test="${isLogin == true}">
<c:if test="${cls == 0}"> <c:if test="${cls == 0}">

View File

@ -367,24 +367,28 @@
</c:if> </c:if>
<c:if test="${eGovUrl == 'apiKey.do'}"> <c:if test="${eGovUrl == 'apiKey.do'}">
<!-- 커뮤니티 > API 신청 시작 --> <c:if test="${isLogin == true}">
<h1 class="page-title"> <c:if test="${cls == 1}">
<span class="page-title-text">API 신청</span> <!-- 커뮤니티 > API 신청 시작 -->
<ul class="page-category"> <h1 class="page-title">
<li class="category-item">게시판</li> <span class="page-title-text">API 신청</span>
<li class="category-item">API 신청</li> <ul class="page-category">
</ul> <li class="category-item">게시판</li>
</h1> <li class="category-item">API 신청</li>
<script> </ul>
$(document).ready(function(){ </h1>
// 상단메뉴 활성화 <script>
$(".nav > li.dropdown:eq(6)").addClass("on"); $(document).ready(function(){
// 왼쪽메뉴 활성화 // 상단메뉴 활성화
$("#community_sub_menu").css("display", "block"); $(".nav > li.dropdown:eq(6)").addClass("on");
$("#community_sub_menu > li.nav-item:eq(5)").addClass("active"); // 왼쪽메뉴 활성화
}); $("#community_sub_menu").css("display", "block");
</script> $("#community_sub_menu > li.nav-item:eq(5)").addClass("active");
<!-- 커뮤니티 > 시추정보 Q&A 끝 --> });
</script>
<!-- 커뮤니티 > 시추정보 Q&A 끝 -->
</c:if>
</c:if>
</c:if> </c:if>
<c:if test="${eGovUrl == 'homeEducationApplicationInquiry.do' || eGovUrl == 'homeEducationApplicationInput.do' }"> <c:if test="${eGovUrl == 'homeEducationApplicationInquiry.do' || eGovUrl == 'homeEducationApplicationInput.do' }">