From e7ddb09b417be65422f95de9010092f809eedc86 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Tue, 11 Apr 2023 12:43:41 +0000 Subject: [PATCH] Prettified Code! --- gui/preload-main.js | 8 +- gui/src/index.html | 796 ++++++++++++++++++++------------------------ 2 files changed, 359 insertions(+), 445 deletions(-) diff --git a/gui/preload-main.js b/gui/preload-main.js index 60cf33f5..58382528 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -530,8 +530,6 @@ window.addEventListener("DOMContentLoaded", () => { FD.saveConfig(config, configPath); }); - - // // radio settings 'rigctld' event listener document .getElementById("radio-control-switch-rigctld") @@ -1959,9 +1957,11 @@ ipcRenderer.on("action-update-tnc-state", (event, arg) => { // AUDIO RECORDING if (arg.audio_recording == "True") { - document.getElementById("startStopRecording").textContent = "Stop recording"; + document.getElementById("startStopRecording").textContent = + "Stop recording"; } else { - document.getElementById("startStopRecording").textContent = "Start recording"; + document.getElementById("startStopRecording").textContent = + "Start recording"; } //CHANNEL CODEC2 BUSY STATE if (arg.is_codec2_traffic == "True") { diff --git a/gui/src/index.html b/gui/src/index.html index 145eb226..cfa35744 100644 --- a/gui/src/index.html +++ b/gui/src/index.html @@ -276,41 +276,30 @@
- - - -
-
-
- -
-
- Audio devices -
-
- - - - - - - -
+
+
+
+ +
+
+ Audio devices +
+
+
- - - - - +
@@ -337,88 +326,78 @@ >
-
+
+
+
+ +
+
+ Rig control +
+
+
+ + - -
-
-
- -
-
- Rig control -
-
-
- - - -
- - -
-
- -
- -
- - - - - - - +
+ + +
+ +
+ +
- - - +
@@ -434,9 +413,7 @@
- Rigctld + Rigctld Address
- -
-
-
- -
-
- My station -
-
- - - - - - - -
+
+
+
+ +
+
+ My station +
+
+
+
@@ -636,53 +609,49 @@
-
-
-
- -
-
- Updater -
-
-
-
- -
-
-
- - - -
- - - - - - - +
+
+
+ +
+
+ Updater +
+
+
+
+ +
+ +
+ +
- - +
- -
-
- - - - - - - -
+
+
+
+ +
+
+ Audio level +
+
+ + +
+
+
- - +
@@ -894,37 +856,30 @@
- -
-
-
- -
-
- Broadcasts -
-
- - - - - - - -
+
+
+
+ +
+
+ Broadcasts +
+
+
- - - +
@@ -1034,107 +989,100 @@
- -
-
-
-
- - - - - - -
-
- - -
+
+
+
+
+ + + + + +
- -
- - - - - - - +
+ +
+ +
+ +
- - - +
@@ -1160,37 +1108,33 @@
- -
-
-
- -
-
- Heard stations -
-
- - - - - - - -
+
+
+
+ +
+
+ Heard stations +
+
+
- - - +
@@ -1772,10 +1716,7 @@ aria-label="Close" >
- +
@@ -1797,14 +1738,11 @@ aria-label="Close" >
- +
- + - +
- + - +
- + - +
- + - +
- + - +
- + - +
- - - -
- - -
- +
+ + +
-
-