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>
This commit is contained in:
22
web/templates/list.html
Normal file
22
web/templates/list.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{{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}}
|
||||
Reference in New Issue
Block a user