mirror of
https://github.com/TheErrorExe/blockattack
synced 2025-09-05 21:11:00 +02:00
Update index.html
This commit is contained in:
parent
8359f4b14f
commit
8ca2ed5100
@ -145,17 +145,18 @@
|
|||||||
}, { threshold: 0.3 });
|
}, { threshold: 0.3 });
|
||||||
cards.forEach(card => observer.observe(card));
|
cards.forEach(card => observer.observe(card));
|
||||||
|
|
||||||
fetch("/drmifo/schedule.json")
|
fetch("/drmifo/schedule.json?nocache=" + new Date().getTime())
|
||||||
.then(response => response.json())
|
.then(response => response.json())
|
||||||
.then(data => {
|
.then(data => {
|
||||||
const table = document.getElementById("scheduleTable");
|
const table = document.getElementById("scheduleTable");
|
||||||
data.forEach(event => {
|
data.forEach(event => {
|
||||||
const row = document.createElement("tr");
|
const row = document.createElement("tr");
|
||||||
row.innerHTML = `<td>${event.tag}</td><td>${event.zeit}</td><td>${event.infos}</td>`;
|
row.innerHTML = `<td>${event.tag}</td><td>${event.zeit}</td><td>${event.infos}</td>`;
|
||||||
table.appendChild(row);
|
table.appendChild(row);
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch(error => console.error("Fehler beim Laden des Streaming-Plans:", error));
|
.catch(error => console.error("Fehler beim Laden des Streaming-Plans:", error));
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user