12345678910111213141516171819202122232425262728293031 |
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" href="max80.css" />
- <title class="update">MAX80: Update</title>
- <script src="max80.js"></script>
- </head>
- <body>
- <script>inc("head.html")</script>
- <h1 class="update">Update</h1>
- <form id="upload" action="sys/fwupdate" enctype="multipart/form-data"
- method="post" onsubmit="uploadfile(event)">
- <fieldset class="firmware">
- <legend>Firmware</legend>
- <div>
- <label for="file">Select firmware file:</label>
- <input type="file" name="file" required
- onchange="enablebutton('upload.start',files.length==1)" />
- </div>
- <div>
- <button class="submit" type="submit" id="upload.start" disabled>Update firmware</button>
- </div>
- <div>
- <progress value="0"></progress>
- </div>
- <pre class="result hide"></pre>
- </fieldset>
- </form>
- <script>translate()</script>
- </body>
- </html>
|