Push notifications: period soon/late reminders, test button

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-10-18 09:43:41 +01:00
parent ce66b857db
commit bb19bc0aeb
12 changed files with 872 additions and 21 deletions

View file

@ -14,7 +14,7 @@
<link rel="manifest" href="/manifest.webmanifest" crossorigin="use-credentials">
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="stylesheet" href="/styles.css?v=1.1.0">
<link rel="stylesheet" href="/styles.css?v=1.2.0">
</head>
<body>
<header class="topbar">
@ -74,6 +74,11 @@
</section>
<section class="view" id="view-settings" aria-labelledby="tab-settings" hidden>
<div class="card" id="notify-card">
<h2>Notifications</h2>
<p class="subtitle">A reminder before your period is due, and a note if it is late.</p>
<div id="notify-body" class="notify-body"></div>
</div>
<div class="card" id="share-card">
<h2>Sharing</h2>
<label class="switch-row">
@ -125,7 +130,7 @@
</form>
</dialog>
<script src="/cycle.js?v=1.1.0"></script>
<script src="/app.js?v=1.1.0"></script>
<script src="/cycle.js?v=1.2.0"></script>
<script src="/app.js?v=1.2.0"></script>
</body>
</html>