-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
255 lines (255 loc) · 13.5 KB
/
index.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
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="./static/index.css" />
<link rel="stylesheet" href="./static/character-thumbnails.css" />
<link rel="stylesheet" href="./static/character-select.css" />
<link rel="stylesheet" href="./static/videos-section.css" />
<title>SF6 Replay Center</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="Content-Security-Policy" content="child-src 'none'; frame-src youtube.com https://www.youtube.com;">
<!-- TODO: rajouter la CSP HTTPS une fois la page déployée -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#603cba">
<meta name="theme-color" content="#e40101">
</head>
<body>
<header class="header">
<span class="title">STREET FIGHTER REPLAY CENTER</span>
<div class="side-icons">
<a href="https://github.com/mk360/sf6-replay-aggregator"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 98 96"><path d="M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z"/></svg></a>
</div>
</header>
<main id="main-display" class="center-content">
<!--they are both block elements that can receive generic div markup-->
<section id="current-video">
</section>
<section id="videos">
</section>
</main>
<nav id="character-select-list">
<div class="character-select-bg">
<!-- <input id="p1-search" class="character-search" /> -->
<div class="character-grid">
<button class="character-option" id="luke">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image luke-thumbnail"></div>
</div>
</div>
<div class="slot-name">Luke</div>
</button>
<button class="character-option" id="jamie">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image jamie-thumbnail"></div>
</div>
</div>
<div class="slot-name">Jamie</div>
</button>
<button class="character-option" id="manon">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image manon-thumbnail"></div>
</div>
</div>
<div class="slot-name">Manon</div>
</button>
<button class="character-option" id="kimberly">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image kimberly-thumbnail"></div>
</div>
</div>
<div class="slot-name">Kimberly</div>
</button>
<button class="character-option" id="marisa">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image marisa-thumbnail"></div>
</div>
</div>
<div class="slot-name">Marisa</div>
</button>
<button class="character-option" id="lily">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image lily-thumbnail"></div>
</div>
</div>
<div class="slot-name">Lily</div>
</button>
<button class="character-option" id="jp">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image jp-thumbnail"></div>
</div>
</div>
<div class="slot-name">JP</div>
</button>
<button class="character-option" id="juri">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image juri-thumbnail"></div>
</div>
</div>
<div class="slot-name">Juri</div>
</button>
<button class="character-option" id="dee-jay">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image dee-jay-thumbnail"></div>
</div>
</div>
<div class="slot-name">Dee Jay</div>
</button>
<button class="character-option" id="cammy">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image cammy-thumbnail"></div>
</div>
</div>
<div class="slot-name">Cammy</div>
</button>
<button class="character-option" id="ryu">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image ryu-thumbnail"></div>
</div>
</div>
<div class="slot-name">Ryu</div>
</button>
<button class="character-option" id="e_honda">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image e_honda-thumbnail"></div>
</div>
</div>
<div class="slot-name">E. Honda</div>
</button>
<button class="character-option" id="blanka">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image blanka-thumbnail"></div>
</div>
</div>
<div class="slot-name">Blanka</div>
</button>
<button class="character-option" id="guile">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image guile-thumbnail"></div>
</div>
</div>
<div class="slot-name">Guile</div>
</button>
<button class="character-option" id="ken">
<div class="thumbnail ken">
<div class="character-thumbnail">
<div class="character-image ken-thumbnail"></div>
</div>
</div>
<div class="slot-name">Ken</div>
</button>
<button class="character-option" id="chun-li">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image chun-li-thumbnail"></div>
</div>
</div>
<div class="slot-name">Chun-Li</div>
</button>
<button class="character-option" id="zangief">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image zangief-thumbnail"></div>
</div>
</div>
<div class="slot-name">Zangief</div>
</button>
<button class="character-option" id="dhalsim">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image dhalsim-thumbnail"></div>
</div>
</div>
<div class="slot-name">Dhalsim</div>
</button>
<button class="character-option" id="rashid">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image rashid-thumbnail"></div>
</div>
</div>
<div class="slot-name">Rashid</div>
</button>
<button class="character-option" id="aki">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image aki-thumbnail"></div>
</div>
</div>
<div class="slot-name">A.K.I.</div>
</button>
<button class="character-option" id="ed">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image ed-thumbnail"></div>
</div>
</div>
<div class="slot-name">Ed</div>
</button>
<button class="character-option" id="akuma">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image akuma-thumbnail"></div>
</div>
</div>
<div class="slot-name">Akuma</div>
</button>
<button class="character-option" id="m_bison">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image m_bison-thumbnail"></div>
</div>
</div>
<div class="slot-name">M. Bison</div>
</button>
</div>
</div>
</nav>
<footer class="character-bar">
<div class="blur-layer"></div>
<button id="p1" class="current-character">
<div class="p1 shadow-layer">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image ryu-thumbnail"></div>
</div>
</div>
</div>
<div class="name">Ryu</div>
<svg class="arrow" viewbox="0 0 40 15"><path fill="white" d="M 0 0 L 20 20 l 20 -20 L 0 0" /></svg>
</button>
<!-- <div class="vs">VS</div>
<button id="p2" class="current-character">
<svg class="arrow" viewbox="0 0 40 20"><path fill="white" d="M 0 0 L 20 20 l 20 -20 L 0 0" /></svg>
<div class="name">Ken</div>
<div class="p2 shadow-layer">
<div class="thumbnail">
<div class="character-thumbnail">
<div class="character-image ken-thumbnail"></div>
</div>
</div>
</div>
</button> -->
</footer>
<script defer src="./script/api.js"></script>
<script defer src="./script/index.js"></script>
</body>
</html>