diff options
| author | Dixsie Wolmers <dixsiew@gmail.com> | 2019-11-19 15:24:00 -0600 |
|---|---|---|
| committer | Dixsie Wolmers <dixsiew@gmail.com> | 2019-11-27 09:00:08 -0600 |
| commit | 5fcee5ab526d678c9f39763cc90f600c2869df5d (patch) | |
| tree | 82e8135cfca181166be7bb39ad03b2b34223b62e /app/access-control/controllers | |
| parent | d4a5d6f43c6e19bd89b4debfaf8019a118728911 (diff) | |
| download | phosphor-webui-5fcee5ab526d678c9f39763cc90f600c2869df5d.tar.gz phosphor-webui-5fcee5ab526d678c9f39763cc90f600c2869df5d.zip | |
Add file upload component
Created reusuable file upload component to be used on updated firmware page.
Component can:
-Upload file
-Display status icon
-Clear upload field
Made minor style change to file upload on certificate management.
Tested in GUI.
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com>
Change-Id: I09bf56eee4d670681ea5e95c1807f8177c0e4c08
Diffstat (limited to 'app/access-control/controllers')
| -rw-r--r-- | app/access-control/controllers/certificate-modal-add-cert.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/access-control/controllers/certificate-modal-add-cert.html b/app/access-control/controllers/certificate-modal-add-cert.html index 208bf1b..c4c3c2d 100644 --- a/app/access-control/controllers/certificate-modal-add-cert.html +++ b/app/access-control/controllers/certificate-modal-add-cert.html @@ -53,9 +53,9 @@ type="file" file="newCertificate.file" class="file-upload-input"/> - <div class="form__field file-upload-container"> - <span ng-hide="newCertificate.file">No file selected</span> - <span>{{ newCertificate.file.name }}</span> + <div class="file-upload-container"> + <span class="file-filename" ng-hide="newCertificate.file">No file selected</span> + <span class="file-filename">{{ newCertificate.file.name }}</span> <button type="reset" class="btn file-upload-reset" |

