2021-11-24 09:27:36 +00:00
|
|
|
<!DOCTYPE html>
|
2021-11-25 06:00:10 +00:00
|
|
|
<html lang="ko"
|
|
|
|
|
xmlns:th="http://www.thymeleaf.org"
|
|
|
|
|
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
|
2021-12-06 08:12:41 +00:00
|
|
|
<div class="mx-2 pt-3" th:fragment="leftMenuFragment">
|
2021-11-25 06:00:10 +00:00
|
|
|
<div sec:authorize="hasRole('ROLE_ADMIN')">
|
|
|
|
|
<div class="list-group py-2">
|
2021-12-06 08:12:41 +00:00
|
|
|
<a href="/admin/categoryMgt" class="list-group-item list-group-item-action">게시판 분류 관리</a>
|
2021-11-29 09:38:48 +00:00
|
|
|
<a href="/admin/userMgt" class="list-group-item list-group-item-action">사용자 관리</a>
|
|
|
|
|
<a href="/admin/modifyRequest" class="list-group-item list-group-item-action">수정 요청</a>
|
|
|
|
|
<a href="#" class="list-group-item list-group-item-action disabled">통계</a>
|
|
|
|
|
<a href="/admin/codeMgt" class="list-group-item list-group-item-action">코드관리</a>
|
2021-11-25 06:00:10 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2021-12-03 09:07:14 +00:00
|
|
|
<div class="d-grid gap-2">
|
|
|
|
|
<input type="button" class="btn btn-outline-primary" value="통합 검색"/>
|
|
|
|
|
</div>
|
2021-11-25 06:00:10 +00:00
|
|
|
<div class="d-grid gap-2">
|
|
|
|
|
<input type="button" class="btn btn-outline-success" value="자료 등록"/>
|
|
|
|
|
</div>
|
2021-11-29 09:38:48 +00:00
|
|
|
<div sec:authorize="isAuthenticated()">
|
2021-12-08 01:52:20 +00:00
|
|
|
<div class="flex-shrink-0 pe-3 py-3 bg-transparent">
|
2021-12-07 10:08:49 +00:00
|
|
|
<ul class="list-unstyled ps-0">
|
2021-12-08 01:52:20 +00:00
|
|
|
<th:block th:each="depth1:${session.categoryList}">
|
2021-12-07 10:08:49 +00:00
|
|
|
<li class="mb-1">
|
2021-12-08 01:52:20 +00:00
|
|
|
<button class="btn btn-toggle align-items-center rounded collapsed"
|
|
|
|
|
data-bs-toggle="collapse" aria-expanded="false" th:data-bs-target="'#collapse'+${depth1.categorySeq}"
|
|
|
|
|
th:text="${depth1.categoryName}">
|
2021-12-07 10:08:49 +00:00
|
|
|
</button>
|
2021-12-08 01:52:20 +00:00
|
|
|
<div class="collapse ps-3" th:id="|collapse${depth1.categorySeq}|">
|
|
|
|
|
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1">
|
|
|
|
|
<th:block th:each="depth2:${depth1.childCategoryList}">
|
|
|
|
|
<li>
|
|
|
|
|
<ul class="list-unstyled ps-0">
|
|
|
|
|
<li class="mb-1">
|
|
|
|
|
<button class="btn btn-toggle align-items-center rounded collapsed"
|
|
|
|
|
data-bs-toggle="collapse" aria-expanded="false"
|
|
|
|
|
th:data-bs-target="'#collapse'+${depth2.categorySeq}" th:text="${depth2.categoryName}">
|
|
|
|
|
</button>
|
|
|
|
|
<div class="collapse ps-3" th:id="|collapse${depth2.categorySeq}|">
|
|
|
|
|
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1">
|
|
|
|
|
<th:block th:each="depth3:${depth2.childCategoryList}">
|
|
|
|
|
<li>
|
|
|
|
|
<ul class="list-unstyled ps-0">
|
|
|
|
|
<li class="mb-1">
|
|
|
|
|
<button class="btn btn-toggle align-items-center rounded collapsed"
|
|
|
|
|
data-bs-toggle="collapse" aria-expanded="false"
|
|
|
|
|
th:data-bs-target="'#collapse'+${depth3.categorySeq}" th:text="${depth3.categoryName}">
|
|
|
|
|
</button>
|
|
|
|
|
<div class="collapse ps-3" th:id="|collapse${depth3.categorySeq}|">
|
|
|
|
|
<ul class="btn-toggle-nav list-unstyled fw-normal pb-1">
|
|
|
|
|
<th:block th:each="depth4:${depth3.childCategoryList}">
|
|
|
|
|
<li><a href="#" class="bi bi-dash link-dark rounded ps-3 text-decoration-none" th:text="${depth4.categoryName}"></a></li>
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:if="${depth3.childCategoryList.size==0}">
|
|
|
|
|
<li>등록된 소분류가 없습니다.</li>
|
|
|
|
|
</th:block>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:if="${depth2.childCategoryList.size==0}">
|
|
|
|
|
<li>등록된 중분류가 없습니다.</li>
|
|
|
|
|
</th:block>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</li>
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block th:if="${depth1.childCategoryList.size==0}">
|
|
|
|
|
<li>등록된 연도가 없습니다.</li>
|
|
|
|
|
</th:block>
|
|
|
|
|
<!--<li><a href="#" class="link-dark rounded">Shipped</a></li>
|
|
|
|
|
<li><a href="#" class="link-dark rounded">Returned</a></li>-->
|
2021-12-07 10:08:49 +00:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</li>
|
2021-12-08 01:52:20 +00:00
|
|
|
</th:block>
|
2021-12-07 10:08:49 +00:00
|
|
|
</ul>
|
|
|
|
|
</div>
|
2021-11-29 09:38:48 +00:00
|
|
|
</div>
|
2021-11-25 06:00:10 +00:00
|
|
|
</div>
|
2021-11-24 09:27:36 +00:00
|
|
|
</html>
|