專案儀表更新

This commit is contained in:
2026-05-26 12:12:00 +08:00
parent f1bc0a30e1
commit 56f9a703b8
3 changed files with 683 additions and 113 deletions

View File

@@ -281,6 +281,14 @@ function renderProjects(projects) {
</span>
</div>
<div class="card-actions">
<a href="/dashboard/project/${encodeURIComponent(p.slug)}" class="btn btn-secondary btn-sm" id="dashboard-btn-${p.slug}" style="margin-right:0.5rem;">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2">
<path d="M3 13h8V3H3v10z"/>
<path d="M13 21h8V11h-8v10z"/>
<path d="M3 21h8v-6H3v6z"/>
</svg>
專案儀表板
</a>
<a href="/editor/${p.slug}" class="btn btn-primary btn-sm" id="edit-btn-${p.slug}">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2">
<path d="M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"/>