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:
+22
-6
@@ -1,19 +1,35 @@
|
||||
<!-- MODAL PROGRAMME -->
|
||||
<div class="modal-overlay" id="programModal">
|
||||
<div class="modal-card program-card">
|
||||
<button class="pm-close" onclick="closeProgramModal()">✕</button>
|
||||
<div class="pm-channel" id="pm-channel"></div>
|
||||
<div class="pm-title" id="pm-title"></div>
|
||||
<div class="pm-time" id="pm-time"></div>
|
||||
<div class="pm-desc" id="pm-desc"></div>
|
||||
<div class="pm-actions">
|
||||
<button class="pm-btn pm-watch" id="pm-watch">▶ <?= htmlspecialchars($L["watch_now"]) ?></button>
|
||||
<a class="pm-btn pm-imdb" id="pm-imdb" href="#" target="_blank" rel="noopener">🎥 <?= htmlspecialchars($L["imdb_search"]) ?></a>
|
||||
<button class="pm-btn pm-cancel" onclick="closeProgramModal()"><?= htmlspecialchars($L["close"]) ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MODAL PERSONAL EPG -->
|
||||
<div class="modal-overlay" id="personalEpgModal">
|
||||
<div class="modal-card">
|
||||
<div class="modal-title">✏ Personal EPG</div>
|
||||
<div class="modal-subtitle">Utilisez votre propre source EPG/M3U sur cette instance.</div>
|
||||
<div class="modal-title">✏ <?= htmlspecialchars($L["personal_epg_title"]) ?></div>
|
||||
<div class="modal-subtitle"><?= htmlspecialchars($L["personal_epg_subtitle"]) ?></div>
|
||||
<div class="modal-field">
|
||||
<label>URL EPG (XMLTV) *</label>
|
||||
<label><?= htmlspecialchars($L["personal_epg_label"]) ?></label>
|
||||
<input type="url" id="personalEpgInput" placeholder="http://mon-serveur/xmltv.xml">
|
||||
</div>
|
||||
<div class="modal-field">
|
||||
<label>URL M3U <span style="opacity:.5;font-size:10px">(optionnel)</span></label>
|
||||
<label><?= htmlspecialchars($L["personal_epg_m3u_label"]) ?> <span style="opacity:.5;font-size:10px">(<?= htmlspecialchars($L["personal_epg_optional"]) ?>)</span></label>
|
||||
<input type="url" id="personalM3uInput" placeholder="http://mon-serveur/channels.m3u">
|
||||
</div>
|
||||
<div class="modal-actions">
|
||||
<button class="modal-btn-cancel" onclick="closePersonalEpgModal()">Annuler</button>
|
||||
<button class="modal-btn-apply" onclick="applyPersonalEpg()">Appliquer</button>
|
||||
<button class="modal-btn-cancel" onclick="closePersonalEpgModal()"><?= htmlspecialchars($L["cancel"]) ?></button>
|
||||
<button class="modal-btn-apply" onclick="applyPersonalEpg()"><?= htmlspecialchars($L["apply"]) ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user