-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLetterWriting.html
53 lines (46 loc) · 1.99 KB
/
LetterWriting.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>일기 쓰기</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/write.css">
</head>
<body>
<div class="letter-wrapper">
<form th:action="@{/letter}" th:object="${letterDto}" method="post">
<div class="stylebox">
<div class="paper_style">
<select id="paper" name="paper" th:field="*{paper}" onchange="paperChange()">
<option value="" selected disabled hidden>종이 선택</option>
<option value="plain">Plain</option>
<option value="cardboard">Cardboard</option>
<option value="squared">Squared</option>
</select>
</div>
<div class="font_style">
<select id="font" name="font" th:field="*{font}">
<option value="" selected disabled hidden>글꼴</option>
<option value="serif">Serif</option>
<option value="sans-serif">Sans-serif</option>
<option value="monospace">Monospace</option>
</select>
</div>
</div>
<div class="titlebox">
<input type="text" id="title" name="title" th:field="*{title}"
placeholder="제목을 입력하세요." />
</div>
<hr>
<div class="contentbox">
<textarea id="content" name="content" th:field="*{content}" rows="10"
placeholder="내용"></textarea>
</div>
<button type="submit" class="submit">등록</button>
</form>
</div>
<script src="/js/write.js"></script>
</body>
</html>