From 20daa19ea52f4e24e42c9fca63d7879c89f4b802 Mon Sep 17 00:00:00 2001 From: leo-ard Date: Thu, 1 Aug 2024 12:02:19 -0400 Subject: [PATCH] Test bluefy --- bluefy.html | 13 +++++++++++++ bluefy.js | 15 +++++++++++++++ calibrate/script.js | 2 -- calibrate/style.css | 7 ------- 4 files changed, 28 insertions(+), 9 deletions(-) create mode 100644 bluefy.html create mode 100644 bluefy.js diff --git a/bluefy.html b/bluefy.html new file mode 100644 index 0000000..4e2fa21 --- /dev/null +++ b/bluefy.html @@ -0,0 +1,13 @@ + + + Test + + + + + + +
+ + + diff --git a/bluefy.js b/bluefy.js new file mode 100644 index 0000000..552c6de --- /dev/null +++ b/bluefy.js @@ -0,0 +1,15 @@ + + +function onload(){ + //document.getElementById('test'); + console.log("hey") + + let test = document.getElementById('test'); + + let checkbox = document.createElement('input'); + checkbox.type = 'checkbox'; + + test.appendChild(checkbox); + + +} diff --git a/calibrate/script.js b/calibrate/script.js index 6ef605f..ca1a3cc 100644 --- a/calibrate/script.js +++ b/calibrate/script.js @@ -209,8 +209,6 @@ function ui_setup_accel_calibration_menu(){ let direction = sign + raw_direction; // Checkbox let checkbox = document.createElement('input'); - checkbox.classList.add('ui_calibration_checkbox'); - checkbox.classList.add('ui_accel_checkbox'); checkbox.classList.add('ui_accel_checkbox_' + direction) checkbox.type = 'checkbox'; //checkbox.innerText = "set"; diff --git a/calibrate/style.css b/calibrate/style.css index d30d3d9..12c6748 100644 --- a/calibrate/style.css +++ b/calibrate/style.css @@ -17,7 +17,6 @@ body { } .ui_calibration_checkbox{ - max-height: 50px; } .ui_submenu{ @@ -117,12 +116,6 @@ body { text-align: center; } -.ui_calibration_menu_row > input { - height: 100%; - padding: 0; - margin: 0; -} - .ui_bottom_bar { max-width: 1000px; flex:1;