blob: cf3010fb24c200fd6131f25fa0bf22f8ce2f67b4 (
plain)
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
76
77
78
79
80
81
82
83
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SRS Anywhere</title>
<style>
@@CSS@@
</style>
</head>
<body style="display: flex;">
<div id="flashcard">
<div id="flashcard-front"></div>
<div id="flashcard-back"></div>
</div>
<div class="status-section">
<div id="status-info">
No cards loaded!
</div>
<hr>
<input type="file" id="cards-input" accept=".json" />
<button id="open-modal">?</button>
<br />
<label for="cram">Cram mode? <input type="checkbox" id="cram-mode-checkbox"></label>
</div>
<div id="button-container">
<button id="rating-button-forgot" class="rating-button">Forgot [1]</button>
<button id="rating-button-hard" class="rating-button">Hard [2]</button>
<button id="rating-button-good" class="rating-button">Good [3]</button>
<button id="rating-button-easy" class="rating-button">Easy [4]</button>
</div>
<div id="toast">
</div>
<div id="modal" class="modal">
<div class="modal-content">
<p>SRS Anywhere is a self-contained spaced repetition application developed by Jakob L. Kreuze.</p>
<p>SRS Anywhere is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</p>
<p>SRS Anywhere is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.</p>
<p>You should have received a copy of the GNU Affero General Public License along with SRS Anywhere. If not, see <a href="https://www.gnu.org/licenses/">https://www.gnu.org/licenses/</a>.</p>
<h2>Keyboard Shortcuts</h2>
<table>
<tbody>
<tr>
<td>space</td>
<td>Flip/reveal card.</td>
</tr>
<tr>
<td>1</td>
<td>Rate as "forgotten".</td>
</tr>
<tr>
<td>2</td>
<td>Rate as "hard".</td>
</tr>
<tr>
<td>3</td>
<td>Rate as "good".</td>
</tr>
<tr>
<td>4</td>
<td>Rate as "easy".</td>
</tr>
<tr>
<td>q</td>
<td>End review session.</td>
</tr>
</tbody>
</table>
<button class="ok-button" id="close-modal">OK</button>
</div>
</div>
<script>
@@JS@@
</script>
<script src="srs-anywhere-custom-card-types.js"></script>
</body>
</html>
|