notes
All repositories: gitoria
880 B
// components/notes.hl — THE NOTES PAGE, `/` and `/note/:id`. Since ticket notes#2 the notes area is not rendered here:// /notes-offline.js fills <note-book id="notesapp"> from the browser's own copy (IndexedDB) — the sidebar, the// selected note in <md-editor>, New note, Delete — and syncs it with the server through /api/notes. So this page// carries no note data at all (the service worker can keep it for offline use). Signed out: only the hint to log in.parent './main.hl'import { siteName } from '../project.hl'import { userIdOfSession } from '../users.hl'session = nullid = nullsignedIn = userIdOfSession(session) != nullsignedOut = userIdOfSession(session) == null__title = siteNameView {if (signedOut) { p { id = "loginhint" class = "muted" "Log in with ident (top right) to see your notes." } }if (signedIn) { noteBook { id = "notesapp" } }}
Branches
- mainmain branch
Latest commits
- 2bebebdanotes: Hybriel master ff51cf46 (re-vendor round)mre
- 3eff126dnotes#3: installable app (manifest + own icon/favicon; notes' own sw.js kept)mre
- 9883c540deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- eee693b8deploy.sh: never send .git or .gitignore to Byrodinmre
- c8904061State of 2026-09-27, before the move to gitoriamre