corretta la pagina podcast
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
<changelog>
|
||||
|
||||
<version>
|
||||
<number>2.5.1</number>
|
||||
<number>2.5.1 (a)</number>
|
||||
<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>Correzione e bugfix di problematiche varie.</log>
|
||||
|
||||
@@ -998,6 +998,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const detail = document.getElementById('podcast-detail');
|
||||
const iframe = document.getElementById('podcast-iframe');
|
||||
const homeNav = document.getElementById('home-navigation');
|
||||
const podNav = document.getElementById('podcast-header');
|
||||
const scrollContainer = document.querySelector('main');
|
||||
|
||||
if (!list || !detail || !iframe) {
|
||||
@@ -1009,6 +1010,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
iframe.src = url;
|
||||
|
||||
// Cambio vista
|
||||
podNav.style.display = 'none';
|
||||
list.style.display = 'none';
|
||||
detail.style.display = 'block';
|
||||
if (homeNav) homeNav.style.display = 'none';
|
||||
@@ -1026,6 +1028,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
const list = document.getElementById('podcast-list');
|
||||
const detail = document.getElementById('podcast-detail');
|
||||
const iframe = document.getElementById('podcast-iframe');
|
||||
const podNav = document.getElementById('podcast-header');
|
||||
const homeNav = document.getElementById('home-navigation');
|
||||
|
||||
if (!list || !detail || !iframe) return;
|
||||
@@ -1034,6 +1037,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
iframe.src = 'about:blank';
|
||||
|
||||
// Cambio vista
|
||||
podNav.style.display = 'block';
|
||||
list.style.display = 'block';
|
||||
detail.style.display = 'none';
|
||||
if (homeNav) homeNav.style.display = 'block';
|
||||
|
||||
@@ -144,7 +144,7 @@ function formatDateItalian($dateString) {
|
||||
}
|
||||
</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;">
|
||||
<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>
|
||||
@@ -181,7 +181,7 @@ function formatDateItalian($dateString) {
|
||||
|
||||
<!-- Podcast Detail (Iframe) -->
|
||||
<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="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>
|
||||
|
||||
Reference in New Issue
Block a user