Diff -- /var/www/vhosts/3dshawn.com/ptmatrix.3dshawn.com/TEMPLATES/tf_kanban_picker.html

O Operator
Diff

/var/www/vhosts/3dshawn.com/ptmatrix.3dshawn.com/TEMPLATES/tf_kanban_picker.html

added on local at 2026-07-01 12:34:59

Added
+32
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to 4c395df55597
Restore this content →
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
1<div class="page-header">
2 <div><h1>Kanban Boards</h1><p class="subtitle">Pick a project to see its board.</p></div>
3 <div class="flex-end"><a href="/projects.cgi?new=1" class="btn btn-primary">New project</a></div>
4</div>
5[if:$has_plist]
6<div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:18px">
7[loop:@plist]
8<a href="/kanban.cgi?project=$loop1.id" style="text-decoration:none;color:inherit;display:block">
9<div class="card" style="border-left:4px solid $loop1.color;height:100%;transition:transform 120ms,border-color 120ms" onmouseover="this.style.transform='translateY(-2px)'" onmouseout="this.style.transform='none'">
10 <div style="display:flex;justify-content:space-between;align-items:start;gap:10px;margin-bottom:6px">
11 <h3 style="margin:0;font-size:16px">$loop1.name</h3>
12 <span class="badge">$loop1.key_prefix</span>
13 </div>
14 <div style="font-size:12px;color:var(--col-text-dim);margin-bottom:10px">
15 [if:$loop1.dept_name]<span style="display:inline-block;width:8px;height:8px;border-radius:50%;background:$loop1.dept_color;margin-right:4px"></span>$loop1.dept_name &middot;[/if]
16 <span class="priority-pill priority-$loop1.priority">$loop1.priority</span>
17 <span class="badge">$loop1.status_label</span>
18 </div>
19 [if:$loop1.description]<p style="font-size:12.5px;color:var(--col-text-muted);margin-bottom:12px;line-height:1.4">$loop1.description</p>[/if]
20 <div style="background:var(--col-bg-3);height:6px;border-radius:3px;overflow:hidden;margin-bottom:6px"><div style="background:$loop1.color;height:100%;width:$loop1.progress_pct%"></div></div>
21 <div style="display:flex;justify-content:space-between;font-size:11.5px;color:var(--col-text-dim)">
22 <span>$loop1.open_count open / $loop1.total_count tasks</span>
23 <span>$loop1.progress_pct%</span>
24 </div>
25</div>
26</a>
27[/loop]
28</div>
29[/if]
30[if:!$has_plist]
31<div class="card"><div class="muted-empty"><h3>No projects yet</h3><p>Create one to start a board.</p><a href="/projects.cgi?new=1" class="btn btn-primary mt-2">Create a project</a></div></div>
32[/if]