diff options
| author | CamVan Nguyen <ctnguyen@us.ibm.com> | 2018-04-20 21:33:01 -0500 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2018-05-13 10:23:33 +0000 |
| commit | 58301ec8b6c533d28863f03d96f0c3006f4cfa38 (patch) | |
| tree | 6d9417cd4be287abb02fd0a106922b4707ea73af /app/configuration/controllers/firmware-controller.html | |
| parent | 1bc2bfb28e1fb33f668421ed4e89370bd374d362 (diff) | |
| download | phosphor-webui-58301ec8b6c533d28863f03d96f0c3006f4cfa38.tar.gz phosphor-webui-58301ec8b6c533d28863f03d96f0c3006f4cfa38.zip | |
Refresh the firmware page after downloading image
Fix includes
- Polling the number of software objects for a new image. During
which time the 'Downloading in progress' status bar will be
displayed. A 2-minute timeout is used.
- Displaying a 'Download complete' message if the download succeeds
and refreshing the firmware page to show the new image once it is
downloaded.
- Displaying an error pop-up with reason for failure when the
download fails.
Resolves openbmc/openbmc#3054
Change-Id: I79a8b8c661c01474a12cef4af524cafdc2cee1fe
Signed-off-by: CamVan Nguyen <ctnguyen@us.ibm.com>
Diffstat (limited to 'app/configuration/controllers/firmware-controller.html')
| -rw-r--r-- | app/configuration/controllers/firmware-controller.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/configuration/controllers/firmware-controller.html b/app/configuration/controllers/firmware-controller.html index c30b4d2..2e5bf25 100644 --- a/app/configuration/controllers/firmware-controller.html +++ b/app/configuration/controllers/firmware-controller.html @@ -47,6 +47,7 @@ </div> <div class="inline uploading" ng-show="downloading">Downloading in progress...</div> <p class="download_error error-msg" ng-show="download_error_msg" role="alert">{{download_error_msg}}</p> + <p class="download_success" ng-show="download_success" role="alert">Download complete. Check image tables above.</p> </fieldset> </div> </form> |

