일단 커밋
This commit is contained in:
@@ -37,6 +37,12 @@
|
||||
<script th:src="@{/static/library/bootstrap-treeview/bootstrap-treeview.min.js}"
|
||||
type="text/javascript"></script>
|
||||
|
||||
<link rel="shortcut icon" type="image/x-icon" th:href="@{/favicon.ico}" />
|
||||
<link rel="stylesheet" th:href="@{/static/assets/styles/style.css}" />
|
||||
<script th:src="@{/static/assets/scripts/common.ui.plugin.js}" ></script>
|
||||
<script th:src="@{/static/assets/scripts/common.ui.js}" ></script>
|
||||
<script th:src="@{/static/assets/scripts/common.js}"></script>
|
||||
|
||||
<link rel="stylesheet" th:href="@{/static/library/flatpickr/flatpickr.min.css}">
|
||||
<link rel="stylesheet" th:href="@{/static/library/flatpickr/flatpickr.dark.css}">
|
||||
<script th:src="@{/static/library/flatpickr/flatpickr.min.js}"></script>
|
||||
@@ -49,6 +55,7 @@
|
||||
<script th:src="@{/static/library/bootstrap/bootstrap.min.js}"></script>
|
||||
<script th:src="@{/static/ui/uiUtil.js}"></script>
|
||||
<script th:src="@{/static/library/jquery/jquery-serializeObject.min.js}"></script>
|
||||
<script th:src="@{/static/scripts/ajaxUtils.js}"></script>
|
||||
|
||||
<script th:each="flashMsg : ${session.flashAlertMessages}" th:if="${session.flashAlertMessages != null}"
|
||||
th:inline="javascript">
|
||||
@@ -79,81 +86,54 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ██ ████ ██ ██ ████ ██ ██ ██ ███████ ██ ██ ██████ ███████ ██ ██
|
||||
-->
|
||||
<nav class="navbar navbar-dark bg-dark navbar-expand-lg mb-3" th:fragment="header">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#"><i class="bi bi-server fs-4"></i></a>
|
||||
<button aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"
|
||||
class="navbar-toggler" data-bs-target="#navbarSupportedContent"
|
||||
data-bs-toggle="collapse"
|
||||
type="button">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav me-auto mb-2 mb-lg-0" th:if="${topNode != null}">
|
||||
<li class="nav-item">
|
||||
<a aria-current="page" class="nav-link active" th:href="${topNode.uri}" th:text="#{uri}">Home</a>
|
||||
</li>
|
||||
<nav class="header" th:fragment="header">
|
||||
<div class="inner">
|
||||
<div class="header-left">
|
||||
<a aria-current="page" th:href="${topNode.uri}" >
|
||||
<img class="logo" th:src="@{/static/assets/images/common/ico_logo.svg}" alt="로고 이미지">
|
||||
</a>
|
||||
<p class="logo-tit">임가경제조사 일계부 관리자모드</p>
|
||||
</div>
|
||||
<ul class="main-menu" th:if="${topNode != null}">
|
||||
<li class="menu-item" th:each="menu : ${topNode.children}"
|
||||
th:if="${menu.showOnNavi}" th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, menu.id)}? 'active'">
|
||||
<!-- 자식 children 가 없는 경우 -->
|
||||
<a th:classappend="${currentURI.id == menu.id}? 'active'"
|
||||
th:href="${menu.uri}" th:if="${#lists.size(menu.children) == 0}"
|
||||
th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
|
||||
<li class="nav-item" th:classappend="${#lists.size(menu.children) > 0} ? 'dropdown'" th:each="menu : ${topNode.children}"
|
||||
th:if="${menu.showOnNavi}">
|
||||
|
||||
<!-- 자식 children 가 없는 경우 -->
|
||||
<a class="nav-link" th:classappend="${currentURI.id == menu.id}? 'active'"
|
||||
th:href="${menu.uri}" th:if="${#lists.size(menu.children) == 0}"
|
||||
th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
|
||||
<!-- 자식 children 가 있는 경우 -->
|
||||
<th:block th:if="${#lists.size(menu.children) > 0}">
|
||||
<a aria-expanded="false"
|
||||
class="nav-link dropdown-toggle"
|
||||
data-bs-toggle="dropdown" roleDto="button"
|
||||
th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, menu.id)}? 'active'"
|
||||
th:href="${menu.uri}" th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
<!-- 자식 children 가 있는 경우 -->
|
||||
<th:block th:if="${#lists.size(menu.children) > 0}">
|
||||
<a th:href="${menu.uri}" th:text="${#messages.msg(menu.id)}">메뉴명</a>
|
||||
<th:block th:insert="~{this :: subMenuFrag}"
|
||||
th:with="subMenus = ${menu.children}, addSubMenuClass = false">
|
||||
</th:block>
|
||||
</th:block>
|
||||
</li>
|
||||
<!-- submenu fragment -->
|
||||
<th:block th:fragment="subMenuFrag">
|
||||
<ul class="sub-menu"
|
||||
th:classappend="${addSubMenuClass ? 'submenu' : ''}" th:if="${@adminUtil.shouldDisplaySubNodes(subMenus)}">
|
||||
<li th:each="child : ${subMenus}" th:if="${child.showOnNavi}" class="sub-menu-item">
|
||||
<a th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, child.id)}? 'active'"
|
||||
th:href="${@adminUtil.shouldDisplaySubNodes(child.children) ? 'javascript:void(0)' : child.uri}">
|
||||
[[${#messages.msg(child.id)}]]
|
||||
<p>
|
||||
<i class="bi bi-arrow-right-circle-fill"
|
||||
th:if="${@adminUtil.shouldDisplaySubNodes(child.children)}"></i></p>
|
||||
</a>
|
||||
|
||||
<th:block th:insert="~{this :: subMenuFrag}"
|
||||
th:with="subMenus = ${menu.children}, addSubMenuClass = false">
|
||||
th:with="subMenus = ${child.children}, addSubMenuClass = true">
|
||||
</th:block>
|
||||
</th:block>
|
||||
</li>
|
||||
|
||||
<!-- submenu fragment -->
|
||||
<th:block th:fragment="subMenuFrag">
|
||||
<ul aria-labelledby="navbarDropdown" class="dropdown-menu"
|
||||
th:classappend="${addSubMenuClass ? 'submenu' : ''}" th:if="${@adminUtil.shouldDisplaySubNodes(subMenus)}">
|
||||
<li th:each="child : ${subMenus}" th:if="${child.showOnNavi}">
|
||||
<a class="dropdown-item"
|
||||
th:classappend="${@coreUtil.containsCurrentURI(menuHierarchy, child.id)}? 'active'"
|
||||
th:href="${@adminUtil.shouldDisplaySubNodes(child.children) ? 'javascript:void(0)' : child.uri}">
|
||||
[[${#messages.msg(child.id)}]]
|
||||
<i class="bi bi-arrow-right-circle-fill"
|
||||
th:if="${@adminUtil.shouldDisplaySubNodes(child.children)}"></i>
|
||||
</a>
|
||||
|
||||
<th:block th:insert="~{this :: subMenuFrag}"
|
||||
th:with="subMenus = ${child.children}, addSubMenuClass = true">
|
||||
</th:block>
|
||||
</li>
|
||||
</ul>
|
||||
</th:block>
|
||||
</ul>
|
||||
<div class="d-flex">
|
||||
<span class="text-white me-1" th:text="#{greeting} + ','">안녕하세요</span>
|
||||
<a aria-expanded="false"
|
||||
class="d-flex align-items-center text-white link-dark text-decoration-none dropdown-toggle"
|
||||
data-bs-toggle="dropdown" href="#" id="dropdownUser2">
|
||||
<strong sec:authentication="name">로그인 사용자명</strong>
|
||||
</a>
|
||||
<ul aria-labelledby="dropdownUser2" class="dropdown-menu text-small shadow"
|
||||
style="left:auto;right:0;">
|
||||
<li th:each="authority : ${#authentication.getAuthorities()}">
|
||||
<span class="dropdown-item text-muted" th:text="${authority}"></span>
|
||||
</li>
|
||||
<li>
|
||||
<hr class="dropdown-divider">
|
||||
</li>
|
||||
<li><a class="dropdown-item" href="/logout">Sign out</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</th:block>
|
||||
</ul>
|
||||
<div class="header-right">
|
||||
<p class="user"><strong sec:authentication="name">로그인 사용자명</strong>님 안녕하세요</p>
|
||||
<span class="user-ip">111.11.111.111</span>
|
||||
<button class="btn-logout" href="/logout">로그아웃</button>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -165,25 +145,14 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██████ ██ ██ ███████ ██ ██ ██████ ██████ ██ ██ ██████ ██ ██ ██████
|
||||
-->
|
||||
<div class="row" th:fragment="breadcrumb">
|
||||
<div class="col">
|
||||
<nav aria-label="breadcrumb" class="float-end" style="--bs-breadcrumb-divider: '>';">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item" th:classappend="${item.id == currentURI.id}? 'active'"
|
||||
th:each="item, status : ${menuHierarchy}">
|
||||
<a class="text-decoration-none" th:href="${item.uri}" th:if="${item.id != currentURI.id}">
|
||||
<span th:if="${status.first}" th:remove="tag"><i class="bi bi-house-fill"></i></span>
|
||||
<span th:if="${!status.first}" 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 class="location" th:fragment="breadcrumb">
|
||||
<a th:href="${item.uri}" th:if="${item.id != currentURI.id}" th:each="item, status : ${menuHierarchy}">
|
||||
<span th:if="${status.first}" th:remove="tag">홈</span>
|
||||
<span th:if="${!status.first}" th:remove="tag"
|
||||
th:text="${@coreUtil.getUriTitle(item)}"></span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<!--
|
||||
██████ █████ ██████ ███████ ██ ██ ███████ █████ ██████ ██ ███ ██ ██████
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██
|
||||
@@ -191,10 +160,16 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ██ ██ ██████ ███████ ██ ██ ███████ ██ ██ ██████ ██ ██ ████ ██████
|
||||
-->
|
||||
<div class="bd-title mb-3 row fs-3" th:fragment="pageHeading">
|
||||
<div class="col"><i class="bi bi-list"></i> <span
|
||||
th:text="${#messages.msg(currentURI.id)}"></span></div>
|
||||
</div>
|
||||
<hgroup class="page-tit-group" th:fragment="pageHeading">
|
||||
<h2 class="page-tit" th:text="${#messages.msg(currentURI.id)}"></h2>
|
||||
<div class="location" >
|
||||
<a th:href="${item.uri}" th:if="${item.id != currentURI.id}" th:each="item, status : ${menuHierarchy}">
|
||||
<span th:if="${status.first}" th:remove="tag">홈</span>
|
||||
<span th:if="${!status.first}" th:remove="tag"
|
||||
th:text="${@coreUtil.getUriTitle(item)}"></span>
|
||||
</a>
|
||||
</div>
|
||||
</hgroup>
|
||||
|
||||
<!--
|
||||
██████ ██████ ███████ ██████ █████ ████████ ██ ██████ ███ ██ ███ ███ ███████ ██████
|
||||
@@ -215,11 +190,11 @@
|
||||
██ ██ ██ ██ ██ ██ ██ ██ ██
|
||||
██ ██████ ██████ ██ ███████ ██ ██
|
||||
-->
|
||||
<div class="container" th:fragment="footer">
|
||||
<footer class="py-3 my-4 border-top">
|
||||
<div class="text-center">
|
||||
<span class="text-muted">© 2022 All rights reserved</span>
|
||||
</div>
|
||||
<div th:fragment="footer">
|
||||
<footer id="footer" class="footer">
|
||||
<p class="footer-info">
|
||||
ⓒ COPYRIGHT 2025 KRI 임가경제조사 ALL RIGHTS RESERVED.
|
||||
</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user