panel-kopf: dezenter banner aus projektfarbe + geblurrtem thumbnail

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-26 20:39:04 +01:00
parent 972248f26a
commit d7fc548abf
2 changed files with 9 additions and 1 deletions

View File

@@ -3280,6 +3280,8 @@ function openEditor(p) {
editing = p
editingTasks = (p.tasks ?? []).map((t) => ({ ...t }))
document.getElementById('pAvatar').innerHTML = avatar(p, 'lg')
document.getElementById('panel').style.setProperty('--pc', nameColor(p.name))
document.getElementById('pBanner').innerHTML = `<img loading="lazy" src="${thumbUrl(p.name)}" alt="" onerror="this.remove()">`
document.getElementById('panelTitle').textContent = p.name
document.getElementById('pFav').innerHTML = favBtn(p)
wireFav(document.getElementById('pFav'), p)