UI cleanup

This commit is contained in:
Christian Herzog
2019-09-16 21:39:04 +02:00
parent b4d1134ad3
commit 15cd5e1724

View File

@@ -237,11 +237,14 @@ function handleClick(cb) {
<header><h1>Firmware upgrade</h1></header>
<form name="multipart" action="otaform" method="post" enctype="multipart/form-data" onsubmit="do_upload(this); return false;">
<progress id="progr" value="0" max="100" >Upload Progress</progress>
<input type="file" name="ota" id="ota" size="20" accept=".bin" onchange="file_change();" style="font-size: 12pt">
<span id="file_info" style="font-size:12pt;"></span>
<input type="submit" id="update" disabled="" value="upload">
<input type="submit" id="factory" disabled="" value="factory">
<input type="file" name="ota" id="ota" size="20" accept=".bin" onchange="file_change();">
<span id="file_info"></span>
<input type="submit" id="update" disabled="" value="Upload">
</form>
<h2>Reboot system with new firmware</h2>
<div class="buttons">
<input type="button" id="reboot" value="Reboot" onclick='handleClick(this);' />
</div>
</div>
<div id="wifi">