Feat: Language support via json files in the locales folder + Feat: Popup with title, channel, schedule, duration, season, episode, synopsis, Watch button (if M3U provided) and IMDb link + Fix: Date added to the timebar

This commit is contained in:
Johnnybegood90
2026-03-12 13:11:49 +01:00
parent 8d223359f4
commit 8826926168
13 changed files with 289 additions and 31 deletions
+5 -5
View File
@@ -1,14 +1,14 @@
<div class="loading" id="loading">
<div class="loading-text">Chargement du guide</div>
<div class="loading-text"><?= htmlspecialchars($L["loading"]) ?></div>
<div class="loading-bar"></div>
</div>
<div class="error-msg" id="errorMsg">
<div class="err-title">&#9888; Impossible de charger l'EPG</div>
<div class="err-sub" id="errorDetail">Vérifiez l'URL de votre flux XMLTV.</div>
<div class="err-title">&#9888; <?= htmlspecialchars($L["epg_error"]) ?></div>
<div class="err-sub" id="errorDetail"><?= htmlspecialchars($L["epg_error_sub"]) ?></div>
<div class="epg-input-bar">
<input class="epg-input" id="epgInput" type="text" placeholder="<?= $epg_url ?>" />
<button class="epg-btn" onclick="loadFromInput()">Charger</button>
<button class="epg-btn" onclick="loadFromInput()"><?= htmlspecialchars($L["load"]) ?></button>
</div>
</div>
@@ -32,7 +32,7 @@
<!-- GRID (desktop/tablet) -->
<div class="grid-wrapper">
<div class="channels-col">
<div class="channels-col-header"><span>Chaînes</span></div>
<div class="channels-col-header"><span><?= htmlspecialchars($L["channels"]) ?></span></div>
<div class="channels-list" id="channelsList"></div>
</div>
<div class="timeline-area" id="timelineArea">