Support the Config New with static IP

pull/137/head
Hieromon Ikasamo 5 years ago
parent 7b8879ee1e
commit 6b9564145a
  1. 2
      src/AutoConnectPage.cpp
  2. 2
      src/AutoConnectUpdatePage.h

@ -38,7 +38,7 @@ const char AutoConnect::_CSS_BASE[] PROGMEM = {
".base-panel{" ".base-panel{"
"margin:0 22px 0 22px" "margin:0 22px 0 22px"
"}" "}"
".base-panel * label{" ".base-panel * label :not(.bins){"
"display:inline-block;" "display:inline-block;"
"width:3.0em;" "width:3.0em;"
"text-align:right" "text-align:right"

@ -14,7 +14,7 @@
// Define the AUTOCONNECT_URI_UPDATE page to select the sketch binary // Define the AUTOCONNECT_URI_UPDATE page to select the sketch binary
// for update and order update execution. // for update and order update execution.
const AutoConnectUpdateAct::ACElementProp_t AutoConnectUpdateAct::_elmCatalog[] PROGMEM = { const AutoConnectUpdateAct::ACElementProp_t AutoConnectUpdateAct::_elmCatalog[] PROGMEM = {
{ AC_Element, "binSty", "<style type=\"text/css\">.bins{display:grid;font-size:14px;grid-gap:10px 0;grid-template-columns:1em repeat(4,max-content);overflow-x:auto}.bins input[type=radio]{-moz-appearance:radio;-webkit-appearance:radio;margin:0;vertical-align:middle}.noorder .bins label,span{margin:0 .5em 0 .5em;padding:0;text-align:left}</style>", nullptr }, { AC_Element, "binSty", "<style type=\"text/css\">.bins{display:grid;font-size:14px;grid-gap:10px 0;grid-template-columns:1em repeat(4,max-content);overflow-x:auto}.bins input[type=radio]{-moz-appearance:radio;-webkit-appearance:radio;margin:0;vertical-align:middle}.noorder .bins label,.bins span{margin:0 .5em 0 .5em;padding:0;text-align:left}</style>", nullptr },
{ AC_Text, "caption", nullptr, nullptr }, { AC_Text, "caption", nullptr, nullptr },
{ AC_Element, "c1", "<div class=\"bins\">", nullptr }, { AC_Element, "c1", "<div class=\"bins\">", nullptr },
{ AC_Radio, "firmwares", nullptr, nullptr }, { AC_Radio, "firmwares", nullptr, nullptr },

Loading…
Cancel
Save