Dashboard Live

This commit is contained in:
Gogs
2026-07-09 15:26:41 +02:00
parent 574b344d1e
commit 558bd4ff6f
3 changed files with 113 additions and 2 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ $favoritesNow = array_values(array_filter($currentProgrammes, fn($item) => !empt
<section class="dashboard-panel">
<h3>🔥 Jetzt läuft</h3>
<div class="dashboard-card-grid">
<div class="dashboard-card-grid" data-dashboard-now>
<?php foreach (array_slice($currentProgrammes, 0, 6) as $item): ?>
<?php $id = dashboardProgrammeId($item['channel_id'], $item['start'], $item['title'] ?? ''); ?>
<button class="dashboard-programme-card dashboard-programme" type="button" data-programme-id="<?= htmlspecialchars($id) ?>">
@@ -128,7 +128,7 @@ $favoritesNow = array_values(array_filter($currentProgrammes, fn($item) => !empt
<section class="dashboard-panel">
<h3>⏰ Beginnt gleich</h3>
<div class="dashboard-card-grid">
<div class="dashboard-card-grid" data-dashboard-favorites>
<?php foreach (array_slice($upcoming, 0, 6) as $item): ?>
<button class="dashboard-programme-card dashboard-programme" type="button" data-programme-id="<?= htmlspecialchars($item['id']) ?>">
<img src="<?= htmlspecialchars(LogoService::getLogoUrl($item['channel_id'])) ?>" alt="">