diff options
| author | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2025-11-26 15:46:29 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze <zerodaysfordays@sdf.org> | 2025-11-26 15:46:29 -0500 |
| commit | cb059c186fb13e80ae7b3c16749588d6772d7472 (patch) | |
| tree | 84626468e87509ca7d55ab38758a9fe1ebde7a20 /srs-anywhere.html.tpl | |
| parent | 5d38e8c780a38a3344c43be4fff5c717fcf8a736 (diff) | |
Template into single files
Diffstat (limited to 'srs-anywhere.html.tpl')
| -rw-r--r-- | srs-anywhere.html.tpl | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/srs-anywhere.html.tpl b/srs-anywhere.html.tpl new file mode 100644 index 0000000..cf3010f --- /dev/null +++ b/srs-anywhere.html.tpl @@ -0,0 +1,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> |