firmware wip - firmware updater form update

This commit is contained in:
Marcus 2024-06-16 01:12:36 +02:00
parent f5dc0b161a
commit 064db734d5
2 changed files with 3 additions and 3 deletions

View file

@ -505,10 +505,10 @@ const char HTMLgauge[] PROGMEM = R"EOF(
const char HTMLupdate[] PROGMEM = R"EOF(
<p>You find the latest CanGrow firmware version on the <a href='https://git.la10cy.net/DeltaLima/CanGrow/releases' target='_blank'>release page</a> of the git repository.</p>
<form method='POST' action='/system/applyUpdate' enctype='multipart/form-data'>
<form method='POST' action='/system/applyUpdate' enctype='multipart/form-data' onsubmit="document.getElementById('divUploading').style.display = '';">
<b>Select .bin file:</b><br>
<input type='file' accept='.bin,.bin.gz' name='firmware' required>
<input type='submit' value='Update Firmware' onclick="document.getElementById('divUploading').style.display = '';">
<input type='submit' value='Update Firmware'>
</form>
<div id='divUploading' style='display: none;' class='warnmsg'>&#x1F6DC; Uploading, please wait...<div>
)EOF";

View file

@ -1,5 +1,5 @@
/* CanGrow_Version.h gets generated from cangrow.sh */
const char* CanGrowVer = "0.1-dev";
const char* CanGrowBuild = "bacb48a";
const char* CanGrowBuild = "25bf84e";