2024-10-10 17:37:22 +09:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html
|
|
|
|
|
xmlns:th="http://www.thymeleaf.org"
|
|
|
|
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
2025-08-04 16:35:49 +09:00
|
|
|
xmlns:sec="http://www.thymeleaf.org/extras/spring-security"
|
2024-10-10 17:37:22 +09:00
|
|
|
layout:decorate="~{layout/default_layout}"
|
|
|
|
|
>
|
2025-09-05 18:02:27 +09:00
|
|
|
<head>
|
|
|
|
|
<th:block layout:fragment="head">
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.snow.css" rel="stylesheet" />
|
|
|
|
|
<link href="https://cdn.jsdelivr.net/npm/quill-table-better@1/dist/quill-table-better.css" rel="stylesheet" />
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/quill@2/dist/quill.js"></script>
|
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/quill-table-better@1/dist/quill-table-better.js"></script>
|
|
|
|
|
<script>document.addEventListener('DOMContentLoaded', function() {initEditor(false)});</script>
|
2025-08-05 16:14:01 +09:00
|
|
|
|
2025-09-05 18:02:27 +09:00
|
|
|
</th:block>
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
2024-10-21 17:25:49 +09:00
|
|
|
<th:block layout:fragment="content" id="content">
|
2025-03-20 17:57:55 +09:00
|
|
|
<section class="wrapper style2">
|
2025-09-05 18:02:27 +09:00
|
|
|
<div class="container" sec:authorize="isAuthenticated()" onclick="loadEditor()" style="cursor: pointer;" title="클릭하여 수정하기">
|
2025-03-21 17:15:55 +09:00
|
|
|
<header class="major">
|
2025-09-05 18:02:27 +09:00
|
|
|
<h2 id="title_layer" th:text="${srcPost.title}">게시물 제목이 여기에 표시됩니다</h2>
|
2025-03-21 17:15:55 +09:00
|
|
|
<p th:text="${#temporals.format(T(java.time.Instant).ofEpochMilli(srcPost.writeTime).atZone(T(java.time.ZoneId).systemDefault()).toLocalDateTime(), 'yyyy-MM-dd HH:mm:ss')}"></p>
|
|
|
|
|
</header>
|
|
|
|
|
</div>
|
2025-09-05 18:02:27 +09:00
|
|
|
<div class="container open-login-popup" sec:authorize="isAnonymous()" to="#loginPopup" style="cursor: pointer;">
|
2025-03-21 17:15:55 +09:00
|
|
|
<header class="major">
|
2025-09-05 18:02:27 +09:00
|
|
|
<h2 id="title_layer" th:text="${srcPost.title}">게시물 제목이 여기에 표시됩니다</h2>
|
2025-03-20 17:57:55 +09:00
|
|
|
<p th:text="${#temporals.format(T(java.time.Instant).ofEpochMilli(srcPost.writeTime).atZone(T(java.time.ZoneId).systemDefault()).toLocalDateTime(), 'yyyy-MM-dd HH:mm:ss')}"></p>
|
|
|
|
|
</header>
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
2025-09-05 18:02:27 +09:00
|
|
|
|
2025-03-19 18:27:39 +09:00
|
|
|
<section class="wrapper style1">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div id="content">
|
|
|
|
|
<article>
|
2025-09-05 18:02:27 +09:00
|
|
|
<div id="editor"></div>
|
|
|
|
|
|
2025-03-19 18:27:39 +09:00
|
|
|
<div class="write_controllbox">
|
2025-09-05 18:02:27 +09:00
|
|
|
<div class="write_option controlbox-category">
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 15px"></div>
|
|
|
|
|
<div class="write_option controlbox-hashtag" id="hashtag_field">
|
|
|
|
|
</div>
|
|
|
|
|
<div style="width: 15px"></div>
|
|
|
|
|
<div class="write_option" id="location_field">
|
|
|
|
|
</div>
|
2025-03-19 18:27:39 +09:00
|
|
|
</div>
|
2025-09-05 18:02:27 +09:00
|
|
|
|
2025-03-20 17:57:55 +09:00
|
|
|
<h3 id="write" th:text="${srcPost.firstAddress}"></h3>
|
|
|
|
|
<h3 id="modify" th:text="${srcPost.modifyAddress}"></h3>
|
2025-03-19 18:27:39 +09:00
|
|
|
</article>
|
2025-09-05 18:02:27 +09:00
|
|
|
|
|
|
|
|
<section class="comment-section">
|
|
|
|
|
<h2>Comments</h2>
|
|
|
|
|
<div id="comment-form-container">
|
|
|
|
|
<textarea id="comment-input" placeholder="댓글을 입력하세요..."></textarea>
|
|
|
|
|
<button id="submit-comment" class="button">등록</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="comments-list">
|
|
|
|
|
</div>
|
|
|
|
|
</section>
|
2025-03-19 18:27:39 +09:00
|
|
|
</div>
|
2024-10-23 10:07:45 +09:00
|
|
|
</div>
|
2025-03-19 18:27:39 +09:00
|
|
|
</section>
|
2024-10-21 17:25:49 +09:00
|
|
|
</th:block>
|
2025-09-05 18:02:27 +09:00
|
|
|
</body>
|
|
|
|
|
</html>
|