Nuova UI disegnata sul tema RPIGroup Radio Theme dei siti del gruppo: guscio unico responsive (sidebar e player in basso da 900px, topbar e tab bar su telefono), player della radio persistente nel dock con now playing, HLS/MP3, volume e Media Session; pagine radio, tv, podcast (copertine e programma dal feed), player e pagine di testo rifatte; icone SVG inline al posto di Bootstrap, jQuery e Material Icons; font Bricolage Grotesque e Plus Jakarta Sans in locale; service worker v5, manifest con orientamento libero, icone PWA 192 e 384 rigenerate. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
39 lines
1.4 KiB
PHP
39 lines
1.4 KiB
PHP
<?php
|
|
|
|
$stations = loadTVStations();
|
|
|
|
rpi_page_header([
|
|
'eyebrow' => 'Web TV',
|
|
'title' => 'I canali del gruppo',
|
|
'subtitle' => 'Le dirette video delle emittenti RPIGroup.',
|
|
'back' => ['page' => 'home', 'label' => 'Home'],
|
|
]);
|
|
?>
|
|
|
|
<div class="page">
|
|
<div class="container">
|
|
<?php if (count($stations) > 0): ?>
|
|
<div class="station-grid tv-grid">
|
|
<?php foreach ($stations as $st): ?>
|
|
<a href="<?= rpi_link('playtv/' . $st->id) ?>" data-page="playtv/<?= $st->id ?>" class="card card-link station-card is-tv">
|
|
<span class="cover">
|
|
<img src="<?= htmlspecialchars(!empty($st->poster) ? $st->poster : $st->logo) ?>" alt="" loading="lazy" decoding="async">
|
|
<span class="play" aria-hidden="true"><?= rpi_icon('play', 18) ?></span>
|
|
<span class="chip chip-live tv-chip"><span class="live-dot"></span> Live</span>
|
|
</span>
|
|
<span class="body">
|
|
<h3><?= htmlspecialchars($st->name) ?></h3>
|
|
<p>Web TV in streaming</p>
|
|
</span>
|
|
</a>
|
|
<?php endforeach; ?>
|
|
</div>
|
|
<?php else: ?>
|
|
<div class="empty-state">
|
|
<?= rpi_icon('tv', 40) ?>
|
|
<p>Nessun canale TV disponibile al momento.</p>
|
|
</div>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|