board/read.html
페이지 정보
본문
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
layout:decorate="~{include/layout.html}">
<body>
<div layout:fragment="content">
<br>
<center>
<h1>READ</h1>
<table width="700" border="1">
<tr>
<th width="50">제목</th>
<td th:text="${dto.title}"></td>
</tr>
<tr>
<th>내용</th>
<td th:utext="${#strings.replace(dto.content, changeLine, '<br/>')}"></td>
</tr>
<tr>
<th>작성자</th>
<td>[[${dto.writer}]]</td>
</tr>
</table>
<table width="700" border="0">
<tr>
<td><a th:href="|@{list}?${pageRequestDTO.link}|">[목록]</a></td>
<td align="right">
<a th:href="|@{modify(bno=${dto.bno})}&${pageRequestDTO.link}|">[수정]</a>
<a th:href="@{remove(bno=${dto.bno})}">[삭제]</span>
</td>
</tr>
</table>
</center>
<br>
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
<script src="/js/reply.js"></script>
</div>
<th:block layout:fragment="script">
<script th:inline="javascript">
const bno = [[${dto.bno}]]
get1(bno)
</script>
</th:block>
</body>
</html>
- 이전글● 댓글의 자바스크립트 처리 24.06.24
- 다음글js/reply.js 24.06.24
댓글목록
등록된 댓글이 없습니다.