mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Clarify TNC rig control area/purpose
This commit is contained in:
parent
b28bda6155
commit
002d866dc7
2 changed files with 25 additions and 25 deletions
|
@ -465,8 +465,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
document
|
document
|
||||||
.getElementById("radio-control-switch-disabled")
|
.getElementById("radio-control-switch-disabled")
|
||||||
.addEventListener("click", () => {
|
.addEventListener("click", () => {
|
||||||
document.getElementById("hamlib_info_field").innerHTML =
|
//document.getElementById("hamlib_info_field").innerHTML =
|
||||||
"Set hamlib related settings.";
|
// "Disables TNC rig control";
|
||||||
|
|
||||||
document.getElementById("radio-control-disabled").style.display = "block";
|
document.getElementById("radio-control-disabled").style.display = "block";
|
||||||
document.getElementById("radio-control-disabled").style.visibility =
|
document.getElementById("radio-control-disabled").style.visibility =
|
||||||
|
@ -487,8 +487,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
document
|
document
|
||||||
.getElementById("radio-control-switch-help")
|
.getElementById("radio-control-switch-help")
|
||||||
.addEventListener("click", () => {
|
.addEventListener("click", () => {
|
||||||
document.getElementById("hamlib_info_field").innerHTML =
|
//document.getElementById("hamlib_info_field").innerHTML =
|
||||||
"Set the ip and port of a rigctld session";
|
// "Set the ip and port of a rigctld session";
|
||||||
|
|
||||||
document.getElementById("radio-control-disabled").style.display = "none";
|
document.getElementById("radio-control-disabled").style.display = "none";
|
||||||
document.getElementById("radio-control-disabled").style.visibility =
|
document.getElementById("radio-control-disabled").style.visibility =
|
||||||
|
@ -510,8 +510,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
document
|
document
|
||||||
.getElementById("radio-control-switch-rigctld")
|
.getElementById("radio-control-switch-rigctld")
|
||||||
.addEventListener("click", () => {
|
.addEventListener("click", () => {
|
||||||
document.getElementById("hamlib_info_field").innerHTML =
|
//document.getElementById("hamlib_info_field").innerHTML =
|
||||||
"Start and stop rigctld .";
|
// "Edit your rigctld settings and start and stop rigctld .";
|
||||||
|
|
||||||
document.getElementById("radio-control-disabled").style.display = "none";
|
document.getElementById("radio-control-disabled").style.display = "none";
|
||||||
document.getElementById("radio-control-disabled").style.visibility =
|
document.getElementById("radio-control-disabled").style.visibility =
|
||||||
|
|
|
@ -310,6 +310,7 @@
|
||||||
Please select audio device for RX and TX
|
Please select audio device for RX and TX
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!--Start of TNC rig control pane-->
|
||||||
</div>
|
</div>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<div class="card text-dark mb-0">
|
<div class="card text-dark mb-0">
|
||||||
|
@ -317,7 +318,7 @@
|
||||||
<i
|
<i
|
||||||
class="bi bi-projector"
|
class="bi bi-projector"
|
||||||
style="font-size: 1rem; color: black"
|
style="font-size: 1rem; color: black"
|
||||||
></i>
|
></i><STRONG> TNC RIG CONTROL</STRONG>
|
||||||
<div
|
<div
|
||||||
class="btn-group btn-group-sm"
|
class="btn-group btn-group-sm"
|
||||||
role="group"
|
role="group"
|
||||||
|
@ -329,13 +330,12 @@
|
||||||
name="radio-control-switch"
|
name="radio-control-switch"
|
||||||
id="radio-control-switch-disabled"
|
id="radio-control-switch-disabled"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
checked
|
|
||||||
/>
|
/>
|
||||||
<label
|
<label
|
||||||
class="btn btn-sm btn-outline-secondary"
|
class="btn btn-sm btn-outline-secondary"
|
||||||
for="radio-control-switch-disabled"
|
for="radio-control-switch-disabled"
|
||||||
>
|
>
|
||||||
disabled
|
None
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
@ -357,19 +357,6 @@
|
||||||
Hamlib
|
Hamlib
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</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>
|
||||||
<div
|
<div
|
||||||
class="btn-group btn-group-sm"
|
class="btn-group btn-group-sm"
|
||||||
|
@ -394,7 +381,8 @@
|
||||||
<div class="card-body p-2">
|
<div class="card-body p-2">
|
||||||
<!-- RADIO CONTROL DISABLED -->
|
<!-- RADIO CONTROL DISABLED -->
|
||||||
<div id="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>
|
</div>
|
||||||
|
|
||||||
<!-- RADIO CONTROL RIGCTLD INFO-->
|
<!-- RADIO CONTROL RIGCTLD INFO-->
|
||||||
|
@ -447,12 +435,24 @@
|
||||||
>
|
>
|
||||||
Stop
|
Stop
|
||||||
</button>
|
</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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- RADIO CONTROL HELP -->
|
<!-- RADIO CONTROL HELP -->
|
||||||
<div id="radio-control-help">
|
<div id="radio-control-help">
|
||||||
<strong>VOX:</strong> disable rigctld usage
|
<strong>VOX:</strong> Use rig control mode 'none'
|
||||||
<br />
|
<br />
|
||||||
<strong>HAMLIB locally:</strong> configure in settings, then
|
<strong>HAMLIB locally:</strong> configure in settings, then
|
||||||
start/stop service.
|
start/stop service.
|
||||||
|
@ -462,7 +462,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer text-muted small" id="hamlib_info_field">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue