Clarify TNC rig control area/purpose

This commit is contained in:
Mashintime 2023-02-12 15:05:48 -05:00
parent b28bda6155
commit 002d866dc7
2 changed files with 25 additions and 25 deletions

View file

@ -465,8 +465,8 @@ window.addEventListener("DOMContentLoaded", () => {
document
.getElementById("radio-control-switch-disabled")
.addEventListener("click", () => {
document.getElementById("hamlib_info_field").innerHTML =
"Set hamlib related settings.";
//document.getElementById("hamlib_info_field").innerHTML =
// "Disables TNC rig control";
document.getElementById("radio-control-disabled").style.display = "block";
document.getElementById("radio-control-disabled").style.visibility =
@ -487,8 +487,8 @@ window.addEventListener("DOMContentLoaded", () => {
document
.getElementById("radio-control-switch-help")
.addEventListener("click", () => {
document.getElementById("hamlib_info_field").innerHTML =
"Set the ip and port of a rigctld session";
//document.getElementById("hamlib_info_field").innerHTML =
// "Set the ip and port of a rigctld session";
document.getElementById("radio-control-disabled").style.display = "none";
document.getElementById("radio-control-disabled").style.visibility =
@ -510,8 +510,8 @@ window.addEventListener("DOMContentLoaded", () => {
document
.getElementById("radio-control-switch-rigctld")
.addEventListener("click", () => {
document.getElementById("hamlib_info_field").innerHTML =
"Start and stop rigctld .";
//document.getElementById("hamlib_info_field").innerHTML =
// "Edit your rigctld settings and start and stop rigctld .";
document.getElementById("radio-control-disabled").style.display = "none";
document.getElementById("radio-control-disabled").style.visibility =

View file

@ -310,6 +310,7 @@
Please select audio device for RX and TX
</div>
</div>
<!--Start of TNC rig control pane-->
</div>
<div class="col">
<div class="card text-dark mb-0">
@ -317,7 +318,7 @@
<i
class="bi bi-projector"
style="font-size: 1rem; color: black"
></i>
></i><STRONG> TNC RIG CONTROL</STRONG>
<div
class="btn-group btn-group-sm"
role="group"
@ -329,13 +330,12 @@
name="radio-control-switch"
id="radio-control-switch-disabled"
autocomplete="off"
checked
/>
<label
class="btn btn-sm btn-outline-secondary"
for="radio-control-switch-disabled"
>
disabled
None
</label>
<div
@ -357,19 +357,6 @@
Hamlib
</label>
</div>
<div class="btn-group" role="group">
<button
type="button"
id="testHamlib"
class="btn btn-sm btn-outline-secondary"
data-bs-placement="bottom"
data-bs-toggle="tooltip"
data-bs-html="true"
title="Test your hamlib settings and toggle PTT once. Button will become <strong class='text-success'>green</strong> on success and <strong class='text-danger'>red</strong> if fails."
>
PTT Test
</button>
</div>
</div>
<div
class="btn-group btn-group-sm"
@ -394,7 +381,8 @@
<div class="card-body p-2">
<!-- RADIO CONTROL DISABLED -->
<div id="radio-control-disabled">
hamlib/rigctld connection disabled
<p class="small">TNC will not utilize rig control and features will be limited.
While functional; it is recommended to configure hamlib.</p>
</div>
<!-- RADIO CONTROL RIGCTLD INFO-->
@ -447,12 +435,24 @@
>
Stop
</button>
<button
type="button"
id="testHamlib"
class="btn btn-sm btn-outline-secondary"
data-bs-placement="bottom"
data-bs-toggle="tooltip"
data-bs-html="true"
title="Test your hamlib settings and toggle PTT once. Button will become <strong class='text-success'>green</strong> on success and <strong class='text-danger'>red</strong> if fails."
>
PTT Test
</button>
</div>
</div>
<!-- RADIO CONTROL HELP -->
<div id="radio-control-help">
<strong>VOX:</strong> disable rigctld usage
<strong>VOX:</strong> Use rig control mode 'none'
<br />
<strong>HAMLIB locally:</strong> configure in settings, then
start/stop service.
@ -462,7 +462,7 @@
</div>
</div>
<div class="card-footer text-muted small" id="hamlib_info_field">
Select your radio and PTT settings. Start/Stop Hamlib Rigctld
Define TNC rig control mode (none/hamlib)
</div>
</div>
</div>