snotes updates, actions, attachments, easy user space

This commit is contained in:
2026-09-22 17:31:55 -07:00
parent ce30c6f4f7
commit abfbf3de1f
21 changed files with 669 additions and 53 deletions

View File

@@ -3,8 +3,22 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>snotes</title>
<link rel="icon" type="image/png" href="/static/snotes-main.png">
<title>snotes</title>
<script>
(function () {
var cfg = {};
try { cfg = JSON.parse(localStorage.getItem("snotes-theme-config")) || {}; } catch (e) {}
var id;
if (cfg.mode === "manual") {
id = cfg.manual || "dark";
} else {
var dark = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;
id = dark ? (cfg.dark || "dark") : (cfg.light || "light");
}
if (id) document.documentElement.setAttribute("data-theme", id);
})();
</script>
<link rel="icon" type="image/png" href="/static/snotes-new.png">
<link rel="stylesheet" href="/static/app.css">
</head>
<body>