/include/layout.html
페이지 정보

본문
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
<head th:fragment="html_head">
<meta charset="UTF-8">
<title>SpringBoot</title>
<link rel="stylesheet" href="/css/style.css" />
<script src="http://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.4.1.min.js"></script>
</head>
<body>
<table width=100% height=50 border=0>
<tr>
<td colspan=2>
id : <span th:text="${session.id}"></span><br>
name : <span th:text="${session.name}"></span><br>
level : <span th:text="${session.level}"></span><br>
</td>
</tr>
<tr>
<td><a href="/">[로고]</a></td>
<td align=right>
<span>
<a href="/member/login">[로그인]</a>
<a href="">[로그아웃]</a>
</span>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<a href="/board/list">[board]</a>
</td>
</tr>
</table>
<hr>
<div layout:fragment="content">
<!-- 컨텐츠 내용 -->
</div>
<th:block layout:fragment="script">
<!-- 스크립트 내용 -->
</th:block>
<hr>
<table width=100% height=50 border=0>
<tr>
<td align="center">카피라이터</td>
</tr>
</table>
</body>
</html>
- 이전글/member/login.html 24.07.18
- 다음글/member/login ( 테스트 : CSRF 토큰 비활성화로 에러 ) 24.07.18
댓글목록
등록된 댓글이 없습니다.