This commit is contained in:
2025-04-02 14:28:07 +00:00
parent 69a79044a7
commit 706a7990c3
2 changed files with 6 additions and 1 deletions

View File

@@ -25,7 +25,7 @@
</style>
</head>
<body>
<h1>Live QSOs by DJ7NT</h1>
<h1>Live QSO-View</h1>
<table id="messagesTable">
<thead>
<tr>
@@ -35,6 +35,7 @@
<th>Nach</th>
<th>Nach Grid</th>
<th>Band</th>
<th>QRG</th>
<th>Mode</th>
<th>RSTR</th>
<th>RSTS</th>
@@ -64,6 +65,7 @@
const CellStationCall = document.createElement('td');
const CellStationGrid = document.createElement('td');
const CellBand = document.createElement('td');
const CellQRG = document.createElement('td');
const CellMode = document.createElement('td');
const CellRSTR = document.createElement('td');
const CellRSTS = document.createElement('td');
@@ -73,6 +75,7 @@
CellStationCall.textContent = message.station_call;
CellStationGrid.textContent = message.station_grid;
CellBand.textContent = message.band;
CellQRG.textContent = message.qrg;
CellMode.textContent = message.mode;
CellRSTR.textContent = message.RST_RCVD;
CellRSTS.textContent = message.RST_SENT;
@@ -84,6 +87,7 @@
row.appendChild(CellCall);
row.appendChild(CellGrid);
row.appendChild(CellBand);
row.appendChild(CellQRG);
row.appendChild(CellMode);
row.appendChild(CellRSTR);
row.appendChild(CellRSTS);

View File

@@ -65,6 +65,7 @@ function parse_msg(msg) {
retmsg.grid=msg.COL_GRIDSQUARE;
retmsg.band=msg.COL_BAND;
retmsg.mode=msg.COL_MODE
retmsg.qrg=msg.COL_FREQ/1000;
retmsg.RST_RCVD=msg.COL_RST_RCVD;
retmsg.RST_SENT=msg.COL_RST_SENT;
retmsg.qso_time=msg.COL_TIME_ON;