From 1d7f62f6376e4b790ef1d5b367f0f5d93136ff10 Mon Sep 17 00:00:00 2001 From: andreas Date: Sun, 1 Oct 2023 12:58:45 +0200 Subject: [PATCH] some css and text tuning, cleanup old modes --- webinstall/build.yaml | 6 +++--- webinstall/cibuild.css | 3 +++ webinstall/cibuild.html | 5 ++--- webinstall/cibuild.js | 6 ------ 4 files changed, 8 insertions(+), 12 deletions(-) diff --git a/webinstall/build.yaml b/webinstall/build.yaml index 670046d..8c66ff8 100644 --- a/webinstall/build.yaml +++ b/webinstall/build.yaml @@ -20,13 +20,13 @@ types: - &m5groovei2c type: multi key: m5groovei2c - label: "M5 I2C groove units" + label: "M5 I2C Groove Units" values: - &m5groovecan type: select key: m5groovecan target: define - label: "M5 CAN Units" + label: "M5 Groove CAN Units" values: - label: "CAN Unit" url: "http://docs.m5stack.com/en/unit/can" @@ -34,7 +34,7 @@ types: value: M5_CANUNIT - &m5grooveserial type: select - label: "M5 Serial Unit" + label: "M5 Groove Serial Unit" target: define key: m5grooveserial values: diff --git a/webinstall/cibuild.css b/webinstall/cibuild.css index e1f0660..938946b 100644 --- a/webinstall/cibuild.css +++ b/webinstall/cibuild.css @@ -127,4 +127,7 @@ height: 0; /* display: flex; */ overflow: hidden; +} +.configui .label { + width: 10em; } \ No newline at end of file diff --git a/webinstall/cibuild.html b/webinstall/cibuild.html index 01475a7..7ec4565 100644 --- a/webinstall/cibuild.html +++ b/webinstall/cibuild.html @@ -19,12 +19,11 @@
Board type - +
Build Flags - +
diff --git a/webinstall/cibuild.js b/webinstall/cibuild.js index b27d308..067e294 100644 --- a/webinstall/cibuild.js +++ b/webinstall/cibuild.js @@ -156,11 +156,6 @@ import fileDownload from "https://cdn.skypack.dev/js-file-download@0.4.12" uploadConfig: uploadConfig, downloadConfig: downloadConfig }; - const environments=[ - 'm5stack-atom-generic', - 'm5stack-atoms3-generic', - 'nodemcu-generic' - ]; const loadConfig=async (url)=>{ let config=await fetch(url).then((r)=>r.text()); let parsed=yamlLoad(config); @@ -289,7 +284,6 @@ import fileDownload from "https://cdn.skypack.dev/js-file-download@0.4.12" setButtons(btConfig); forEachEl('#environment',(el)=>el.addEventListener('change',hideResults)); forEachEl('#buildflags',(el)=>el.addEventListener('change',hideResults)); - fillSelect('environment',environments); currentPipeline=window.localStorage.getItem(CURRENT_PIPELINE); if (currentPipeline){ setValue('pipeline',currentPipeline);