-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
58 lines (58 loc) · 2.73 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
<!doctype html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#5087cf">
<meta name="Description" content="Simple flashcards">
<link rel="manifest" href="manifest.json">
<link rel="icon" type="image/png" href="img/icon-6.png" sizes="6x6">
<link rel="icon" type="image/png" href="img/icon-12.png" sizes="12x12">
<link rel="icon" type="image/png" href="img/icon-18.png" sizes="18x18">
<link rel="icon" type="image/png" href="img/icon-24.png" sizes="24x24">
<link rel="icon" type="image/png" href="img/icon-48.png" sizes="48x48">
<link rel="icon" type="image/png" href="img/icon-60.png" sizes="60x60">
<link rel="icon" type="image/png" href="img/icon-120.png" sizes="120x120">
<link rel="icon" type="image/png" href="img/icon-180.png" sizes="180x180">
<link rel="icon" type="image/png" href="img/icon-240.png" sizes="240x240">
<link rel="icon" type="image/png" href="img/icon-480.png" sizes="480x480">
<link rel="icon" type="image/png" href="img/icon-516.png" sizes="516x516">
<link href="style.css" rel="stylesheet" type="text/css">
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.5.1/marked.min.js"></script>
<script defer src="https://apis.google.com/js/api.js"></script>
<script type="module" src="main.js"></script>
<script async type="module" src="menu.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
messageStyle: "none",
tex2jax: {preview: "none"}
});
</script>
<script async src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_CHTML-full'></script>
<title>Aleth</title>
<div id="placeholder">
<p>There is no card to review now.</p>
<div id="create" onclick="location.href='edit.html'">Create a new card</div>
</div>
<div id="main" style="display:none;">
<div id="question"></div>
<div id="back">
<div id="answer"></div>
<form action="review-card" method="post">
<input name="id" id="id" type="text" style="display:none;">
<input name="time" id="time" type="text" style="display:none;">
<div class="bar">
<button id="correct" name="correct" type="submit">Correct</button>
<button id="wrong" type="submit">Wrong</button>
</div>
</form>
</div>
</div>
<div id="menu" style="display:none;">
<div id="drive-in" style="display:none;">Enable synchronization with Google Drive</div>
<div id="drive-out" style="display:none;">Sign out of Google Drive</div>
<div id="edit" style="display:none;">Edit card</div>
<div id="delete" style="display:none;">Delete card</div>
<div onclick="location.href='edit.html'">Create new card</div>
<div onclick="location.href='about.html'">About Aleth</div>
</div>
<button id="hamburger" type="button">☰</button>