-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproblem_list.html
More file actions
163 lines (159 loc) · 6.33 KB
/
problem_list.html
File metadata and controls
163 lines (159 loc) · 6.33 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
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<!DOCTYPE html>
<html lang="en">
<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>Document</title>
<link rel="stylesheet" href="../static/css/problem_list.css">
</head>
<body>
<div class="header">
<div>
<a href="main_page.html" class="logo">logo</a>
<div class="tagline">Why?py!</div>
<div class="right-area">
<a href="#" class="button plus-one">+1</a>
<a href="#" class="button my">my</a>
<a href="#" class="button list">목록</a>
</div>
</div>
</div>
<div class="all">
<div class="problem">
<div class="title">
<h2>전체 문제</h2>
</div>
<div class="list">
<table>
<tr>
<th>종류</th>
<th>제목</th>
<th>난이도</th>
<th>상태</th>
</tr>
<tr>
<td>종류 1</td>
<td>문제 1</td>
<td>난이도 1</td>
<td><input type="checkbox" class="checkbox"></td>
</tr>
<tr>
<td>종류 2</td>
<td>문제 2</td>
<td>난이도 2</td>
<td><input type="checkbox" class="checkbox"></td>
</tr>
<tr>
<td>종류 1</td>
<td>문제 1</td>
<td>난이도 1</td>
<td><input type="checkbox" class="checkbox"></td>
</tr>
<tr>
<td>종류 2</td>
<td>문제 2</td>
<td>난이도 2</td>
<td><input type="checkbox" class="checkbox"></td>
</tr>
</table>
</div>
</div>
<div class="bigbox">
<div class="box">
<div class="id">아이디</div>
<br>
<br>
<div class="pro">해결한 문제</div>
<div class="num">11개</div>
</div>
<div class="fil">
<h3>필터</h3>
<hr>
<div class="select">
<button onclick="opensetting1()" class="type">문제종류
<img class="togglebutton" src="/toggle-button1.svg">
</button>
<nav id="check-list" style="display: none;">
<ul>
<li><label class="check">
<input name="type1" type="checkbox">
연습문제
</label></li>
<li><label class="check">
<input name="type1" type="checkbox">
직무문제
</label></li>
<li><label class="check">
<input name="type1" type="checkbox">
언어문제
</label></li>
</ul>
</nav>
<button onclick="opensetting2()" class="status">상태
<img class="togglebutton" src="/toggle-button1.svg">
</button>
<nav id="status-list" style="display: none;">
<ul>
<li><label class="status">
<input name="status1" type="checkbox">
푼문제
</label></li>
<li><label class="status">
<input name="status1" type="checkbox">
안푼문제
</label></li>
</ul>
</nav>
<button onclick="opensetting3()" class="level">레벨
<img class="togglebutton" src="/toggle-button1.svg">
</button>
<nav id="level-list" style="display: none;">
<ul>
<li><label class="level">
<input name="level1" type="checkbox">
LV.1
</label></li>
<li><label class="level">
<input name="level1" type="checkbox">
LV.2
</label></li>
<li><label class="level">
<input name="level1" type="checkbox">
LV.3
</label></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div class="search-container">
<input type="text" id="search-input">
<button type="submit" id="search-button">?</button>
</div>
</body>
<script>
function opensetting1() {
if (document.getElementById('check-list').style.display === 'block') {
document.getElementById('check-list').style.display = 'none';
} else {
document.getElementById('check-list').style.display = 'block';
}
}
function opensetting2() {
if (document.getElementById('status-list').style.display === 'block') {
document.getElementById('status-list').style.display = 'none';
} else {
document.getElementById('status-list').style.display = 'block';
}
}
function opensetting3() {
if (document.getElementById('level-list').style.display === 'block') {
document.getElementById('level-list').style.display = 'none';
} else {
document.getElementById('level-list').style.display = 'block';
}
}
</script>
</html>