<html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width, initial-scale=0.9"> <link rel="stylesheet" href="style.css"> <script type="text/javascript" src="function.js"></script> <title>ESP-NOW Water Leakage Sensor</title> </head> <body onload="load();"> <form class="box"> <h1>ESP-NOW Water Leakage Sensor </h1> <div class="wrapper"> <p class="text">Firmware:</p> <p class="text" id="version"></p> <input id="firmware" value="{{firmware}}" hidden /> </div> <div class="wrapper"> <p class="text">Sensor name:</p> <input id="deviceName" value="{{deviceName}}" placeholder="Name" autocomplete="off" label title="ESP-NOW device name (up to 150 characters)" /> </div> <div class="wrapper"> <p class="text">ESP-NOW network name:</p> <input id="espnowNetName" value="{{espnowNetName}}" placeholder="Name" autocomplete="off" label title="ESP-NOW network name (1 to 20 characters)" /> </div> <div class="wrapper"> <input class="btn" type="submit" value="Save" onclick="saveSetting(this);"> <input class="btn" type="submit" value="Restart" onclick="restart(this);"> </div> </form> </body> </html>