From 5e4aa9b18c9de8058547d6e46edab72cc3f1f5a7 Mon Sep 17 00:00:00 2001 From: Greg Date: Sat, 10 May 2025 22:27:51 +0200 Subject: [PATCH] Left Align title and add public holidays on mouse over --- static/app.js | 3 +++ templates/index.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/static/app.js b/static/app.js index debb7f7..058bbf7 100644 --- a/static/app.js +++ b/static/app.js @@ -79,6 +79,9 @@ function renderTable() { // Date cell const dateTd = document.createElement('td'); dateTd.innerText = date; + if (date === '29/05/25' || date === '25/12/25') { + dateTd.title = 'Public Holiday'; + } tr.appendChild(dateTd); // Player attendance [...data.players, data.guest].forEach((player, colIdx) => { diff --git a/templates/index.html b/templates/index.html index b97689d..889a024 100644 --- a/templates/index.html +++ b/templates/index.html @@ -104,7 +104,7 @@ -
+

Padel Nivelles