-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
75 lines (61 loc) · 2.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="src/css/flashcard.css" />
<link rel="stylesheet" href="src/css/theme.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Flashcards</title>
</head>
<body>
<header>
<h1 id="app-title">Flashcards</h1>
<div id="file-input-buttons">
<div id="import-quizz">
<input type="file" id="file-input" accept=".json" style="display: none" />
<label for="file-input" id="import-button" title="Import quizz"></label>
</div>
<button id="ask-ai-button" title="Generate a prompt to ask an AI"></button>
<div id="edit-quizz">
<input type="checkbox" id="edit-input">
<label for="edit-input" id="edit-button" title="Edit quizz"></label>
</div>
<button id="download-button" title="Download quizz"></button>
</div>
</header>
<main>
<h1 id="quizz-title">Import a quizz to start, or...</h1>
<div id="flashcard-container">
<div id="flipper" title="Clic to flip the card">
<div id="front">
<p>Create your question</p>
</div>
<div id="back">
<p>Write the answer</p>
</div>
</div>
</div>
<div id="flashcard-edition">
<button id="add-flashcard" title="Add a new card" style="display: none;"></button>
<div id="add-image" style="display: none;">
<input type="file" id="image-input" accept="image/*" style="display: none" />
<label for="image-input" id="add-image-button" title="Add an image to this question"></label>
</div>
<button id="flip-flashcard" title="Flip the card" style="display: none;"></button>
<button id="delete-flashcard" title="Delete current flashcard" style="display: none;"></button>
</div>
<div id="questions-scroller" style="display: none;"></div>
<div id="navigation-buttons">
<button id="previous-button" title="Previous" disabled></button>
<button id="shuffle-button" title="Shuffle" disabled></button>
<button id="next-button" title="Next" disabled></button>
</div>
</main>
<footer>
<a href="https://github.com/Vianpyro/flashcards/blob/main/LICENSE"> Copyright © 2023-2024</a>
<a href="https://github.com/Vianpyro">Vianney Veremme</a>
</footer>
<script src="src/javascript/flashcard.js" defer></script>
</body>
</html>