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 });
|
||||
cards.forEach(card => observer.observe(card));
|
||||
|
||||
fetch("/drmifo/schedule.json")
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
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>`;
|
||||
table.appendChild(row);
|
||||
});
|
||||
})
|
||||
.catch(error => console.error("Fehler beim Laden des Streaming-Plans:", error));
|
||||
fetch("/drmifo/schedule.json?nocache=" + new Date().getTime())
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
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>`;
|
||||
table.appendChild(row);
|
||||
});
|
||||
})
|
||||
.catch(error => console.error("Fehler beim Laden des Streaming-Plans:", error));
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
x
Reference in New Issue
Block a user