mirror of
https://github.com/nfonteyne/octane-website.git
synced 2026-09-03 23:24:48 +02:00
update: best visibility of concerts or rehersal in the diary, add button do delete a concert
This commit is contained in:
parent
49979fda39
commit
4610143e2f
2 changed files with 10 additions and 2 deletions
|
|
@ -1432,5 +1432,11 @@ a.back-link:hover { color: var(--accent); }
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cal-cell.has-rehearsal { border-color: var(--accent); }
|
/* Concert/rehearsal markers take priority over the availability heat colors
|
||||||
.cal-cell.has-concert { border-color: var(--success); }
|
above (same specificity, later in the cascade) — a scheduled date matters
|
||||||
|
more than who's free that day. */
|
||||||
|
.cal-cell.has-rehearsal { background: color-mix(in srgb, var(--accent) 20%, var(--surface)); border-color: var(--accent); }
|
||||||
|
.cal-cell.has-concert { background: color-mix(in srgb, var(--accent-2) 20%, var(--surface)); border-color: var(--accent-2); }
|
||||||
|
.cal-cell.has-rehearsal.has-concert {
|
||||||
|
background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, var(--surface)), color-mix(in srgb, var(--accent-2) 20%, var(--surface)));
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -174,6 +174,8 @@ function showHistoryDetail(id) {
|
||||||
getSetlist: () => api.get('/api/setlists/next'),
|
getSetlist: () => api.get('/api/setlists/next'),
|
||||||
createSetlist: (data) => api.post('/api/setlists', data),
|
createSetlist: (data) => api.post('/api/setlists', data),
|
||||||
emptyMessage: 'Aucun concert à venir pour le moment.',
|
emptyMessage: 'Aucun concert à venir pour le moment.',
|
||||||
|
allowDelete: true,
|
||||||
|
onDeleted: () => nextEditor.load(),
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('tab-next').addEventListener('click', () => switchTab('next'));
|
document.getElementById('tab-next').addEventListener('click', () => switchTab('next'));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue