Update available tag.

This commit is contained in:
Johnnybegood90
2026-03-13 21:39:34 +01:00
parent 8460771d20
commit 44f4eeaafe
7 changed files with 66 additions and 4 deletions
+1 -1
View File
@@ -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', 'live'];
$js_modules = ['utils', 'favorites', 'epg', 'mobile', 'tooltip', 'sources', 'm3u', 'player', 'themes', 'search', 'program', 'updater', 'live'];
foreach ($js_modules as $mod) {
echo file_get_contents($js_dir . $mod . '.js');
}
+15
View File
@@ -869,6 +869,21 @@
opacity: .3; margin: 0;
}
/* ── UPDATE BADGE ────────────────────────────────────────────────────────── */
.update-badge {
background: var(--accent); color: #000;
font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
padding: 4px 10px; text-decoration: none; white-space: nowrap;
animation: pulse-badge 2s ease-in-out infinite;
border-radius: 2px; margin-left: 4px;
}
.update-badge:hover { opacity: .85; }
@keyframes pulse-badge {
0%, 100% { opacity: 1; }
50% { opacity: .65; }
}
</style>
<link id="themeStylesheet" rel="stylesheet" href="themes/default.css">
</head>