Compare commits

..
2 Commits
Author SHA1 Message Date
iv3jdv a39389fe1a docs: aggiornamento finale README dopo sincronizzazione 2026-10-25 09:14:27 +01:00
iv3jdv a934a53898 feat(ui): aggiunti link a qrz.com per i nominativi nel last heard
Resi cliccabili i nominativi radio nella tabella dei log. Cliccando su un callsign si apre automaticamente la relativa pagina di ricerca su QRZ.com in una nuova scheda, filtrando in automatico gli ID di rete o puramente numerici.
2026-10-25 09:13:03 +01:00
2 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -91,7 +91,7 @@ apt install build-essential python3-dev libssl-dev libffi-dev python3-pip python
#### 1. Clone Repository #### 1. Clone Repository
Clone the repository into the /opt directory to ensure all systemd paths work correctly: Clone the repository into the /opt directory to ensure all systemd paths work correctly:
```bash ```bash
git clone https://tuo-gitea.com/utente/fleet-control-server.git /opt/fleet-control-server git clone https://git.arifvg.it/iv3jdv/fleet-control-server.git /opt/fleet-control-server
cd /opt/fleet-control-server cd /opt/fleet-control-server
``` ```
#### 2. Virtual Environment Setup (Recommended) #### 2. Virtual Environment Setup (Recommended)
@@ -209,7 +209,7 @@ apt install build-essential python3-dev libssl-dev libffi-dev python3-pip python
#### 1. Clonazione dei Repository #### 1. Clonazione dei Repository
Clona il repository nella cartella /opt per assicurarti che tutti i percorsi dei servizi systemd siano corretti: Clona il repository nella cartella /opt per assicurarti che tutti i percorsi dei servizi systemd siano corretti:
```bash ```bash
git clone https://tuo-gitea.com/utente/fleet-control-server.git /opt/fleet-control-server git clone https://git.arifvg.it/iv3jdv/fleet-control-server.git /opt/fleet-control-server
cd /opt/fleet-control-server cd /opt/fleet-control-server
``` ```
#### 2. Setup Ambiente Virtuale (Consigliato) #### 2. Setup Ambiente Virtuale (Consigliato)
+4
View File
@@ -744,6 +744,10 @@ async function refreshLogs() {
const rawSlot = row[5]; const source_ext = row[8]; const rawRssi = row[9]; const sourceConn = row[10]; const ysfMode = row[11]; const rawSlot = row[5]; const source_ext = row[8]; const rawRssi = row[9]; const sourceConn = row[10]; const ysfMode = row[11];
let sourceHtml = esc(source); let sourceHtml = esc(source);
if (!source.includes("🌐") && /[a-zA-Z]/.test(source)) {
let cleanCall = source.split(' ')[0].trim();
sourceHtml = `<a href="https://www.qrz.com/db/${encodeURIComponent(cleanCall)}" target="_blank" rel="noopener noreferrer" style="color: inherit; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.3); text-underline-offset: 3px; font-weight: inherit;">${esc(source)}</a>`;
}
if (source_ext && source_ext.trim() !== "") { sourceHtml += ` <span style="font-size:0.8em; color:var(--text-muted); font-family:'JetBrains Mono', monospace;">/${esc(source_ext)}</span>`; } if (source_ext && source_ext.trim() !== "") { sourceHtml += ` <span style="font-size:0.8em; color:var(--text-muted); font-family:'JetBrains Mono', monospace;">/${esc(source_ext)}</span>`; }
let slotDisplay = rawSlot && String(rawSlot).trim() !== "" && rawSlot !== "undefined" ? (protocol === "DMR" && !String(rawSlot).toUpperCase().startsWith("TS") ? `TS${rawSlot}` : rawSlot) : "---"; let slotDisplay = rawSlot && String(rawSlot).trim() !== "" && rawSlot !== "undefined" ? (protocol === "DMR" && !String(rawSlot).toUpperCase().startsWith("TS") ? `TS${rawSlot}` : rawSlot) : "---";