mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-30 11:59:12 +03:00
changes
This commit is contained in:
@@ -3,8 +3,8 @@
|
|||||||
"chipID": "",
|
"chipID": "",
|
||||||
"apssid": "IoTmanager",
|
"apssid": "IoTmanager",
|
||||||
"appass": "",
|
"appass": "",
|
||||||
"routerssid": "rise",
|
"routerssid": "VOLODYA",
|
||||||
"routerpass": "hostel3333",
|
"routerpass": "BELCHENKO",
|
||||||
"timezone": 2,
|
"timezone": 2,
|
||||||
"ntp": "pool.ntp.org",
|
"ntp": "pool.ntp.org",
|
||||||
"mqttServer": "91.204.228.124",
|
"mqttServer": "91.204.228.124",
|
||||||
|
|||||||
6
data/elements.json
Normal file
6
data/elements.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"id1": "id1",
|
||||||
|
"id2": "id2",
|
||||||
|
"id3": "id3",
|
||||||
|
"id4": "id4"
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -57,6 +57,13 @@
|
|||||||
"title": "Удалить все",
|
"title": "Удалить все",
|
||||||
"action": "/set?cleanconf",
|
"action": "/set?cleanconf",
|
||||||
"class": "btn btn-block btn-default"
|
"class": "btn btn-block btn-default"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "select",
|
||||||
|
"name": "id-arg",
|
||||||
|
"action": "/set?id=[[id-arg]]",
|
||||||
|
"state": "en",
|
||||||
|
"title": "elements.json"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -30,6 +30,8 @@ int getNewElementNumber(String file) {
|
|||||||
return number;
|
return number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void do_delElement() {
|
void do_delElement() {
|
||||||
if (delElementFlag) {
|
if (delElementFlag) {
|
||||||
delElementFlag = false;
|
delElementFlag = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user