Thymeleaf 프래그먼트 경로 표기 오류 수정:
- 모든 th:replace/th:include 경로 ~{}로 변경
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
<!-- fragment/popup/customPopups.html -->
|
<!-- fragment/popup/customPopups.html -->
|
||||||
<div th:fragment="customPopups">
|
<div th:fragment="customPopups">
|
||||||
<div th:replace="fragment/popup/customPopup :: #customAlert"></div>
|
<div th:replace="~{fragment/popup/customPopup :: #customAlert}"></div>
|
||||||
<div th:replace="fragment/popup/emailValidationPopup :: #emailValidationPopup"></div>
|
<div th:replace="~{fragment/popup/emailValidationPopup :: #emailValidationPopup}"></div>
|
||||||
<div th:replace="fragment/popup/customPopup2 :: #customConfirm"></div>
|
<div th:replace="~{fragment/popup/customPopup2 :: #customConfirm}"></div>
|
||||||
<div th:replace="fragment/popup/passwordInputPopup :: passwordInputPopup"></div>
|
<div th:replace="~{fragment/popup/passwordInputPopup :: passwordInputPopup}"></div>
|
||||||
<div th:replace="fragment/popup/terminateRequestPopup :: terminateRequestPopup"></div>
|
<div th:replace="~{fragment/popup/terminateRequestPopup :: terminateRequestPopup}"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
|
|
||||||
<head th:replace="fragment/head :: headFragment">
|
<head th:replace="~{fragment/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer th:replace="fragment/footer :: footerFragment"></footer>
|
<footer th:replace="~{fragment/footer :: footerFragment}"></footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
<head th:replace="fragment/djbank/head :: headFragment">
|
<head th:replace="~{fragment/djbank/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -20,9 +20,9 @@
|
|||||||
<th:block layout:fragment="contentScript">
|
<th:block layout:fragment="contentScript">
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
||||||
<footer th:replace="fragment/djbank/footer :: footerFragment"></footer>
|
<footer th:replace="~{fragment/djbank/footer :: footerFragment}"></footer>
|
||||||
<section th:replace="fragment/popup/customPopups :: customPopups"></section>
|
<section th:replace="~{fragment/popup/customPopups :: customPopups}"></section>
|
||||||
<section th:replace="fragment/popup/twoFactorAuthPopup :: twoFactorAuthPopup"></section>
|
<section th:replace="~{fragment/popup/twoFactorAuthPopup :: twoFactorAuthPopup}"></section>
|
||||||
<section layout:fragment="pagePopups"></section>
|
<section layout:fragment="pagePopups"></section>
|
||||||
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
||||||
<script th:src="@{/js/popup/two-factor-auth.js}"></script>
|
<script th:src="@{/js/popup/two-factor-auth.js}"></script>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
|
|
||||||
<head th:replace="fragment/djbank/head :: headFragment">
|
<head th:replace="~{fragment/djbank/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -18,9 +18,9 @@
|
|||||||
<th:block layout:fragment="contentScript">
|
<th:block layout:fragment="contentScript">
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
||||||
<footer th:replace="fragment/djbank/footer :: footerFragment"></footer>
|
<footer th:replace="~{fragment/djbank/footer :: footerFragment}"></footer>
|
||||||
|
|
||||||
<section th:replace="fragment/popup/customPopups :: customPopups"></section>
|
<section th:replace="~{fragment/popup/customPopups :: customPopups}"></section>
|
||||||
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
<head th:replace="fragment/djbank/head :: headFragment">
|
<head th:replace="~{fragment/djbank/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<th:block layout:fragment="script">
|
<th:block layout:fragment="script">
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
||||||
<section th:replace="fragment/popup/customPopups :: customPopups"></section>
|
<section th:replace="~{fragment/popup/customPopups :: customPopups}"></section>
|
||||||
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<html xmlns:th="http://www.thymeleaf.org"
|
<html xmlns:th="http://www.thymeleaf.org"
|
||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
<head th:replace="fragment/djbank/head :: headFragment">
|
<head th:replace="~{fragment/djbank/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<div class="loading-overlay" style="display: none;">
|
<div class="loading-overlay" style="display: none;">
|
||||||
<div class="loading-spinner"></div>
|
<div class="loading-spinner"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="navigation" th:replace="fragment/djbank/header_nav :: headerFragment"></div>
|
<div class="navigation" th:replace="~{fragment/djbank/header_nav :: headerFragment}"></div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<th:block layout:fragment="contentFragment">
|
<th:block layout:fragment="contentFragment">
|
||||||
</th:block>
|
</th:block>
|
||||||
@@ -21,9 +21,9 @@
|
|||||||
<th:block layout:fragment="contentScript">
|
<th:block layout:fragment="contentScript">
|
||||||
</th:block>
|
</th:block>
|
||||||
|
|
||||||
<footer th:replace="fragment/djbank/footer :: footerFragment"></footer>
|
<footer th:replace="~{fragment/djbank/footer :: footerFragment}"></footer>
|
||||||
<section th:replace="fragment/popup/customPopups :: customPopups"></section>
|
<section th:replace="~{fragment/popup/customPopups :: customPopups}"></section>
|
||||||
<section th:replace="fragment/popup/twoFactorAuthPopup :: twoFactorAuthPopup"></section>
|
<section th:replace="~{fragment/popup/twoFactorAuthPopup :: twoFactorAuthPopup}"></section>
|
||||||
<section layout:fragment="pagePopups"></section>
|
<section layout:fragment="pagePopups"></section>
|
||||||
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
<script th:src="@{/js/popup/custom-popups.js}"></script>
|
||||||
<script th:src="@{/js/popup/two-factor-auth.js}"></script>
|
<script th:src="@{/js/popup/two-factor-auth.js}"></script>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
|
|
||||||
<head th:replace="fragment/head :: headFragment">
|
<head th:replace="~{fragment/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
</th:block>
|
</th:block>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer th:replace="fragment/footer :: footerFragment"></footer>
|
<footer th:replace="~{fragment/footer :: footerFragment}"></footer>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -3,31 +3,31 @@
|
|||||||
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
|
||||||
|
|
||||||
|
|
||||||
<head th:replace="fragment/head :: headFragment">
|
<head th:replace="~{fragment/head :: headFragment}">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<!-- header -->
|
<!-- header -->
|
||||||
<header th:replace="fragment/admin_header :: headerFragment"></header>
|
<header th:replace="~{fragment/admin_header :: headerFragment}"></header>
|
||||||
<th:block th:replace="fragment/admin_header :: headerScript"></th:block>
|
<th:block th:replace="~{fragment/admin_header :: headerScript}"></th:block>
|
||||||
<nav th:replace="fragment/header :: navFragment"></nav>
|
<nav th:replace="~{fragment/header :: navFragment}"></nav>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- csrf -->
|
<!-- csrf -->
|
||||||
<input id="csrf" type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
|
<input id="csrf" type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}">
|
||||||
<div>
|
<div>
|
||||||
<aside th:replace="fragment/menu :: menuFragment"></aside>
|
<aside th:replace="~{fragment/menu :: menuFragment}"></aside>
|
||||||
<th:block th:replace="fragment/menu :: menuScript"></th:block>
|
<th:block th:replace="~{fragment/menu :: menuScript}"></th:block>
|
||||||
|
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<div layout:fragment="contentFragment">
|
<div layout:fragment="contentFragment">
|
||||||
</div>
|
</div>
|
||||||
<th:block layout:fragment="contentScript">
|
<th:block layout:fragment="contentScript">
|
||||||
</th:block>
|
</th:block>
|
||||||
<footer th:replace="fragment/footer :: footerFragment"></footer>
|
<footer th:replace="~{fragment/footer :: footerFragment}"></footer>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
<div class="example">
|
<div class="example">
|
||||||
<h2>2. 프래그먼트 대체</h2>
|
<h2>2. 프래그먼트 대체</h2>
|
||||||
<header th:replace="fragment/header :: headerFragment"></header>
|
<header th:replace="~{fragment/header :: headerFragment}"></header>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="example">
|
<div class="example">
|
||||||
|
|||||||
@@ -104,7 +104,7 @@
|
|||||||
|
|
||||||
<div class="example">
|
<div class="example">
|
||||||
<h2>14. 프래그먼트</h2>
|
<h2>14. 프래그먼트</h2>
|
||||||
<div th:include="fragment/footer :: footerFragment">여기에 푸터가 들어갑니다</div>
|
<div th:include="~{fragment/footer :: footerFragment}">여기에 푸터가 들어갑니다</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="example">
|
<div class="example">
|
||||||
|
|||||||
Reference in New Issue
Block a user