Knowledge base of ~80+ markdown files across 14 domains (00-13), Logseq graph, hardware design files (KiCAD), infrastructure configs, and talas-wiki static site. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
34 lines
1.6 KiB
HTML
34 lines
1.6 KiB
HTML
{{define "title"}}Reviews — Talas Wiki{{end}}
|
|
|
|
{{define "content"}}
|
|
<div class="breadcrumb"><a href="/">/</a> / <span>reviews</span></div>
|
|
<h1>Propositions de modifications</h1>
|
|
|
|
{{if .Current}}
|
|
<div class="dash-section" style="margin-bottom:24px">
|
|
<h2>Review: {{.Current.PagePath}}</h2>
|
|
<p class="subtitle">Par {{.Current.Author}} — {{.Current.Message}}</p>
|
|
<div style="display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0">
|
|
<div><h3 style="font-size:12px;color:var(--text-dim)">Contenu actuel</h3><pre class="diff-content" style="max-height:400px;overflow:auto;font-size:11px">{{.CurrentContent}}</pre></div>
|
|
<div><h3 style="font-size:12px;color:var(--text-dim)">Proposition</h3><pre class="diff-content" style="max-height:400px;overflow:auto;font-size:11px">{{.Current.NewContent}}</pre></div>
|
|
</div>
|
|
<div style="display:flex;gap:8px">
|
|
<form method="POST" action="/review-accept/{{.Current.ID}}"><button type="submit" class="btn-save">Accepter</button></form>
|
|
<form method="POST" action="/review-reject/{{.Current.ID}}"><button type="submit" class="fix-btn" style="padding:10px 20px;font-size:13px">Rejeter</button></form>
|
|
</div>
|
|
</div>
|
|
{{end}}
|
|
|
|
{{if .Reviews}}
|
|
<div class="dash-list">
|
|
{{range .Reviews}}
|
|
<a href="/review/{{.ID}}" class="dash-item">
|
|
<span class="dash-item-title">{{.PagePath}}</span>
|
|
<span class="dash-item-meta">{{.Author}} — {{.Message}} — {{formatDateShort .CreatedAt}}</span>
|
|
</a>
|
|
{{end}}
|
|
</div>
|
|
{{else}}
|
|
<p class="subtitle">Aucune proposition en attente.</p>
|
|
{{end}}
|
|
{{end}}
|