diff --git a/static/app.js b/static/app.js index d8f32ba..6495219 100644 --- a/static/app.js +++ b/static/app.js @@ -240,7 +240,7 @@ function showTaskModal(projectId) { ${phases.map((phase) => { const pt = tasks.filter((t) => t.phase === phase); - return `
${phase}${pt.length}
${pt.length ? pt.map((t) => `
${t.task}
`).join("") : `
暂无任务
`}
`; + return `
${phase}${pt.length}
${pt.length ? pt.map((t) => `
${t.task}${t.owner ? `${t.owner}` : ""}${t.due_date ? `${t.due_date}` : ""}
`).join("") : `
暂无任务
`}
`; }).join("")}`; document.querySelector("#taskModal").classList.add("active"); if (window.lucide) window.lucide.createIcons(); diff --git a/static/styles.css b/static/styles.css index 07e1ee6..5f41e43 100644 --- a/static/styles.css +++ b/static/styles.css @@ -534,6 +534,7 @@ td { } .task-dot { display: flex; color: #4b4d54; } .task-name { color: #c5c6ca; font-size: 13px; } +.task-meta { color: #5a5c63; font-size: 11px; margin-left: auto; white-space: nowrap; } .task-none { color: #4b4d54; font-size: 13px; padding: 12px 14px; text-align: center; border-top: 1px solid #24272d; } .task-form { background: #141518; border: 1px solid #2a2d34; border-radius: 8px;