diff --git a/index.htm b/index.htm index 208c2a8..558f30f 100644 --- a/index.htm +++ b/index.htm @@ -15,9 +15,8 @@
-
- Web Installer under maintenance - +
+

Web Installer under maintenance


The WLED web installer is currently out of service due to maintenance work and will be back online shortly.

In the meantime, you can use the webinstaller provided by Wladi: https://wled-install.github.io/
@@ -26,11 +25,30 @@

Welcome to the WLED web installer!

+ +
  1. Plug in your ESP to a USB port. We will install WLED 0.12.0 to it.
  2. -
  3. Hit "Install" and select the correct COM port. No device found?
  4. +
  5. Hit "Install" and select the correct COM port. + No device found? + +
  6. +
  7. Get WLED installed and connected in less than 3 minutes!


@@ -96,23 +114,17 @@

Welcome to the WLED web installer!

-
-
- - -
- -
-

Powered by ESP Web Tools
+
+
+ + +
+
+ +

Powered by ESP Web Tools
CORS proxy by Corsfix

GitHubkno.wled.ge - + diff --git a/script.js b/script.js index 7149255..06f857b 100644 --- a/script.js +++ b/script.js @@ -45,16 +45,14 @@ function handleCheckbox(manifest, checkboxmanifest, primaryCheckbox) { } function resetCheckboxes() { - document.getElementById('ethernet').checked = false; - document.getElementById('ethernet').disabled = false; - document.getElementById('audio').checked = false; - document.getElementById('audio').disabled = false; - document.getElementById('test').checked = false; - document.getElementById('test').disabled = false; - document.getElementById('v4').checked = false; - document.getElementById('v4').disabled = false; - document.getElementById('debug').checked = false; - document.getElementById('debug').disabled = false; + const checkBoxIds = ['ethernet', 'audio', 'test', 'v4', 'debug']; + checkBoxIds.forEach(id => { + const checkbox = document.getElementById(id); + if (checkbox) { + checkbox.checked = false; + checkbox.disabled = false; + } + }); } function checkSupported() { @@ -63,20 +61,11 @@ function checkSupported() { } function unsupported() { - document.getElementById('flasher').innerHTML = `Sorry, your browser is not yet supported!
- Please try on Desktop Chrome or Edge.
- Find binary files here:
- - - ` + document.getElementById('flasher').hidden = true; + document.getElementById('unsupported').hidden = false; } function showSerialHelp() { - document.getElementById('coms').innerHTML = `Hit "Install" and select the correct COM port.

- You might be missing the drivers for your board.
- Here are drivers for chips commonly used in ESP boards:
- CP2102 (square chip)
- CH34x (rectangular chip)

- Make sure your USB cable supports data transfer.

- `; + document.getElementById('showSerialHelp').hidden = true; + document.getElementById('serialHelp').hidden = false; }