Dashboard Live
This commit is contained in:
@@ -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="">
|
||||
|
||||
Reference in New Issue
Block a user