web-install: Show download progress
Getting progress with the fetch() API is complicated and requires us to stream the data and create the blob ourselves, so use XMLHttpRequest instead to get live progress updates.
This commit is contained in:
@@ -163,7 +163,11 @@
|
||||
|
||||
<button id="download-release-button" disabled="disabled">Download release</button>
|
||||
|
||||
<p><strong id="download-release-status"></strong></p>
|
||||
<p id="download-release-status-container" hidden="hidden">
|
||||
<strong id="download-release-status"></strong>
|
||||
<br/>
|
||||
<progress id="download-release-progress" hidden="hidden" max="1" value="0"></progress>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section id="flashing-factory-images">
|
||||
|
||||
Reference in New Issue
Block a user