mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-10 21:46:55 +03:00
Reduce height of the OTA page to make sure point 4 is not hidden by default.
This commit is contained in:
@@ -30,6 +30,7 @@ input[type=number] {
|
|||||||
|
|
||||||
<body style="font-family: arial; padding: 0px 10px;">
|
<body style="font-family: arial; padding: 0px 10px;">
|
||||||
<h3>It is strongly recommended to update firmware and content of /html directory on SD-card at the same time!</h3>
|
<h3>It is strongly recommended to update firmware and content of /html directory on SD-card at the same time!</h3>
|
||||||
|
<hr>
|
||||||
<h2>1. Firmware Update</h2>
|
<h2>1. Firmware Update</h2>
|
||||||
<table class="fixed" border="0">
|
<table class="fixed" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -42,6 +43,9 @@ input[type=number] {
|
|||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<input id="newfile" type="file" onchange="setpath()" style="width:100%;">
|
<input id="newfile" type="file" onchange="setpath()" style="width:100%;">
|
||||||
</td>
|
</td>
|
||||||
|
<td rowspan="2" style="padding-left:50px">
|
||||||
|
<button class="button" id="doUpdate" type="button" onclick="doUpdate()">Flash the firmware<br>(Takes about 60s)</button>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -57,22 +61,8 @@ input[type=number] {
|
|||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table border="0">
|
|
||||||
<tr>
|
|
||||||
<td style="width: 230px">
|
|
||||||
<button class="button" id="doUpdate" type="button" onclick="doUpdate()">Flash the firmware</button>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
(Takes about 60s)
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
|
<hr>
|
||||||
<h2>2. Update "/html" directory</h2>
|
<h2>2. Update "/html" directory</h2>
|
||||||
<table class="fixed" border="0">
|
<table class="fixed" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -85,6 +75,9 @@ input[type=number] {
|
|||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<input id="newfilehtml" type="file" onchange="setpathhtml()" style="width:100%;">
|
<input id="newfilehtml" type="file" onchange="setpathhtml()" style="width:100%;">
|
||||||
</td>
|
</td>
|
||||||
|
<td rowspan="2" style="padding-left:50px">
|
||||||
|
<button class="button" id="doUpdatehtml" type="button" onclick="doUpdatehtml()">Update "/html" directory</button>
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
@@ -100,20 +93,11 @@ input[type=number] {
|
|||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<button class="button" id="doUpdatehtml" type="button" onclick="doUpdatehtml()">Update "/html" directory</button>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
</table>
|
||||||
|
<hr>
|
||||||
<h2>3. Reboot</h2>
|
<h2>3. Reboot</h2>
|
||||||
<table class="fixed" border="0">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<button class="button" id="reboot" type="button" onclick="doReboot()">Reboot to activate updates</button>
|
<button class="button" id="reboot" type="button" onclick="doReboot()">Reboot to activate updates</button>
|
||||||
</td>
|
<hr>
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
<h2>4. Upload neural network definition (tfl/tflite file)</h2>
|
<h2>4. Upload neural network definition (tfl/tflite file)</h2>
|
||||||
<table class="fixed" border="0">
|
<table class="fixed" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
@@ -141,7 +125,8 @@ input[type=number] {
|
|||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
The file must be activated in the config.ini file.
|
The file must be activated!
|
||||||
|
Use the <a href="index_configure.html" target="_parent">Config Page</a> or do it manually in the config.ini file.
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user