web interface constructor

This commit is contained in:
Dmitry Borisenko
2020-08-21 02:34:38 +03:00
parent e0d0e30e93
commit 0485feeabe
23 changed files with 760 additions and 28 deletions

View File

@@ -1 +1 @@
Удалить;Тип элемента;Id;Виджет;Имя вкладки;Имя виджета;Позиция виджета
Тип элемента;Id;Виджет;Имя вкладки;Имя виджета;Позиция виджета
1 Удалить Тип элемента Id Виджет Имя вкладки Имя виджета Позиция виджета

Binary file not shown.

Binary file not shown.

BIN
data/index.json.gz Normal file

Binary file not shown.

View File

@@ -1 +1 @@
0;button-in;switch1;toggle;Кнопки;Свет;1;pin[2];db[20]
button-in;id;toggle;Кнопки;Освещение;order;pin[2];db[20]

View File

@@ -1 +1 @@
0;button-out;light1;toggle;Кнопки;Свет;1;pin[12];inv[1];st[1]
button-out;id;toggle;Кнопки;Освещение;order;pin[12];inv[1];st[1]

View File

@@ -1 +1 @@
0;button-out;light1;toggle;Кнопки;Свет;1;pin[12];st[0]
button-out;id;toggle;Кнопки;Освещение;order;pin[12];st[0]

View File

@@ -1 +1 @@
0;pwm-out;volume;range;Кнопки;Свет;1;pin[12];st[500]
pwm-out;id;range;Ползунки;Яркость;order;pin[12];st[500]

Binary file not shown.

Binary file not shown.

View File

@@ -40,7 +40,6 @@
{
"type": "csv",
"title": [
"checkbox",
"html",
"text",
"text",
@@ -50,12 +49,9 @@
],
"state": "conf.csv",
"style": "width:100%;",
"action": "/set?delete",
"action": "/set?save",
"class": "btn btn-block btn-default"
},
{
"type": "hr"
},
{
"type": "link",
"title": "Удалить все",