Add program reminders and category filtering to the guide UI
Enhance health diagnostics with EPG quality and source metrics
This commit is contained in:
+1
-1
@@ -3,7 +3,7 @@
|
||||
<?php
|
||||
$js_dir = __DIR__ . '/../js/';
|
||||
include $js_dir . 'config.js';
|
||||
$js_modules = ['utils', 'favorites', 'epg', 'mobile', 'tooltip', 'sources', 'm3u', 'player', 'themes', 'search', 'program', 'updater', 'live'];
|
||||
$js_modules = ['utils', 'favorites', 'epg', 'mobile', 'tooltip', 'sources', 'm3u', 'player', 'themes', 'search', 'reminders', 'program', 'updater', 'live'];
|
||||
foreach ($js_modules as $mod) {
|
||||
echo file_get_contents($js_dir . $mod . '.js');
|
||||
}
|
||||
|
||||
@@ -9,6 +9,18 @@
|
||||
<div class="pm-meta" id="pm-meta"></div>
|
||||
<div class="pm-genres" id="pm-genres"></div>
|
||||
<div class="pm-desc" id="pm-desc"></div>
|
||||
<div class="pm-reminder-panel" id="pm-reminder-panel">
|
||||
<button class="pm-btn pm-reminder" id="pm-reminder-toggle" type="button"><?= htmlspecialchars($L["reminder_button"] ?? 'Reminder') ?></button>
|
||||
<div class="pm-reminder-submenu" id="pm-reminder-submenu">
|
||||
<div class="pm-reminder-title"><?= htmlspecialchars($L["reminder_title"] ?? 'Notify me before this program starts') ?></div>
|
||||
<div class="pm-reminder-text" id="pm-reminder-text"></div>
|
||||
<div class="pm-reminder-status" id="pm-reminder-status"></div>
|
||||
<div class="pm-reminder-actions">
|
||||
<button class="pm-btn pm-reminder-save" id="pm-reminder-save" type="button"><?= htmlspecialchars($L["reminder_save"] ?? 'Activate reminder') ?></button>
|
||||
<button class="pm-btn pm-reminder-remove" id="pm-reminder-remove" type="button"><?= htmlspecialchars($L["reminder_remove"] ?? 'Remove reminder') ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</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>
|
||||
|
||||
@@ -58,6 +58,9 @@ foreach ($theme_files as $file) {
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
<select class="category-filter" id="categoryFilter" onchange="setCategoryFilter(this.value)" title="<?= htmlspecialchars($L["category_filter_title"] ?? 'Filter by category') ?>">
|
||||
<option value=""><?= htmlspecialchars($L["category_all"] ?? 'All categories') ?></option>
|
||||
</select>
|
||||
<button class="search-btn" onclick="toggleSearch()" title="Search">🔍</button>
|
||||
<div class="live-dot"><?= htmlspecialchars($L["live"]) ?></div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user