-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (47 loc) · 1.81 KB
/
index.html
File metadata and controls
54 lines (47 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Codewars Progress Checker</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="module" src="src/js/app.mjs"></script>
<link rel="stylesheet" href="src/css/styles.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
</head>
<body>
<h1>Codewars Progress Checker</h1>
<form autocomplete="on">
<label for="username" class="sr-only">Codewars Username</label>
<input type="text" id="username" autocomplete="on" placeholder="Codewars username">
<button type="submit" id="check-btn">Check</button>
</form>
<div id="message" aria-live="polite" role="alert">
<span id="message-text"></span>
<button id="message-close" aria-label="Close message">×</button>
</div>
<div id="user-info">
<div><span>Username:</span><span id="user-username"></span></div>
<div><span>Name:</span><span id="user-name"></span></div>
<div><span>Honor:</span><span id="user-honor"></span></div>
</div>
<div id="collections-container"></div>
<template id="collection-template">
<details class="collection-details">
<summary>
<div class="collection-header">
<span class="collection-name"></span>
<span class="collection-completion-status"></span>
</div>
</summary>
<ol class="katas-list"></ol>
</details>
</template>
<template id="kata-li-template">
<li class="kata-li">
<span class="kata-title"><a href="{codewar_kata_url}" target="_blank"></a></span>
<!-- add class "completed" or "incomplete" to indicate completion status -->
<span class="kata-completed"></span>
</li>
</template>
</body>
</html>