Fix repeated login and forwarding alerts; add detached fullscreen controls

This commit is contained in:
alberto committed 2026-10-23 18:00:33 +02:00
1 parent c98c67e18b
commit 0668a73d40
6 files changed
+37 -6

No files matched your search

+3 -2
View File
@@ -47,8 +47,9 @@ function applyStation(user){
$('.compose-help').textContent='Il messaggio sarà salvato nella BBS. L’inoltro segue i profili BPQ.';
$('.wl-account').textContent=station.call.replace(/-\d+$/,'')+'@winlink.org';
$('.chat-empty h2').textContent=station.apps.find(a=>a.command==='CHAT')?.alias||'Chat BPQ';
$('.chat-empty p').textContent='Connettiti come '+station.call+' per partecipare alla chat.';
const chatHeading=$('.chat-empty h2'),chatHint=$('.chat-empty p');
if(chatHeading)chatHeading.textContent=station.apps.find(a=>a.command==='CHAT')?.alias||'Chat BPQ';
if(chatHint)chatHint.textContent='Connettiti come '+station.call+' per partecipare alla chat.';
for(const feature of ['bbs','chat','winlink','monitor']){const button=$('nav [data-page="'+feature+'"]');if(button)button.hidden=!station.features[feature];}
$$('.services-card .service-call').forEach((el,i)=>el.textContent=(station.apps.find(a=>a.command===['BBS','CHAT','RMS'][i])?.call||(i===3?station.nodeCall:'Non configurato')));
$('.services-card .muted').textContent=station.call;