mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
272
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
"teleginput":"0",
|
||||
"weblogin": "admin",
|
||||
"webpass": "admin",
|
||||
"snaUdp": "0",
|
||||
"snaMqtt": "0",
|
||||
"MqttIn": "0",
|
||||
"MqttOut": "0",
|
||||
"blink": "1",
|
||||
"oneWirePin": "2",
|
||||
"serverip": "http://206.189.49.244",
|
||||
|
||||
@@ -37,9 +37,19 @@
|
||||
"class": "btn btn-block btn-default"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "h3",
|
||||
"name": "reset-block",
|
||||
"style": "position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;",
|
||||
"class": "hidden"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/set?device=ok');}",
|
||||
"action": "/set?reqReset",
|
||||
"response": "[[reset-block]]",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
},
|
||||
{
|
||||
"type": "h4",
|
||||
"title": "Версия файловой системы: 271"
|
||||
"title": "Версия файловой системы: 272"
|
||||
},
|
||||
{
|
||||
"type": "h4",
|
||||
@@ -179,10 +179,20 @@
|
||||
},
|
||||
{
|
||||
"type": "checkbox",
|
||||
"name": "snaMqtt",
|
||||
"title": "Включить единые сценарии для всех устройств",
|
||||
"action": "/set?snaMqtt=[[snaMqtt]]",
|
||||
"state": "{{snaMqtt}}"
|
||||
"name": "MqttOut",
|
||||
"title": "Передавать события другим устройствам",
|
||||
"action": "/set?MqttOut=[[MqttOut]]",
|
||||
"state": "{{MqttOut}}"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "checkbox",
|
||||
"name": "MqttIn",
|
||||
"title": "Принимать события с других устройств",
|
||||
"action": "/set?MqttIn=[[MqttIn]]",
|
||||
"state": "{{MqttIn}}"
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
@@ -234,9 +244,16 @@
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"type": "h3",
|
||||
"name": "reset-block",
|
||||
"style": "position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;",
|
||||
"class": "hidden"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/set?device=ok');}",
|
||||
"action": "/set?reqReset",
|
||||
"response": "[[reset-block]]",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
"type": "h5",
|
||||
"title": "{{name}}",
|
||||
"class": "alert-default"
|
||||
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
@@ -20,7 +19,6 @@
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
|
||||
{
|
||||
"type": "h4",
|
||||
"title": "{{SetMQTTServerName}}",
|
||||
@@ -87,7 +85,6 @@
|
||||
"style": "position:fixed;top:30%;left:50%;width:400px;margin-left:-200px;text-align:center;",
|
||||
"class": "hidden"
|
||||
},
|
||||
|
||||
{
|
||||
"type": "button",
|
||||
"title": "{{ButSave}}",
|
||||
@@ -102,7 +99,6 @@
|
||||
"action": "set?mqttsend",
|
||||
"class": "btn btn-block btn-default"
|
||||
},
|
||||
|
||||
{
|
||||
"type": "button",
|
||||
"style": "width:100%;float:left;",
|
||||
@@ -115,7 +111,6 @@
|
||||
"type": "text",
|
||||
"style": "width:100%;float:left;",
|
||||
"title": "<div style='margin-top:10px;margin-bottom:10px;'><font color='black'><p style='border: 1px solid #DCDCDC; border-radius: 3px; background-color: #F5F5F5; padding: 10px;'>{{SetMQTTWarn1}}</p></font></div>"
|
||||
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
@@ -123,10 +118,19 @@
|
||||
"title": "<div style='margin-top:10px;margin-bottom:10px;'><font color='black'><p style='border: 1px solid #DCDCDC; border-radius: 3px; background-color: #F5F5F5; padding: 10px;'>{{SetMQTTWarn2}}</p></font></div>"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"style": "width:100%;float:left;",
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "h3",
|
||||
"name": "reset-block",
|
||||
"style": "position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;",
|
||||
"class": "hidden"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/restart?device=ok');}",
|
||||
"action": "/set?reqReset",
|
||||
"response": "[[reset-block]]",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
"name": "chatId-arg",
|
||||
"state": "{{chatId}}"
|
||||
},
|
||||
|
||||
{
|
||||
"type": "h4",
|
||||
"title": "Telegram API token"
|
||||
@@ -78,9 +77,16 @@
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"type": "h3",
|
||||
"name": "reset-block",
|
||||
"style": "position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;",
|
||||
"class": "hidden"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/set?device=ok');}",
|
||||
"action": "/set?reqReset",
|
||||
"response": "[[reset-block]]",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
|
||||
@@ -175,9 +175,16 @@
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "link",
|
||||
"type": "h3",
|
||||
"name": "reset-block",
|
||||
"style": "position:fixed;top:50%;left:50%;width:400px;margin-left:-200px;text-align:center;",
|
||||
"class": "hidden"
|
||||
},
|
||||
{
|
||||
"type": "button",
|
||||
"title": "Перезагрузить устройство",
|
||||
"action": "javascript:if(confirm(renameBlock(jsonResponse,'Перезагрузить?'))){send_request(this,'/set?device=ok');}",
|
||||
"action": "/set?reqReset",
|
||||
"response": "[[reset-block]]",
|
||||
"class": "btn btn-block btn-danger"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user