mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-15 07:25:13 +02:00
improved menu (seperators)
added second level for reboot if reboot from menu was selected by mistake
This commit is contained in:
parent
3764aa4ce1
commit
f721116987
10 changed files with 58 additions and 77 deletions
|
@ -250,12 +250,15 @@ void webApi::getMenu(JsonObject obj) {
|
|||
obj["link"][1] = "/serial";
|
||||
obj["name"][2] = "Setup";
|
||||
obj["link"][2] = "/setup";
|
||||
obj["name"][3] = "Update";
|
||||
obj["link"][3] = "/update";
|
||||
obj["name"][3] = "-";
|
||||
obj["name"][4] = "REST API";
|
||||
obj["link"][4] = "/api";
|
||||
obj["name"][5] = "Reboot";
|
||||
obj["link"][5] = "/reboot";
|
||||
obj["trgt"][4] = "_blank";
|
||||
obj["name"][5] = "-";
|
||||
obj["name"][6] = "Update";
|
||||
obj["link"][6] = "/update";
|
||||
obj["name"][7] = "Reboot";
|
||||
obj["link"][7] = "/reboot";
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue