mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Merge remote-tracking branch 'origin/ls-gui' into ls-gui
This commit is contained in:
commit
4ffdd5ac39
2 changed files with 17 additions and 26 deletions
|
@ -278,8 +278,8 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
document.getElementById("enable_auto_retry").checked = false;
|
document.getElementById("enable_auto_retry").checked = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("max_retry_attempts").value = config.max_retry_attempts;
|
document.getElementById("max_retry_attempts").value =
|
||||||
|
config.max_retry_attempts;
|
||||||
|
|
||||||
if (config.enable_request_profile == "True") {
|
if (config.enable_request_profile == "True") {
|
||||||
document.getElementById("enable_request_profile").checked = true;
|
document.getElementById("enable_request_profile").checked = true;
|
||||||
|
@ -994,7 +994,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
bcn.disabled = false;
|
bcn.disabled = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// enable_auto_retry Switch clicked
|
// enable_auto_retry Switch clicked
|
||||||
document.getElementById("enable_auto_retry").addEventListener("click", () => {
|
document.getElementById("enable_auto_retry").addEventListener("click", () => {
|
||||||
console.log(document.getElementById("enable_auto_retry").checked);
|
console.log(document.getElementById("enable_auto_retry").checked);
|
||||||
|
@ -1008,15 +1007,16 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
// max_retry_attempts Switch clicked
|
// max_retry_attempts Switch clicked
|
||||||
document.getElementById("max_retry_attempts").addEventListener("change", () => {
|
document
|
||||||
console.log(document.getElementById("max_retry_attempts").value);
|
.getElementById("max_retry_attempts")
|
||||||
config.max_retry_attempts = document.getElementById("max_retry_attempts").value;
|
.addEventListener("change", () => {
|
||||||
|
console.log(document.getElementById("max_retry_attempts").value);
|
||||||
//fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
config.max_retry_attempts =
|
||||||
FD.saveConfig(config, configPath);
|
document.getElementById("max_retry_attempts").value;
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
//fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
||||||
|
FD.saveConfig(config, configPath);
|
||||||
|
});
|
||||||
|
|
||||||
// sendscatter Switch clicked
|
// sendscatter Switch clicked
|
||||||
document.getElementById("scatterSwitch").addEventListener("click", () => {
|
document.getElementById("scatterSwitch").addEventListener("click", () => {
|
||||||
|
|
|
@ -2916,11 +2916,6 @@
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="input-group input-group-sm mb-1">
|
<div class="input-group input-group-sm mb-1">
|
||||||
<label class="input-group-text w-50"
|
<label class="input-group-text w-50"
|
||||||
>Shared folder path</label
|
>Shared folder path</label
|
||||||
|
@ -2932,27 +2927,26 @@
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="input-group input-group-sm mb-1">
|
||||||
<div class="input-group input-group-sm mb-1">
|
|
||||||
<label class="input-group-text w-50"
|
<label class="input-group-text w-50"
|
||||||
>Enable auto retry on Beacon or Ping
|
>Enable auto retry on Beacon or Ping
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label class="input-group-text w-50">
|
<label class="input-group-text w-50">
|
||||||
|
<div class="form-check form-switch form-check-inline">
|
||||||
<div class="form-check form-switch form-check-inline">
|
|
||||||
<input
|
<input
|
||||||
class="form-check-input"
|
class="form-check-input"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
id="enable_auto_retry"
|
id="enable_auto_retry"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="input-group input-group-sm mb-1">
|
<div class="input-group input-group-sm mb-1">
|
||||||
<span class="input-group-text w-50">message retry attempts</span>
|
<span class="input-group-text w-50"
|
||||||
|
>message retry attempts</span
|
||||||
|
>
|
||||||
<select
|
<select
|
||||||
class="form-select form-select-sm w-50"
|
class="form-select form-select-sm w-50"
|
||||||
id="max_retry_attempts"
|
id="max_retry_attempts"
|
||||||
|
@ -2966,13 +2960,10 @@
|
||||||
<option value="7">7</option>
|
<option value="7">7</option>
|
||||||
<option value="8">8</option>
|
<option value="8">8</option>
|
||||||
<option value="9">9</option>
|
<option value="9">9</option>
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!--Rigctl tab contents-->
|
<!--Rigctl tab contents-->
|
||||||
<div
|
<div
|
||||||
class="tab-pane"
|
class="tab-pane"
|
||||||
|
|
Loading…
Reference in a new issue