Browse Source

UI cleanup

Christian Herzog 5 years ago
parent
commit
15cd5e1724
1 changed files with 7 additions and 4 deletions
  1. 7 4
      components/wifi-manager/index.html

+ 7 - 4
components/wifi-manager/index.html

@@ -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">