Files
mcq/web/templates/list.html
Kyle Isom bc1627915e Initial implementation of mcq — document reading queue
Single-binary service: push raw markdown via REST/gRPC API, read rendered
HTML through mobile-friendly web UI. MCIAS auth on all endpoints, SQLite
storage, goldmark rendering with GFM and syntax highlighting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 11:53:26 -07:00

23 lines
632 B
HTML

{{define "title"}} — Queue{{end}}
{{define "content"}}
<h2>Reading Queue</h2>
{{if not .Documents}}
<div class="card">
<p>No documents in queue.</p>
</div>
{{else}}
<div class="doc-list">
{{range .Documents}}
<a href="/d/{{.Slug}}" class="doc-item {{if .Read}}doc-read{{end}}">
<div class="doc-title">{{.Title}}</div>
<div class="doc-meta">
<span>{{.PushedBy}}</span>
<span>{{.PushedAt}}</span>
{{if .Read}}<span class="doc-badge read">read</span>{{else}}<span class="doc-badge unread">unread</span>{{end}}
</div>
</a>
{{end}}
</div>
{{end}}
{{end}}