Skip to content

Commit

Permalink
Fixed broken layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hieromon committed Jul 28, 2022
1 parent 8f60762 commit 3b33f08
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions examples/mqttRSSI/mqttRSSI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -82,15 +82,15 @@ static const char AUX_mqtt_setting[] PROGMEM = R"raw(
},
{
"name": "header",
"type": "ACText",
"value": "<h2>MQTT Broker settings</h2>",
"style": "text-align:center;color:#2f4f4f"
"type": "ACElement",
"value": "<h2 style='text-align:center;color:#2f4f4f;margin-top:10px;margin-bottom:10px'>MQTT Broker settings</h2>"
},
{
"name": "caption",
"type": "ACText",
"value": "Publish WiFi signal strength via MQTT, publishing the RSSI value of the ESP module to the ThingSpeak public channel.",
"style": "font-family:serif;color:#053d76"
"style": "font-family:serif;color:#053d76",
"posterior": "par"
},
{
"name": "mqttserver",
Expand Down
8 changes: 4 additions & 4 deletions examples/mqttRSSI_FS/data/mqtt_setting.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
},
{
"name": "header",
"type": "ACText",
"value": "<h2>MQTT Broker settings</h2>",
"style": "text-align:center;color:#2f4f4f"
"type": "ACElement",
"value": "<h2 style='text-align:center;color:#2f4f4f;margin-top:10px;margin-bottom:10px'>MQTT Broker settings</h2>"
},
{
"name": "caption",
"type": "ACText",
"value": "Publish WiFi signal strength via MQTT, publishing the RSSI value of the ESP module to the ThingSpeak public channel.",
"style": "font-family:serif;color:#053d76"
"style": "font-family:serif;color:#053d76",
"posterior": "par"
},
{
"name": "mqttserver",
Expand Down
4 changes: 2 additions & 2 deletions examples/mqttRSSI_NA/mqttRSSI_NA.ino
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const char* AUX_CLEAR_URI = "/mqtt_clear";

// Declare AutoConnectElements for the page asf /mqtt_setting
ACStyle(style, "label+input,label+select{position:sticky;left:140px;width:204px!important;box-sizing:border-box;}");
ACText(header, "<h2>MQTT Broker settings</h2>", "text-align:center;color:#2f4f4f");
ACText(caption, "Publish WiFi signal strength via MQTT, publishing the RSSI value of the ESP module to the ThingSpeak public channel.", "font-family:serif;color:#053d76");
ACElement(header, "<h2 style='text-align:center;color:#2f4f4f;margin-top:10px;margin-bottom:10px'>MQTT Broker settings</h2>");
ACText(caption, "Publish WiFi signal strength via MQTT, publishing the RSSI value of the ESP module to the ThingSpeak public channel.", "font-family:serif;color:#053d76", "", AC_Tag_P);
ACInput(mqttserver, "", "Server", "^(([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9]|[A-Za-z0-9][A-Za-z0-9\\-]*[A-Za-z0-9])$", "MQTT broker server");
ACInput(apikey, "", "Uer API Key");
ACInput(channelid, "", "Channel ID", "^[0-9]{6}$");
Expand Down

0 comments on commit 3b33f08

Please sign in to comment.