-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (62 loc) · 1.68 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
<!DOCTYPE html>
<html>
<head>
<title>Trainer</title>
<meta charset="utf-8">
<style>
button {
background-color: lightblue;
height: 42px;
width: 155px;
}
textarea {
border-style: solid;
border-width: 1px:
font-size: 12pt;
resize: none;
width: 100%;
}
table {
border-spacing: 0px;
}
tr:first-child td {
font-size: 13pt;
background-color: lightblue;
padding: 12px;
position: sticky;
top: 0;
}
</style>
</head>
<body>
<center>
<h1>
Trainer
</h1>
</center>
<p>
<h2>
How it is done
</h2>
<ol>
<li>
If you run Trainer the first time see here to learn how to set it up. Elsewise get the
questions and answers by importing the JSON file saved at the end of a previous run. You do this
by hitting the <Enter> key or clicking the button labeled "Get questions".
</li>
<li>
Do the training. Step through the questions by hitting the <Enter> key or clicking the button
labeled "Show answer". If you knew the answer and want to increase the corresponding counter click the button
labeled "Knew it :)".
</li>
<li>
Save the current status at the end of a training run by downloading and saving the JSON file by clicking the button labeled "Save status".
The file may be used as input for step 1. for the next run.
</li>
</ol>
</p>
<p style="text-align:right;">Version 0.2</p>
<input type="file" id="getFile" accept="application/json" style="display:none">
<script src="./dist/trainer.js"></script>
</body>
</html>