Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a39389fe1a | ||
|
|
a934a53898 |
@@ -91,7 +91,7 @@ apt install build-essential python3-dev libssl-dev libffi-dev python3-pip python
|
||||
#### 1. Clone Repository
|
||||
Clone the repository into the /opt directory to ensure all systemd paths work correctly:
|
||||
```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
|
||||
```
|
||||
#### 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
|
||||
Clona il repository nella cartella /opt per assicurarti che tutti i percorsi dei servizi systemd siano corretti:
|
||||
```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
|
||||
```
|
||||
#### 2. Setup Ambiente Virtuale (Consigliato)
|
||||
|
||||
+5
-1
@@ -738,12 +738,16 @@ async function refreshLogs() {
|
||||
try {
|
||||
const res = await fetch('/api/logs'); const logs = await res.json();
|
||||
const tbody = document.getElementById('log-body'); let tableHTML = ""; let networkLogs = {};
|
||||
logs.forEach(row => {
|
||||
logs.forEach(row => {
|
||||
const time = row[0] ? row[0].split(' ')[1] : "--:--";
|
||||
const clientId = row[1]; const protocol = row[2] || "DMR"; let source = row[3] || "---"; const target = row[4] || "---";
|
||||
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);
|
||||
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>`; }
|
||||
|
||||
let slotDisplay = rawSlot && String(rawSlot).trim() !== "" && rawSlot !== "undefined" ? (protocol === "DMR" && !String(rawSlot).toUpperCase().startsWith("TS") ? `TS${rawSlot}` : rawSlot) : "---";
|
||||
|
||||
Reference in New Issue
Block a user