Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (109 loc) · 9.01 KB
/
Copy pathindex.html
File metadata and controls
112 lines (109 loc) · 9.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Todo Tooling</title>
<meta name="description" content="Capture, clarify and do: a GTD inbox, projects and tags.">
<meta name="theme-color" content="#0d0f13">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Todo">
<link rel="manifest" href="manifest.webmanifest">
<link rel="icon" href="favicon.png">
<link rel="apple-touch-icon" href="icons/apple-touch-icon.png">
<link rel="stylesheet" href="styles.css">
<script src="vendor/supabase-js-2.108.0.min.js"></script>
<script src="config.js"></script>
<script>
if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
document.write('<script src="config.local.js" onerror="this.remove()"><\/script>');
// ?mock swaps Supabase for the in-memory test harness (dev/mock-supabase.js).
if (/[?&]mock\b/.test(location.search)) document.write('<script src="dev/mock-supabase.js"><\/script>');
}
</script>
<script src="supabase-client.js"></script>
</head>
<body>
<div id="auth" class="auth" hidden>
<form id="auth-form" class="auth-card">
<img src="icons/icon-192.png" alt="" width="64" height="64">
<h1>Todo Tooling</h1>
<input id="auth-email" type="email" autocomplete="username" placeholder="Email" required>
<input id="auth-password" type="password" autocomplete="current-password" placeholder="Password" required minlength="8">
<button type="submit" class="btn primary">Sign in</button>
<button type="button" id="auth-signup" class="btn link">Create account</button>
<p id="auth-msg" class="auth-msg" role="status"></p>
</form>
</div>
<div id="app" class="app" hidden>
<nav class="tabs" aria-label="Views">
<button type="button" class="nav-capture desktop-only" id="nav-capture" title="Capture to the Inbox (N)"><span aria-hidden="true">+</span> Capture<kbd>N</kbd></button>
<div class="nav-tools desktop-only">
<a href="#search" data-view="search" class="nav-tool"><span class="tab-icon">🔍</span><span>Search</span></a>
<button type="button" class="nav-tool nav-focus" data-act="focus"><span class="tab-icon">🎯</span><span>Focus</span></button>
</div>
<a href="#inbox" data-view="inbox" data-nav="inbox"><span class="tab-icon">📥</span><span>Inbox</span><b class="badge" id="badge-inbox"></b></a>
<div class="nav-group" data-group="do">
<button type="button" class="nav-head desktop-only" data-nav-group="do" aria-expanded="true"><span>Do</span><span class="nav-sum"></span><span class="nav-chev" aria-hidden="true">▾</span></button>
<div class="nav-items">
<a href="#six" data-view="six" data-nav="six" class="desktop-only"><span class="tab-icon">6️⃣</span><span>Six</span></a>
<a href="#forecast" data-view="forecast" data-nav="forecast"><span class="tab-icon">📅</span><span>Forecast</span><b class="badge due" id="badge-forecast"></b></a>
<a href="#now" data-view="now" data-nav="now" class="desktop-only"><span class="tab-icon">▶️</span><span>What now?</span></a>
<a href="#matrix" data-view="matrix" data-nav="matrix" class="desktop-only"><span class="tab-icon">🔲</span><span>Matrix</span></a>
<a href="#flagged" data-view="flagged" data-nav="flagged"><span class="tab-icon">🚩</span><span>Flagged</span><b class="badge flag" id="badge-flagged"></b></a>
<a href="#nearby" data-view="nearby" data-nav="nearby" class="desktop-only"><span class="tab-icon">📍</span><span>Nearby</span><b class="badge here" id="badge-nearby"></b></a>
<div id="nav-perspectives" class="nav-perspectives"></div>
</div>
</div>
<div class="nav-group" data-group="organize">
<button type="button" class="nav-head desktop-only" data-nav-group="organize" aria-expanded="true"><span>Organize</span><span class="nav-sum"></span><span class="nav-chev" aria-hidden="true">▾</span></button>
<div class="nav-items">
<a href="#projects" data-view="projects" data-nav="projects"><span class="tab-icon">🗂️</span><span>Projects</span></a>
<a href="#tags" data-view="tags" data-nav="tags" class="desktop-only"><span class="tab-icon">🏷️</span><span>Tags</span></a>
<a href="#perspectives" data-view="perspectives" data-nav="perspectives" class="desktop-only"><span class="tab-icon">🔭</span><span>Perspectives</span></a>
<a href="#checklists" data-view="checklists" data-nav="checklists" class="desktop-only"><span class="tab-icon">☑️</span><span>Checklists</span></a>
</div>
</div>
<div class="nav-group" data-group="lists">
<button type="button" class="nav-head desktop-only" data-nav-group="lists" aria-expanded="true"><span>Lists</span><span class="nav-sum"></span><span class="nav-chev" aria-hidden="true">▾</span></button>
<div class="nav-items">
<a href="#added" data-view="added" data-nav="added" class="desktop-only"><span class="tab-icon">🕓</span><span>Last added</span><b class="badge quiet" id="badge-added"></b></a>
<a href="#waiting" data-view="waiting" data-nav="waiting" class="desktop-only"><span class="tab-icon">⏳</span><span>Waiting For</span><b class="badge due" id="badge-waiting"></b></a>
<a href="#someday" data-view="someday" data-nav="someday" class="desktop-only"><span class="tab-icon">💭</span><span>Someday/Maybe</span><b class="badge quiet" id="badge-someday"></b></a>
<a href="#tickler" data-view="tickler" data-nav="tickler" class="desktop-only"><span class="tab-icon">📆</span><span>Tickler</span></a>
<a href="#events" data-view="events" data-nav="events" class="desktop-only"><span class="tab-icon">🗓️</span><span>Events</span><b class="badge quiet" id="badge-events"></b></a>
<a href="#reference" data-view="reference" data-nav="reference" class="desktop-only"><span class="tab-icon">🗄️</span><span>Reference</span></a>
<a href="#reading" data-view="reading" data-nav="reading" class="desktop-only"><span class="tab-icon">📚</span><span>Reading & watching</span><b class="badge quiet" id="badge-reading"></b></a>
<a href="#slipbox" data-view="slipbox" data-nav="slipbox" class="desktop-only"><span class="tab-icon">🗃️</span><span>Slipbox</span><b class="badge quiet" id="badge-slipbox"></b></a>
</div>
</div>
<div class="nav-group" data-group="reflect">
<button type="button" class="nav-head desktop-only" data-nav-group="reflect" aria-expanded="true"><span>Reflect</span><span class="nav-sum"></span><span class="nav-chev" aria-hidden="true">▾</span></button>
<div class="nav-items">
<a href="#full" data-view="full" data-nav="full" class="desktop-only nav-absent"><span class="tab-icon">🃏</span><span>Full Review</span><b class="badge quiet" id="badge-full"></b></a>
<a href="#daily" data-view="daily" data-nav="daily" class="desktop-only"><span class="tab-icon">☀️</span><span>Daily review</span><b class="badge review" id="badge-daily"></b></a>
<a href="#weekly" data-view="weekly" data-nav="weekly" class="desktop-only"><span class="tab-icon">🧭</span><span>Weekly Review</span><b class="badge review" id="badge-review"></b></a>
<a href="#horizons" data-view="horizons" data-nav="horizons" class="desktop-only"><span class="tab-icon">🏔️</span><span>Horizons</span><b class="badge review" id="badge-horizons"></b></a>
</div>
</div>
<div class="nav-foot desktop-only">
<a href="#done" data-view="done" data-nav="done"><span class="tab-icon">✅</span><span>Done</span></a>
<a href="#settings" data-view="settings" data-nav="settings"><span class="tab-icon">⚙️</span><span>Settings</span></a>
<div class="nav-foot-row"><button type="button" class="nav-customize" data-act="customize-sidebar">Customize</button>
<span class="nav-foot-right"><button type="button" class="nav-customize nav-refresh" data-act="refresh" title="Read everything again from the database, and switch to a new version if one is ready"><span class="nav-refresh-glyph" aria-hidden="true">↻</span> Refresh</button><span class="nav-version" id="nav-version" title="The version this page is running"></span></span></div>
<button type="button" class="nav-update" id="nav-update" hidden>Update ready · Reload</button>
</div>
<button type="button" class="mobile-only more-tab" id="more-tab" data-view="more"><span class="tab-icon">⋯</span><span>More</span></button>
</nav>
<a href="#search" class="search-fab" aria-label="Search">🔍</a>
<main id="view" class="view"></main>
<aside id="inspector" class="inspector" hidden aria-label="Inspector"></aside>
<button type="button" id="fab" class="fab" aria-label="New inbox item">+</button>
</div>
<dialog id="sheet" class="sheet"></dialog>
<dialog id="sheet2" class="sheet sheet-top"></dialog>
<div id="toast" class="toast" role="status" hidden></div>
<script type="module" src="js/main.js"></script>
</body>
</html>