Update loading spinner
Loader was updated with loading icon svg. Added inline style
for loading icon and added loader svg to status-icon directive.
Status icons will be used in file-upload component for firmware page update.
Signed-off-by: Dixsie Wolmers <dixsiew@gmail.com>
Change-Id: I15e6f9fa39a08fcc8cfe354f8ed4447aab6425a9
diff --git a/app/common/components/status-icon.js b/app/common/components/status-icon.js
index d756326..f7929c2 100644
--- a/app/common/components/status-icon.js
+++ b/app/common/components/status-icon.js
@@ -32,7 +32,13 @@
file="icon-critical.svg"
aria-hidden="true"
class="status-icon">
- </icon>`
+ </icon>
+ <icon ng-if="$ctrl.status === 'loading'"
+ file="icon-loader.svg"
+ aria-hidden="true"
+ class="icon__loader icon__loader-sm">
+ </icon>
+ `
/**
* Register statusIcon component