Adds header sections to calendar week view
Improves calendar week view by adding header sections. This change introduces two new header sections, styled with an orange background, to the calendar week view. These sections are positioned in the second row of the week header, enhancing the visual organization and potentially providing space for additional information or actions related to the week view. The overall height of the header has also been adjusted to accommodate the new row.
This commit is contained in:
parent
a097b41def
commit
3691ebea85
3 changed files with 37 additions and 7 deletions
|
|
@ -254,6 +254,15 @@ export class GridManager {
|
|||
|
||||
weekHeader.appendChild(header);
|
||||
});
|
||||
|
||||
// Add orange header sections in row 2
|
||||
const headerSectionLeft = document.createElement('swp-header-section-left');
|
||||
headerSectionLeft.textContent = 'Left Section';
|
||||
weekHeader.appendChild(headerSectionLeft);
|
||||
|
||||
const headerSectionRight = document.createElement('swp-header-section-right');
|
||||
headerSectionRight.textContent = 'Right Section';
|
||||
weekHeader.appendChild(headerSectionRight);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue