make the interface pretty
This commit is contained in:
parent
c7503f87d7
commit
c6aa5c3a3c
@ -173,9 +173,9 @@
|
||||
<table class="openwebrx-panel" id="openwebrx-panel-wsjt-message" data-panel-name="wsjt-message" data-panel-pos="left" data-panel-order="2" data-panel-size="619,200">
|
||||
<thead><tr>
|
||||
<th>UTC</th>
|
||||
<th>dB</th>
|
||||
<th>DT</th>
|
||||
<th>Freq</th>
|
||||
<th class="decimal">dB</th>
|
||||
<th class="decimal">DT</th>
|
||||
<th class="decimal">Freq</th>
|
||||
<th class="message">Message</th>
|
||||
</tr></thead>
|
||||
<tbody></tbody>
|
||||
|
@ -1038,10 +1038,23 @@ img.openwebrx-mirror-img
|
||||
#openwebrx-panel-wsjt-message td {
|
||||
width: 50px;
|
||||
text-align: left;
|
||||
padding: 1px 3px;
|
||||
}
|
||||
|
||||
#openwebrx-panel-wsjt-message .message {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
#openwebrx-panel-wsjt-message .decimal {
|
||||
text-align: right;
|
||||
width: 35px;
|
||||
}
|
||||
|
||||
#openwebrx-panel-digimodes[data-mode="ft8"] #openwebrx-digimode-content-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#openwebrx-panel-digimodes[data-mode="ft8"] #openwebrx-digimode-canvas-container {
|
||||
height: 200px;
|
||||
margin: -10px;
|
||||
}
|
@ -1387,9 +1387,9 @@ function update_wsjt_panel(msg) {
|
||||
$b.append($(
|
||||
'<tr data-timestamp="' + msg['timestamp'] + '">' +
|
||||
'<td>' + pad(t.getUTCHours()) + pad(t.getUTCMinutes()) + pad(t.getUTCSeconds()) + '</td>' +
|
||||
'<td>' + msg['db'] + '</td>' +
|
||||
'<td>' + msg['dt'] + '</td>' +
|
||||
'<td>' + msg['freq'] + '</td>' +
|
||||
'<td class="decimal">' + msg['db'] + '</td>' +
|
||||
'<td class="decimal">' + msg['dt'] + '</td>' +
|
||||
'<td class="decimal">' + msg['freq'] + '</td>' +
|
||||
'<td class="message">' + linkedmsg + '</td>' +
|
||||
'</tr>'
|
||||
));
|
||||
@ -2679,8 +2679,9 @@ function demodulator_digital_replace(subtype)
|
||||
demodulator_buttons_update();
|
||||
break;
|
||||
}
|
||||
$('#openwebrx-panel-digimodes').attr('data-mode', subtype);
|
||||
toggle_panel("openwebrx-panel-digimodes", true);
|
||||
if (subtype == 'ft8') toggle_panel("openwebrx-panel-wsjt-message", true);
|
||||
toggle_panel("openwebrx-panel-wsjt-message", subtype == 'ft8');
|
||||
}
|
||||
|
||||
function secondary_demod_create_canvas()
|
||||
|
Loading…
Reference in New Issue
Block a user