SPIFFS uploader

This commit is contained in:
Dmitry Borisenko
2020-02-10 23:37:12 +03:00
parent 88cc2764f8
commit 3a5a9e8312
4 changed files with 7 additions and 1 deletions

Binary file not shown.

BIN
ESP32FS.rar Normal file

Binary file not shown.

BIN
ESP8266FS.rar Normal file

Binary file not shown.

View File

@@ -57,12 +57,18 @@
}, },
{ {
"type": "button", "type": "button",
"title":"Сохранить и проверить соединение", "title":"Сохранить",
"action": "mqttSave?mqttServer=[[1]]&mqttPort=[[2]]&mqttUser=[[3]]&mqttPass=[[4]]", "action": "mqttSave?mqttServer=[[1]]&mqttPort=[[2]]&mqttUser=[[3]]&mqttPass=[[4]]",
"response":"[[my-block]]", "response":"[[my-block]]",
"class": "btn btn-block btn-success", "class": "btn btn-block btn-success",
"style": "width:100%;display:inline" "style": "width:100%;display:inline"
}, },
{
"type": "link",
"title": "Перезагрузить устройство",
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/restart?device=ok');}",
"class": "btn btn-block btn-warning"
},
{ {
"type": "link", "type": "link",
"title": "Главная", "title": "Главная",