mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 17:59:27 +02:00
button name on web site
This commit is contained in:
parent
f7f1427aef
commit
917f76fd47
1 changed files with 2 additions and 2 deletions
|
@ -870,14 +870,14 @@ String processor(const String& var) {
|
|||
" onclick=\""
|
||||
"if(confirm('This action will open contactors on the battery and stop all CAN communications. Are you "
|
||||
"sure?')) { estop(true); }\""
|
||||
">EQUIPMENT STOP</button><br/>";
|
||||
">Open Contactors</button><br/>";
|
||||
else
|
||||
content +=
|
||||
"<br/><br/><button style=\"background:green;color:white;cursor:pointer;\""
|
||||
"20px;font-size:16px;font-weight:bold;cursor:pointer;border-radius:5px; margin:10px;"
|
||||
" onclick=\""
|
||||
"if(confirm('This action will restore the battery state. Are you sure?')) { estop(false); }\""
|
||||
">RESUME FROM EQUIPMENT STOP</button><br/>";
|
||||
">Close Contactors</button><br/>";
|
||||
|
||||
content += "<script>";
|
||||
content += "function OTA() { window.location.href = '/update'; }";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue