mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 14:42:18 +03:00
Start to make constructor
This commit is contained in:
1
data/conf.csv
Normal file
1
data/conf.csv
Normal file
@@ -0,0 +1 @@
|
||||
Удалить;Тип элемента;Id;Виджет;Имя вкладки;Имя виджета;Позиция виджета
|
||||
|
1
data/items/button-in.txt
Normal file
1
data/items/button-in.txt
Normal file
@@ -0,0 +1 @@
|
||||
0;button-in;switch1;toggle;Кнопки;Свет;1;pin[2];db[20]
|
||||
1
data/items/button-out-i.txt
Normal file
1
data/items/button-out-i.txt
Normal file
@@ -0,0 +1 @@
|
||||
0;button-out;light1;toggle;Кнопки;Свет;1;pin[12];inv[1];st[1]
|
||||
1
data/items/button-out.txt
Normal file
1
data/items/button-out.txt
Normal file
@@ -0,0 +1 @@
|
||||
0;button-out;light1;toggle;Кнопки;Свет;1;pin[12];st[0]
|
||||
1
data/items/pwm-out.txt
Normal file
1
data/items/pwm-out.txt
Normal file
@@ -0,0 +1 @@
|
||||
0;pwm-out;volume;range;Кнопки;Свет;1;pin[12];st[500]
|
||||
@@ -91,6 +91,7 @@
|
||||
"action": "/set?devinit",
|
||||
"class": "btn btn-block btn-default"
|
||||
},
|
||||
|
||||
{
|
||||
"type": "h2",
|
||||
"title": "Сценарии"
|
||||
|
||||
65
data/setn.device.json
Normal file
65
data/setn.device.json
Normal file
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"configs": [
|
||||
"/config.setup.json",
|
||||
"/config.option.json",
|
||||
"/config.live.json",
|
||||
"/lang/lang.ru.json"
|
||||
],
|
||||
"class": "col-sm-offset-1 col-sm-10",
|
||||
"content": [
|
||||
{
|
||||
"type": "h5",
|
||||
"title": "{{name}}",
|
||||
"class": "alert-default"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"title": "{{ButMainPage}}",
|
||||
"action": "/",
|
||||
"class": "btn btn-block btn-default"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "dropdown",
|
||||
"name": "help-url",
|
||||
"class": "btn btn-default",
|
||||
"style": "display:inline",
|
||||
"title": {
|
||||
"#": "Выберите элемент из списка<span class=\"caret\"></span>",
|
||||
"/set?element=button-out": "1.Кнопка управляющая пином",
|
||||
"/set?element=button-out-i": "2.Кнопка управляющая пином с инверсией",
|
||||
"/set?element=pwm-out": "3.Широтно импульсная подуляция",
|
||||
"/set?element=button-in": "4.Физическая кнопка"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "csv",
|
||||
"title": [
|
||||
"checkbox",
|
||||
"html",
|
||||
"text",
|
||||
"text",
|
||||
"text",
|
||||
"text",
|
||||
"text"
|
||||
],
|
||||
"state": "conf.csv",
|
||||
"style": "width:100%;",
|
||||
"class": "btn btn-block btn-default"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"title": "Удалить все",
|
||||
"action": "/set?cleanconf",
|
||||
"class": "btn btn-block btn-default"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user