-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
47 lines (42 loc) · 1.25 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Practical FP - Total Recall</title>
<link rel="stylesheet" href="/public/reset.scss" />
<link rel="stylesheet" href="/public/composition.scss" />
<link rel="stylesheet" href="/public/utility.scss" />
<link rel="stylesheet" href="/public/block.scss" />
</head>
<body>
<header>
<h1>Decks</h1>
</header>
<main class="flow">
<details class="reading">
<summary>
<h2>Import deck</h2>
</summary>
<form name="importDeck" class="flow">
<div class="form-control">
<label for="deck">Deck file</label>
<input id="deck" type="file" name="deck" accept=".csv" required />
</div>
<div>
<p>Deck name: <output name="deckName"></output></p>
<p>Number of cards: <output name="cardCount"></output></p>
</div>
<button class="button">Import</button>
</form>
</details>
<article class="flow reading">
<h2>Decks</h2>
<ul id="decks">
</ul>
</article>
</main>
<script type="module" src="/src/main.ts"></script>
</body>
</html>