Left Align title and add public holidays on mouse over

This commit is contained in:
Greg 2025-05-10 22:27:51 +02:00
parent f3f6fed5a8
commit 5e4aa9b18c
2 changed files with 4 additions and 1 deletions

View File

@ -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) => {

View File

@ -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">