Files
IoTManager/data/setn.device.json

123 lines
3.4 KiB
JSON
Raw Normal View History

2020-08-04 02:21:20 +02:00
{
"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": [
"html",
"text",
"text",
"text",
"text",
"text"
],
"state": "conf.csv",
"style": "width:100%;",
2020-08-21 02:34:38 +03:00
"action": "/set?save",
2020-08-04 02:21:20 +02:00
"class": "btn btn-block btn-default"
},
{
"type": "link",
"title": "Удалить все",
"action": "/set?cleanconf",
"class": "btn btn-block btn-default"
2020-08-22 13:31:25 +03:00
},
2020-08-24 13:56:12 +03:00
{
"type": "hr"
},
{
"type": "h4",
"title": "Если",
"style": "width:25%;float:left;"
},
2020-08-22 13:31:25 +03:00
{
"type": "select",
"name": "id-arg",
"action": "/set?id=[[id-arg]]",
"state": "en",
2020-08-24 13:56:12 +03:00
"title": "items/elements.json",
"style": "width:25%;float:left"
},
{
"type": "select",
"name": "id-arg2",
"action": "/set?id=[[id-arg2]]",
"state": "en",
"title": "items/signs.json",
"style": "width:25%;float:left"
},
{
"type": "input",
"title": "",
"name": "fsi-arg",
"pattern": "",
"state": "{{fsi}}",
"style": "width:25%;float:left"
},
{
"type": "hr"
},
{
"type": "h4",
"title": "То",
"style": "width:25%;float:left;"
},
{
"type": "select",
"name": "id-arg3",
"action": "/set?id=[[id-arg3]]",
"state": "en",
"title": "items/elements.json",
"style": "width:25%;float:left"
},
{
"type": "h4",
"title": "=",
"style": "width:25%;float:left;"
},
{
"type": "input",
"title": "",
"name": "fsi-arg",
"pattern": "",
"state": "{{fsi}}",
"style": "width:25%;float:left"
2020-08-04 02:21:20 +02:00
}
]
}