threadslist.handlebars
1.09 KB
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
<h1>
{{board.title}}
<small class="text-muted">
{{board.name}}
</small>
</h1>
<table class="table">
{{#each threads}}
<tr>
<td>
{{this.title}}
({{this.count}})
</td>
</tr>
{{/each}}
</table>
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal-create">새 스레드 추가</button>
<div class="modal fade" id="modal-create" tabindex="-1" aria-labelledby="label-modal-create" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="label-modal-create">새 스레드 추가</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form method="post">
<div class="form-floating">
<input type="text" id="input-title" name="title" class="form-control" required>
<label for="input-title">제목</label>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary">작성</button>
</div>
</div>
</div>
</div>