Update index.html

This commit is contained in:
TheErrorExe 2025-02-22 22:34:34 +01:00 committed by GitHub
parent 4ffc8dc9d8
commit e9d85953ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,6 +111,7 @@
<div class="calendar">
<table id="scheduleTable">
<tr>
<th>Datum</th>
<th>Tag</th>
<th>Zeit</th>
<th>Extra-Infos</th>
@ -151,7 +152,7 @@ fetch("/drmifo/schedule.json?nocache=" + new Date().getTime())
const table = document.getElementById("scheduleTable");
data.forEach(event => {
const row = document.createElement("tr");
row.innerHTML = `<td>${event.tag}</td><td>${event.zeit}</td><td>${event.infos}</td><td>${event.datum}</td>`;
row.innerHTML = `<td>${event.datum}</td><td>${event.tag}</td><td>${event.zeit}</td><td>${event.infos}</td>`;
table.appendChild(row);
});
})