949ccaca59
CLI: --month YYYY-MM, --from/--to date range, --limit override API: from/to query params for date range filtering Web: load more button for pagination, month nav (◂/▸) in stream view
77 lines
2.7 KiB
HTML
77 lines
2.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>nib</title>
|
|
<link rel="stylesheet" href="/style.css">
|
|
</head>
|
|
<body>
|
|
<div id="app">
|
|
<header>
|
|
<div class="header-left">
|
|
<h1 class="logo">nib</h1>
|
|
<nav>
|
|
<button data-view="stream" class="nav-btn active">stream</button>
|
|
<button data-view="cards" class="nav-btn">cards</button>
|
|
</nav>
|
|
</div>
|
|
<form id="capture-bar" autocomplete="off">
|
|
<input type="text" id="capture-input" placeholder="capture... (n to focus)" spellcheck="false">
|
|
</form>
|
|
</header>
|
|
<main>
|
|
<aside id="tag-rail"></aside>
|
|
<section id="entity-panel">
|
|
<div id="month-nav"></div>
|
|
<div id="entity-list"></div>
|
|
</section>
|
|
<aside id="detail-pane">
|
|
<div class="detail-empty">select an entity</div>
|
|
</aside>
|
|
</main>
|
|
</div>
|
|
|
|
<div id="promote-modal" class="modal hidden">
|
|
<div class="modal-backdrop"></div>
|
|
<div class="modal-content">
|
|
<h3>promote to card</h3>
|
|
<div class="type-picker">
|
|
<button data-type="snippet" class="type-btn">
|
|
<span class="type-glyph">◆</span>
|
|
<span>snippet</span>
|
|
</button>
|
|
<button data-type="template" class="type-btn">
|
|
<span class="type-glyph">◈</span>
|
|
<span>template</span>
|
|
</button>
|
|
<button data-type="checklist" class="type-btn">
|
|
<span class="type-glyph">☐</span>
|
|
<span>checklist</span>
|
|
</button>
|
|
<button data-type="decision" class="type-btn">
|
|
<span class="type-glyph">⚖</span>
|
|
<span>decision</span>
|
|
</button>
|
|
<button data-type="link" class="type-btn">
|
|
<span class="type-glyph">↗</span>
|
|
<span>link</span>
|
|
</button>
|
|
</div>
|
|
<button class="modal-close">esc to cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="absorb-modal" class="modal hidden">
|
|
<div class="modal-backdrop"></div>
|
|
<div class="modal-content">
|
|
<h3>absorb source into target</h3>
|
|
<div id="absorb-source-list" class="absorb-list"></div>
|
|
<button class="modal-close">esc to cancel</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/app.js"></script>
|
|
</body>
|
|
</html>
|