summaryrefslogtreecommitdiff
path: root/srs-anywhere.html
diff options
context:
space:
mode:
Diffstat (limited to 'srs-anywhere.html')
-rw-r--r--srs-anywhere.html76
1 files changed, 76 insertions, 0 deletions
diff --git a/srs-anywhere.html b/srs-anywhere.html
new file mode 100644
index 0000000..220d54f
--- /dev/null
+++ b/srs-anywhere.html
@@ -0,0 +1,76 @@
+<!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>
+ <link rel="stylesheet" href="style.css">
+ </head>
+ <body>
+ <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>
+ </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 src="srs-anywhere.js"></script>
+ </body>
+</html>