kcgFileManager/src/main/resources/templates/layout/layout.html

34 lines
1.4 KiB
HTML
Raw Normal View History

2021-11-24 09:27:36 +00:00
<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org"
2021-11-25 06:00:10 +00:00
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5">
<head>
<meta charset="UTF-8" />
<title>해양경찰청 파일관리 시스템</title>
<!-- 공통으로 쓰이는 css파일을넣는다.-->
<!--bootstrap-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css">
<!-- 컨텐츠페이지의 CSS 영역이 들어감 -->
<th:block layout:fragment="css"></th:block>
2021-11-24 09:27:36 +00:00
2021-11-25 06:00:10 +00:00
<!-- 공통으로 쓰이는 js파일을넣는다.-->
<!--bootstrap-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- 컨텐츠페이지의 스크립트 영역이 들어감 -->
<th:block layout:fragment="script"></th:block>
</head>
2021-11-24 09:27:36 +00:00
2021-11-25 06:00:10 +00:00
<header th:replace="fragments/header :: headerFragment"></header>
<div sec:authorize="isAnonymous()">
<div layout:fragment="content"></div>
</div>
<div sec:authorize="isAuthenticated()" class="row">
<div class="col-2">
<div th:replace="fragments/leftMenu :: leftMenuFragment"></div>
2021-11-24 09:27:36 +00:00
</div>
2021-11-25 06:00:10 +00:00
<div class="col-10">
<div layout:fragment="content"></div>
2021-11-24 09:27:36 +00:00
</div>
2021-11-25 06:00:10 +00:00
</div>
<footer th:replace="fragments/footer :: footerFragment"></footer>
2021-11-24 09:27:36 +00:00
</html>