summaryrefslogtreecommitdiffstats
path: root/app/common/directives/log-event.html
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2017-10-06 13:53:06 -0700
committerEd Tanous <ed.tanous@intel.com>2017-11-06 16:25:49 -0800
commitbbcf670a1c8c7463556eb006bc8f6bbfe29af3e4 (patch)
tree484eb0804112a112f3a49af78c5112eb68ef0e4e /app/common/directives/log-event.html
parent2a4895547294a5c32eeb2302739f5ce80626520a (diff)
downloadphosphor-webui-bbcf670a1c8c7463556eb006bc8f6bbfe29af3e4.tar.gz
phosphor-webui-bbcf670a1c8c7463556eb006bc8f6bbfe29af3e4.zip
Modernize web GUI and make it installable on BMC
1. Move from gulp server to webpack. This allows the proper compression to allow the webui to be embedded in the BMC. 2. Update js paths to use requires, not hardcoded paths. This was required to make the packaging work correctly. 3. Add babel config to do translation. 4. Update angularjs directive calls to use the angular 1.6 syntax for promises intead of success and fail. https://docs.angularjs.org/guide/migration#migrate1.5to1.6-ng-services-$http 5. As a consequence of using NPM/webpack, the versions of angular and associated modules that were checked in have been updated. Change-Id: Icb71e2eedb0d9a8943fc914f9dc4be11d0983c00 Signed-off-by: Ed Tanous <ed.tanous@intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'app/common/directives/log-event.html')
-rw-r--r--app/common/directives/log-event.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/common/directives/log-event.html b/app/common/directives/log-event.html
index 350cc8d..970598d 100644
--- a/app/common/directives/log-event.html
+++ b/app/common/directives/log-event.html
@@ -41,7 +41,7 @@
<div>
<div class="event__actions">
<button class="btn-meta-copy" clipboard text="event.additional_data" on-copied="copySuccess(event)" on-error="copyfailed(err)">
- <img class="event__icon" src="assets/images/icon-copy.svg" alt=""/><span ng-if="!event.copied">Copy</span><span ng-if="event.copied">Copied</span>
+ <img class="event__icon" src="../../assets/images/icon-copy.svg" alt=""/><span ng-if="!event.copied">Copy</span><span ng-if="event.copied">Copied</span>
</button>
<button
class="btn-delete"
@@ -50,10 +50,10 @@
ng-disabled="multiSelected">
<img
class="event__icon"
- src="assets/images/icon-trashcan.svg"
+ src="../../assets/images/icon-trashcan.svg"
alt=""/>Delete
</button>
- <button class="btn-resolve" ng-class="{'disabled': (event.Resolved == 1 || multiSelected)}" ng-click="resolveEvent(event)" ng-disabled="event.Resolved == 1 || multiSelected"><img class="event__icon" src="assets/images/icon-check.svg" alt=""/>Mark as resolved</button>
+ <button class="btn-resolve" ng-class="{'disabled': (event.Resolved == 1 || multiSelected)}" ng-click="resolveEvent(event)" ng-disabled="event.Resolved == 1 || multiSelected"><img class="event__icon" src="../../assets/images/icon-check.svg" alt=""/>Mark as resolved</button>
</div>
<div class="event__related" ng-show="event.related_items.length">
<p class="inline event__related-label">Related items:</p>
@@ -62,4 +62,4 @@
</div>
</div>
</div>
-</div> \ No newline at end of file
+</div>
OpenPOWER on IntegriCloud