show build version in html

This commit is contained in:
2024-03-02 14:01:48 +01:00
7 changed files with 70 additions and 12 deletions

View File

@@ -1,6 +1,13 @@
<html>
<body>
<h2>Current Firmware</h2>
<div>
<div id="firmware_buildtime">Buildtime loading</div>
<div id="firmware_githash">Build githash loading</div>
</div>
<h2>firmeware OTA v3</h2>
<form id="upload_form" method="post">
<input type="file" name="file1" id="file1"><br>
<progress id="progressBar" value="0" max="100" style="width:300px;"></progress>
@@ -9,6 +16,8 @@
<p id="loaded_n_total"></p>
</form>
<h2>config</h2>
<div id="configform">
@@ -82,4 +91,4 @@
<script src="bundle.js"></script>
</body>
</html>
</html>