From e2d8f74823c7139ce1ccd0831876e361fcd6c419 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Sat, 3 Jan 2026 16:05:41 +0000 Subject: Adds motor control to frontend --- hsm-web/Client/src/App.vue | 5 ++- hsm-web/Client/src/MotorCtl.vue | 98 +++++++++++++++++++++++++++++++++-------- 2 files changed, 83 insertions(+), 20 deletions(-) (limited to 'hsm-web/Client') diff --git a/hsm-web/Client/src/App.vue b/hsm-web/Client/src/App.vue index a4c8338..4645034 100644 --- a/hsm-web/Client/src/App.vue +++ b/hsm-web/Client/src/App.vue @@ -54,7 +54,10 @@ button { padding: 0; } button:active { - background-color: #0a414b; + opacity: 0.5; +} +button:disabled { + opacity: 0.5; } input { background-color: transparent; diff --git a/hsm-web/Client/src/MotorCtl.vue b/hsm-web/Client/src/MotorCtl.vue index b1c53b2..d7d026e 100644 --- a/hsm-web/Client/src/MotorCtl.vue +++ b/hsm-web/Client/src/MotorCtl.vue @@ -4,27 +4,37 @@ - +
- +
- + - - + +
+ +
@@ -32,8 +42,12 @@ - - + +
+ +
@@ -41,28 +55,27 @@ - +
- - +
- -
- + +
- -
@@ -92,11 +135,28 @@ export default { height: 33%; width: 33%; } -#tmain td, #thist td { +#tmain td, #tcmd td { background-color: #2aa198; } .bmot { font-size: 16px; font-weight: bold; } +.bhigh { + background-color: #b58900; + color: #073642; +} +#tarm td:nth-child(1) { + width: 30%; +} +#arm { + background-color: #dc322f; +} +#dispatch { + background-color: #859900; +} +#arm, #dispatch { + color: #073642; + font-weight: bold; +} -- cgit v1.2.1