Browse Source

Hide web command inputbox if no terminal support

rfm69
Xose Pérez 6 years ago
parent
commit
5ab2fd2afc
4 changed files with 2402 additions and 2401 deletions
  1. BIN
      code/espurna/data/index.html.gz
  2. +2400
    -2400
      code/espurna/static/index.html.gz.h
  3. +1
    -0
      code/espurna/ws.ino
  4. +1
    -1
      code/html/index.html

BIN
code/espurna/data/index.html.gz View File


+ 2400
- 2400
code/espurna/static/index.html.gz.h
File diff suppressed because it is too large
View File


+ 1
- 0
code/espurna/ws.ino View File

@ -298,6 +298,7 @@ void _wsOnStart(JsonObject& root) {
root["btnDelay"] = getSetting("btnDelay", BUTTON_DBLCLICK_DELAY).toInt();
root["webPort"] = getSetting("webPort", WEB_PORT).toInt();
root["wsAuth"] = getSetting("wsAuth", WS_AUTHENTICATION).toInt() == 1;
root["cmdVisible"] = TERMINAL_SUPPORT;
}


+ 1
- 1
code/html/index.html View File

@ -992,7 +992,7 @@
<fieldset>
<div class="pure-g module module-telnet">
<div class="pure-g module module-cmd">
<div class="pure-u-1 hint">
Write a command and click send to execute it on the device. The output will be shown in the debug text area below.
</div>


Loading…
Cancel
Save