mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-06 19:46:54 +03:00
Enhance pages (#2075)
* enhance pages * . * . * . * . * . * . --------- Co-authored-by: CaCO3 <caco@ruinelli.ch>
This commit is contained in:
@@ -48,20 +48,32 @@ input[type=number] {
|
||||
|
||||
<table style="width:100%">
|
||||
<tr>
|
||||
<h3>Current Value:</h3><p>
|
||||
<div id="prevalue"></div>
|
||||
<h3>Set Value:</h3><p>
|
||||
Input (Format = 123.456):<p>
|
||||
Previous Value:
|
||||
<input type="number" id="myInput" name="myInput"
|
||||
pattern="[0-9]+([\.,][0-9]+)?" step="0.001"
|
||||
title="This should be a number with up to 4 decimal places.">
|
||||
<p></p>
|
||||
<button class="button" type="button" onclick="setprevalue()">Set Previous Value</button>
|
||||
<td>
|
||||
<h3>Current "Previous Value":</h3>
|
||||
</td>
|
||||
<td>
|
||||
<div id="prevalue"></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<h3>New "Previous Value":<br>(Format = 123.456)</h3><p> </p>
|
||||
</td>
|
||||
<td>
|
||||
<input type="number" id="myInput" name="myInput"
|
||||
pattern="[0-9]+([\.,][0-9]+)?" step="0.001"
|
||||
title="This should be a number with up to 4 decimal places.">
|
||||
<button class="button" type="button" onclick="setprevalue()">Set Previous Value</button>
|
||||
<p>(The current "Raw Value" got entered as the suggested new "Previous Value")</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<h3>Result:</h3><p>
|
||||
<div id="result" readonly></div>
|
||||
<td>
|
||||
<h3>Result:</h3>
|
||||
</td>
|
||||
<td>
|
||||
<div id="result" readonly></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user