Odstrani emoji iz TV postaj + cleanup all reels
User feedback: 'pa ne maram teh emojijev ki si ji dal k Adria in ZWEI Music. Daj počisti sedaj kar je že narejeno in gremnalagat.' UI changes: - Tab labels: 'FOLX SLOVENIJA', 'FOLX DE', 'ONE DE', 'ZWEI MUSIC', 'ADRIA' (without emoji prefixes) - Job card badge: brez emoji prefix Cleanup (manual via container): - /data/jobs/*.json (15 → 0) - /data/outputs/* (132 → 0) - /data/uploads/* (15 → 0) Dedup baza je ohranjena (15 zapisov), tako da če uporabnik poskuša naložiti komad ki je že naložen na Nextcloud, dobi opozorilo.
This commit is contained in:
parent
5f339e91b5
commit
b9c8c066ec
@ -347,11 +347,11 @@
|
||||
<!-- TV postaja: določa Nextcloud target mapo -->
|
||||
<label style="margin-top:8px;">📺 TV postaja (določa kam gre na Nextcloud)</label>
|
||||
<div class="tv-station-tabs" style="display:flex; flex-wrap:wrap; gap:6px; margin-bottom:14px;">
|
||||
<button type="button" class="tv-tab active" data-station="FOLX SLOVENIJA" style="padding:6px 12px; border:1px solid var(--accent); background:var(--accent); color:#fff; border-radius:4px; cursor:pointer; font-size:13px;">🇸🇮 FOLX SLOVENIJA</button>
|
||||
<button type="button" class="tv-tab" data-station="FOLX DE" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">🇩🇪 FOLX DE</button>
|
||||
<button type="button" class="tv-tab" data-station="ONE DE" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">🇩🇪 ONE DE</button>
|
||||
<button type="button" class="tv-tab" data-station="ZWEI MUSIC" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">🎵 ZWEI MUSIC</button>
|
||||
<button type="button" class="tv-tab" data-station="ADRIA" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">🌊 ADRIA</button>
|
||||
<button type="button" class="tv-tab active" data-station="FOLX SLOVENIJA" style="padding:6px 12px; border:1px solid var(--accent); background:var(--accent); color:#fff; border-radius:4px; cursor:pointer; font-size:13px;">FOLX SLOVENIJA</button>
|
||||
<button type="button" class="tv-tab" data-station="FOLX DE" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">FOLX DE</button>
|
||||
<button type="button" class="tv-tab" data-station="ONE DE" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">ONE DE</button>
|
||||
<button type="button" class="tv-tab" data-station="ZWEI MUSIC" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">ZWEI MUSIC</button>
|
||||
<button type="button" class="tv-tab" data-station="ADRIA" style="padding:6px 12px; border:1px solid #444; background:transparent; color:#ccc; border-radius:4px; cursor:pointer; font-size:13px;">ADRIA</button>
|
||||
</div>
|
||||
<input type="hidden" id="tv-station-input" value="FOLX SLOVENIJA">
|
||||
|
||||
@ -1038,16 +1038,9 @@
|
||||
}
|
||||
actions.push(`<button class="small ghost" data-action="delete" data-id="${job.id}">✕</button>`);
|
||||
|
||||
// TV station label (z emoji prefix)
|
||||
// TV station label (brez emoji)
|
||||
const tvStation = job.tv_station || "FOLX SLOVENIJA";
|
||||
const stationEmoji = {
|
||||
"FOLX SLOVENIJA": "🇸🇮",
|
||||
"FOLX DE": "🇩🇪",
|
||||
"ONE DE": "🇩🇪",
|
||||
"ZWEI MUSIC": "🎵",
|
||||
"ADRIA": "🌊",
|
||||
}[tvStation] || "📺";
|
||||
const tvBadge = `<span style="font-size:10px; padding:2px 6px; background:rgba(255,107,107,0.15); border:1px solid rgba(255,107,107,0.4); border-radius:3px; color:#ff8c8c; font-weight:600; white-space:nowrap;">${stationEmoji} ${escapeHtml(tvStation)}</span>`;
|
||||
const tvBadge = `<span style="font-size:10px; padding:2px 6px; background:rgba(255,107,107,0.15); border:1px solid rgba(255,107,107,0.4); border-radius:3px; color:#ff8c8c; font-weight:600; white-space:nowrap;">${escapeHtml(tvStation)}</span>`;
|
||||
|
||||
el.innerHTML = `
|
||||
<div class="job-head">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user