diff options
| author | CamVan Nguyen <ctnguyen@us.ibm.com> | 2018-04-27 13:33:04 -0500 |
|---|---|---|
| committer | Gunnar Mills <gmills@us.ibm.com> | 2018-05-14 12:06:41 +0000 |
| commit | f97adb9f56ba9d2bdcdb903cee8b85b908426f75 (patch) | |
| tree | 95f9ddb4f3f1fc6de484c493b3a30f2333dbadc9 /app/configuration/controllers/firmware-controller.html | |
| parent | d0e044120454a5128ce68689343412947f29b638 (diff) | |
| download | phosphor-webui-f97adb9f56ba9d2bdcdb903cee8b85b908426f75.tar.gz phosphor-webui-f97adb9f56ba9d2bdcdb903cee8b85b908426f75.zip | |
Display success message after uploading image
Fix includes:
- Displaying an 'Upload complete' message and clearing the image's
file name if the upload succeeds.
- Displaying an error pop-up with reason for failure when the
upload fails.
Change-Id: Id9474b62ed62e1b40ffa018eb273abbf19be26ce
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 2e5bf25..4d3e2a3 100644 --- a/app/configuration/controllers/firmware-controller.html +++ b/app/configuration/controllers/firmware-controller.html @@ -27,6 +27,7 @@ </label> <input type="button" value="Upload firmware" class="inline button btn-primary float-right" ng-click="upload()"/> <div class="inline uploading" ng-show="uploading">Upload in progress...</div> + <p class="download_success" ng-show="upload_success" role="alert">{{file ? '' : 'Upload complete. Check image tables above.'}}</p> </div> <div class=" column firmware__upload-tftp"> <h3 class="h4 bold">Download image file from TFTP server</h3> |

