-
Notifications
You must be signed in to change notification settings - Fork 3
/
team_board.html
86 lines (83 loc) · 3.03 KB
/
team_board.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="ko">
<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>
{% include "./layout/style.html" %}
<link rel="stylesheet" href="/css/team_board.css" />
</head>
<body class="wrapper">
{% include "./layout/header.html" %}
<main class="site-content">
<div class="forum-index">
<section>
<div class="team-info-box">
<div class="board-list__team">
{% if team_logo == 'empty' or team_logo == NULL %}
<img
class="board-list__logo__image"
src="/images/team-logo-empty.png"
alt="Team-logo"
/>
{% else %}
<img
class="board-list__logo__image"
src="/uploads/{{team_logo}}"
alt="Team-logo"
/>
{% endif %}
</div>
<h1 class="team-name">{{teamName}}</h1>
</div>
<h2 class="site-content__subtitle">구단 게시판</h2>
<div class="board-list">
<div class="list_names">
<div class="list_names_num">번호</div>
<div class="list_names_title">제목</div>
<div class="list_names-bundle">
<div class="list_names_view">조회수</div>
<div class="list_names_writer">작성자</div>
<div class="list_names_date">게시일</div>
</div>
</div>
{% for post in posts %}
<div class="board-list__item">
<div class="board-list__icon">
<i class="fa fa-comments-o" aria-hidden="true"></i>
</div>
<div class="board-list__info post_num">
<a class="board-list__info__name">{{post.post_num}}</a>
</div>
<div class="board-list__info post_title">
<a class="board-list__info__name">{{post.title}}</a>
</div>
<div class="board-list__stats">
<div class="board-list__stats__value">{{post.count_views}}</div>
</div>
<div class="board-list__lastpost board-list__item--last">
<div>
<div class="board-list__lastpost__user">
<a class="board-list__link">{{post.writer_id}}</a>
</div>
</div>
<div class="board-list__info">
<div class="board-list__info__name date">
{{ date[loop.index-1] }}
</div>
</div>
</div>
</div>
{% endfor %}
</div>
<a href="/team_board/create"
><button class="write_btn">글쓰기</button></a
>
</section>
</div>
</main>
{% include "./layout/footer.html" %}
<script src="/team_board.js"></script>
</body>
</html>