corretta la pagina podcast

This commit is contained in:
2026-06-24 21:39:19 +02:00
parent 91481768fb
commit 84555874a4
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
<changelog> <changelog>
<version> <version>
<number>2.5.1</number> <number>2.5.1 (a)</number>
<logs> <logs>
<log>Migliorata l'usabilità e UX dell'applicazione, inserendo ad ogni pagina il pulsante "Back" (già presente in: player radio, tv e podcast)</log> <log>Migliorata l'usabilità e UX dell'applicazione, inserendo ad ogni pagina il pulsante "Back" (già presente in: player radio, tv e podcast)</log>
<log>Correzione e bugfix di problematiche varie.</log> <log>Correzione e bugfix di problematiche varie.</log>
+4
View File
@@ -998,6 +998,7 @@ document.addEventListener('DOMContentLoaded', function () {
const detail = document.getElementById('podcast-detail'); const detail = document.getElementById('podcast-detail');
const iframe = document.getElementById('podcast-iframe'); const iframe = document.getElementById('podcast-iframe');
const homeNav = document.getElementById('home-navigation'); const homeNav = document.getElementById('home-navigation');
const podNav = document.getElementById('podcast-header');
const scrollContainer = document.querySelector('main'); const scrollContainer = document.querySelector('main');
if (!list || !detail || !iframe) { if (!list || !detail || !iframe) {
@@ -1009,6 +1010,7 @@ document.addEventListener('DOMContentLoaded', function () {
iframe.src = url; iframe.src = url;
// Cambio vista // Cambio vista
podNav.style.display = 'none';
list.style.display = 'none'; list.style.display = 'none';
detail.style.display = 'block'; detail.style.display = 'block';
if (homeNav) homeNav.style.display = 'none'; if (homeNav) homeNav.style.display = 'none';
@@ -1026,6 +1028,7 @@ document.addEventListener('DOMContentLoaded', function () {
const list = document.getElementById('podcast-list'); const list = document.getElementById('podcast-list');
const detail = document.getElementById('podcast-detail'); const detail = document.getElementById('podcast-detail');
const iframe = document.getElementById('podcast-iframe'); const iframe = document.getElementById('podcast-iframe');
const podNav = document.getElementById('podcast-header');
const homeNav = document.getElementById('home-navigation'); const homeNav = document.getElementById('home-navigation');
if (!list || !detail || !iframe) return; if (!list || !detail || !iframe) return;
@@ -1034,6 +1037,7 @@ document.addEventListener('DOMContentLoaded', function () {
iframe.src = 'about:blank'; iframe.src = 'about:blank';
// Cambio vista // Cambio vista
podNav.style.display = 'block';
list.style.display = 'block'; list.style.display = 'block';
detail.style.display = 'none'; detail.style.display = 'none';
if (homeNav) homeNav.style.display = 'block'; if (homeNav) homeNav.style.display = 'block';
+2 -2
View File
@@ -144,7 +144,7 @@ function formatDateItalian($dateString) {
} }
</style> </style>
<div class="radio-header" style="padding: 20px; margin: 0 0 20px 0; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between;position: sticky;top: 0px;z-index: 1;background: white;"> <div class="radio-header" id="podcast-header" style="padding: 20px; margin: 0 0 20px 0; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between;position: sticky;top: 0px;z-index: 1;background: white;">
<div class="left-controls" style="display: flex; align-items: center;"> <div class="left-controls" style="display: flex; align-items: center;">
<a href="<?php echo $base_path; ?>/home" data-page="home" class="linkBox" style="color: #333; display: flex; align-items: center; text-decoration: none;"> <a href="<?php echo $base_path; ?>/home" data-page="home" class="linkBox" style="color: #333; display: flex; align-items: center; text-decoration: none;">
<span class="material-icons" style="font-size: 28px;">arrow_back</span> <span class="material-icons" style="font-size: 28px;">arrow_back</span>
@@ -181,7 +181,7 @@ function formatDateItalian($dateString) {
<!-- Podcast Detail (Iframe) --> <!-- Podcast Detail (Iframe) -->
<div id="podcast-detail"> <div id="podcast-detail">
<div class="radio-header" style="padding: 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between;position: relative;background: white;"> <div class="radio-header" style="padding: 20px; border-bottom: 1px solid #eee; display: flex; align-items: center; justify-content: space-between;position: relative;background: white; z-index: 5;">
<div class="left-controls" style="display: flex; align-items: center;"> <div class="left-controls" style="display: flex; align-items: center;">
<div class="back-to-list" onclick="closePodcast()" class="linkBox" style="color: #333; display: flex; align-items: center; text-decoration: none; cursor: pointer;"> <div class="back-to-list" onclick="closePodcast()" class="linkBox" style="color: #333; display: flex; align-items: center; text-decoration: none; cursor: pointer;">
<span class="material-icons" style="font-size: 28px;">arrow_back</span> <span class="material-icons" style="font-size: 28px;">arrow_back</span>