Fix icon-warning syntax error
There were a few instances of the icon-warning icon that didn't
include the file extenstion needed to when adding the file attribute
property in the icon directive.
Signed-off-by: Derick Montague <derick.montague@ibm.com>
Change-Id: Ib25c28c72285fa214f75258b0b09790d52bb6cc1
diff --git a/app/configuration/controllers/firmware-controller.html b/app/configuration/controllers/firmware-controller.html
index da2c397..d2ff89d 100644
--- a/app/configuration/controllers/firmware-controller.html
+++ b/app/configuration/controllers/firmware-controller.html
@@ -57,7 +57,7 @@
<div class="modal__tftp-unreachable" role="document">
<div class="screen-reader-offscreen modal-description">Update image priority</div><!-- accessibility only; used for screen readers -->
<div class="page-header ">
- <icon file="icon-warning" aria-hidden="true"></icon><span class="accessible-text" role="alert">Warning</span>
+ <icon file="icon-warning.svg" aria-hidden="true"></icon><span class="accessible-text" role="alert">Warning</span>
<h3 class="modal-title inline">Change image priority</h3>
</div>
<div class="modal__content">
@@ -74,7 +74,7 @@
<div class="modal__tftp-unreachable" role="document">
<div class="screen-reader-offscreen modal-description">Delete firmware image</div><!-- accessibility only; used for screen readers -->
<div class="page-header ">
- <icon file="icon-warning" aria-hidden="true"></icon><span class="accessible-text" role="alert">Warning</span>
+ <icon file="icon-warning.svg" aria-hidden="true"></icon><span class="accessible-text" role="alert">Warning</span>
<h3 class="modal-title inline">Delete image</h3>
</div>
<div class="modal__content">
diff --git a/app/configuration/controllers/network-controller.html b/app/configuration/controllers/network-controller.html
index 0ec143c..6b4e9dd 100644
--- a/app/configuration/controllers/network-controller.html
+++ b/app/configuration/controllers/network-controller.html
@@ -121,7 +121,7 @@
<div class="screen-reader-offscreen modal-description">Change network settings</div>
<!-- accessibility only; used for screen readers -->
<div class="page-header">
- <icon file="icon-warning" aria-hidden="true"></icon><span class="accessible-text" role="alert">Warning</span>
+ <icon file="icon-warning.svg" aria-hidden="true"></icon><span class="accessible-text" role="alert">Warning</span>
<h3 class="modal-title inline">Change network settings</h3>
</div>
<div class="modal__content">
diff --git a/app/server-control/controllers/power-operations-modal.html b/app/server-control/controllers/power-operations-modal.html
index 1d5387f..e8c9197 100644
--- a/app/server-control/controllers/power-operations-modal.html
+++ b/app/server-control/controllers/power-operations-modal.html
@@ -10,7 +10,7 @@
</button>
<div class="modal-header" id="modal-operation">
<h3>
- <icon file="icon-warning" aria-hidden="true"></icon>
+ <icon file="icon-warning.svg" aria-hidden="true"></icon>
{{
activeModal === 2 || activeModal === 3
? "Server shutdown will cause outage"
diff --git a/app/server-health/controllers/inventory-overview-controller.html b/app/server-health/controllers/inventory-overview-controller.html
index 5dc6f03..d9404a0 100644
--- a/app/server-health/controllers/inventory-overview-controller.html
+++ b/app/server-health/controllers/inventory-overview-controller.html
@@ -45,7 +45,7 @@
<div class="row column">
<h5 class="small-12 content-label">Subcomponents</h5>
<p ng-repeat="sub_component in inventory.sub_components" class="large-6 small-3 courier-bold" ng-if="sub_component.Present">
- <icon file="icon-warning" aria-hidden="true" ng-if="!sub_component.Functional"></icon>
+ <icon file="icon-warning.svg" aria-hidden="true" ng-if="!sub_component.Functional"></icon>
{{sub_component.title}}
</p>
</div>