clean up recovery mode

This commit is contained in:
Christian Herzog
2019-09-22 21:36:38 +02:00
parent 09d07dc26b
commit fb000e56be
3 changed files with 11 additions and 13 deletions

View File

@@ -23,7 +23,7 @@
</head>
<body>
<ul class="nav nav-tabs">
<ul id="navbar" class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#tab-wifi">WiFi</a>
</li>
@@ -223,20 +223,17 @@
</table>
<h1>Reboot to recovery system to perform firmware upgrade</h1>
<div class="buttons">
<input type="button" id="recovery" class="btn btn-primary" value="Recovery" />
<input type="button" id="recovery" class="btn btn-warning" value="Recovery" />
</div>
</div>
<div id="otadiv">
<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();">
<span id="file_info"></span>
<input type="submit" id="update" disabled="" value="Upload">
</form>
<h1>Reboot system with new firmware</h1>
<div class="buttons">
<input type="button" id="reboot" class="btn btn-primary" value="Reboot" />
<input type="button" id="reboot" class="btn btn-warning" value="Reboot" />
</div>
</div>
</div>