mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
5e8008324c
commit
d0c8af2623
2 changed files with 548 additions and 568 deletions
|
@ -421,7 +421,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
"hidden";
|
"hidden";
|
||||||
document.getElementById("radio-control-disabled").style.display = "none";
|
document.getElementById("radio-control-disabled").style.display = "none";
|
||||||
|
|
||||||
|
|
||||||
document.getElementById("radio-control-network").style.visibility =
|
document.getElementById("radio-control-network").style.visibility =
|
||||||
"hidden";
|
"hidden";
|
||||||
document.getElementById("radio-control-network").style.display = "none";
|
document.getElementById("radio-control-network").style.display = "none";
|
||||||
|
@ -437,8 +436,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
"radio-control-switch-rigctld-info"
|
"radio-control-switch-rigctld-info"
|
||||||
).checked = false;
|
).checked = false;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
document.getElementById("radio-control-network").style.display = "none";
|
document.getElementById("radio-control-network").style.display = "none";
|
||||||
document.getElementById("radio-control-network").style.visibility =
|
document.getElementById("radio-control-network").style.visibility =
|
||||||
"hidden";
|
"hidden";
|
||||||
|
@ -519,13 +516,10 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
document.getElementById("radio-control-disabled").style.visibility =
|
document.getElementById("radio-control-disabled").style.visibility =
|
||||||
"visible";
|
"visible";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
document.getElementById("radio-control-network").style.display = "none";
|
document.getElementById("radio-control-network").style.display = "none";
|
||||||
document.getElementById("radio-control-network").style.visibility =
|
document.getElementById("radio-control-network").style.visibility =
|
||||||
"hidden";
|
"hidden";
|
||||||
|
|
||||||
|
|
||||||
document.getElementById("radio-control-rigctld-info").style.visibility =
|
document.getElementById("radio-control-rigctld-info").style.visibility =
|
||||||
"hidden";
|
"hidden";
|
||||||
document.getElementById("radio-control-rigctld-info").style.display =
|
document.getElementById("radio-control-rigctld-info").style.display =
|
||||||
|
@ -535,8 +529,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||||
fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
fs.writeFileSync(configPath, JSON.stringify(config, null, 2));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// // radio settings 'network' event listener
|
// // radio settings 'network' event listener
|
||||||
document
|
document
|
||||||
.getElementById("radio-control-switch-network")
|
.getElementById("radio-control-switch-network")
|
||||||
|
|
1108
gui/src/index.html
1108
gui/src/index.html
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue