Left Align title and add public holidays on mouse over
This commit is contained in:
parent
f3f6fed5a8
commit
5e4aa9b18c
@ -79,6 +79,9 @@ function renderTable() {
|
|||||||
// Date cell
|
// Date cell
|
||||||
const dateTd = document.createElement('td');
|
const dateTd = document.createElement('td');
|
||||||
dateTd.innerText = date;
|
dateTd.innerText = date;
|
||||||
|
if (date === '29/05/25' || date === '25/12/25') {
|
||||||
|
dateTd.title = 'Public Holiday';
|
||||||
|
}
|
||||||
tr.appendChild(dateTd);
|
tr.appendChild(dateTd);
|
||||||
// Player attendance
|
// Player attendance
|
||||||
[...data.players, data.guest].forEach((player, colIdx) => {
|
[...data.players, data.guest].forEach((player, colIdx) => {
|
||||||
|
|||||||
@ -104,7 +104,7 @@
|
|||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div style="text-align: center; margin-bottom: 1em;">
|
<div style="text-align: left; margin-bottom: 1em;">
|
||||||
<h1 style="margin: 0;">Padel Nivelles</h1>
|
<h1 style="margin: 0;">Padel Nivelles</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user