[FO] HTML 서브타이틀 관련 추가

This commit is contained in:
김현주
2025-06-12 10:59:24 +09:00
parent 431752d116
commit 235248580c
7 changed files with 78 additions and 66 deletions

View File

@@ -65,14 +65,14 @@
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ████ ██ ██ ████ ██ ██ ██ ███████ ██ ██ ██████ ███████ ██ ██
-->
<th:block th:fragment="header">
<th:block th:fragment="header(isSub)">
<header id="header" class="header"><!-- 스크롤 시 class='scroll' 추가 -->
<ul class="skipnav">
<li>
<a href="#content">컨텐츠 바로가기</a>
</li>
</ul>
<div class="header-wrap"><!-- sub페이지에 class='sub' 추가 -->
<div class="header-wrap" th:classappend="${isSub ? 'sub' : ''}"><!--/* sub페이지에 class='sub' 추가 */-->
<h1>
<a href="javascript:void(0);" onclick="kri.menu.main();" class="logo"><img th:src="@{/static/assets/images/common/logo_kri.svg}" alt="KRI 로고"> <span>[[${#messages.msg(currentURI.id)}]]</span></a>
</h1>
@@ -105,52 +105,17 @@
<!-- </ul>-->
<!--/* TODO 전체메뉴 E */-->
<div class="inner">
<button type="button" class="btn-back"><span class="hide-txt">이전으로 이동</span></button>
<button type="button" class="btn-back" onclick="kri.menu.goBack()"><span class="hide-txt">이전으로 이동</span></button>
<div class="page-tit">
<h2>화면 타이틀</h2>
<h2>[[${#messages.msg(currentURI.id)}]]</h2>
</div>
</div>
<!--/* TODO 전체메뉴 선택 */-->
<button type="button" class="btn-allmenu"><span class="hide-txt">전체메뉴 열기</span></button>
</div>
</header>
</th:block>
<!--
██████ ██████ ███████ █████ ██████ ██████ ██████ ██ ██ ███ ███ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ ██
██████ ██████ █████ ███████ ██ ██ ██ ██████ ██ ██ ██ ████ ██ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██████ ██ ██ ███████ ██ ██ ██████ ██████ ██ ██ ██████ ██ ██ ██████
-->
<div th:fragment="breadcrumb">
<!--<div style="background:#eee;">
<h2>Breadcrumb 영역</h2>
<nav>
<ol>
<li th:classappend="${item.id == currentURI.id}? 'active'"
th:each="item, status : ${menuHierarchy}">
<a th:href="${item.uri}" th:if="${item.id != currentURI.id}">
<span th:remove="tag" th:text="${@coreUtil.getUriTitle(item)}"></span>
</a>
<span th:if="${item.id == currentURI.id}" th:remove="tag"
th:text="${@coreUtil.getUriTitle(item)}"></span>
</li>
</ol>
</nav>
</div>-->
</div>
<!--
██████ █████ ██████ ███████ ██ ██ ███████ █████ ██████ ██ ███ ██ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██
██████ ███████ ██ ███ █████ ███████ █████ ███████ ██ ██ ██ ██ ██ ██ ██ ███
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██ ██ ██████ ███████ ██ ██ ███████ ██ ██ ██████ ██ ██ ████ ██████
-->
<div th:fragment="pageHeading">
<h1 th:text="${#messages.msg(currentURI.id)}"></h1>
</div>
<!--
██████ ██████ ███████ ██████ █████ ████████ ██ ██████ ███ ██ ███ ███ ███████ ██████
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ████ ████ ██ ██
@@ -170,15 +135,23 @@
██ ██ ██ ██ ██ ██ ██ ██ ██
██ ██████ ██████ ██ ███████ ██ ██
-->
<div th:fragment="bottom-bar">
<th:block th:fragment="bottom-bar">
<footer id="footer" class="footer">
<nav class="footer-menu">
<ul>
<li class="menu-acco active"><a href="javascript:void(0);" onclick="kri.menu.daily();">일계부</a></li>
<li class="menu-acco"
th:classappend="${#strings.equals(currentURI?.uri, '/')
or #strings.containsIgnoreCase(currentURI?.uri, '/record/') ? 'active' : ''}">
<a href="javascript:void(0);" onclick="kri.menu.daily();">일계부</a>
</li>
<!--/* TODO : 2차 오픈 */-->
<!--<li class="menu-regi"><a href="">입력현황</a></li>
<li class="menu-stat"><a href="">통계</a></li>-->
<li class="menu-info"><a href="javascript:void(0);" onclick="kri.menu.my();">내정보</a></li>
<li class="menu-info"
th:classappend="${#strings.equals(currentURI?.uri, '/user')
or #strings.containsIgnoreCase(currentURI?.uri, '/user/') ? 'actives' : ''}">
<a href="javascript:void(0);" onclick="kri.menu.my();">내정보</a>
</li>
<!--/* TODO : 전체메뉴 적용 전 임시 메뉴 S */-->
<li sec:authorize="isAnonymous()" th:remove="tag">
<a href="/login">[로그인]</a>
@@ -192,7 +165,7 @@
</ul>
</nav>
</footer>
</div>
</th:block>
<!--/* 플로팅 : 위로가기 */-->
<th:block th:fragment="floating-totop">