add web socket and stepper control

This commit is contained in:
Dmitry Borisenko
2020-03-16 00:00:59 +01:00
parent e2f8aaf505
commit e1ef489706
22 changed files with 189 additions and 45 deletions

View File

@@ -3,6 +3,11 @@
"/config.live.json",
"/config.setup.json"
],
"socket": [
"ws://{{ip}}/ws"
],
"title": "Главная",
"class": "col-sm-offset-1 col-sm-10 col-md-offset-2 col-md-8 col-lg-offset-3 col-lg-6",
"content": [
@@ -31,6 +36,36 @@
"type": "h4",
"title": "SPIFFS version: 2.3"
},
{
"type": "hr"
},
{
"type": "h6",
"title": "{{test1}}"
},
{
"type": "h6",
"title": "{{test2}}"
},
{
"type": "h6",
"title": "{{test3}}"
},
{
"type": "h6",
"title": "{{test4}}"
},
{
"type": "h6",
"title": "{{test5}}"
},
{
"type": "h6",
"title": "{{test6}}"
},
{
"type": "hr"
},
{
"type": "link",
"title": "Конфигурация устройства",
@@ -64,7 +99,7 @@
{
"type":"h3",
"name":"my-block",
"style":"position:fixed;top:30%;left:50%;width:400px;margin-left:-200px;text-align:center;",
"style":"position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;",
"class":"hidden"
},
{