From 232b180eefbdb539d52e92c732437bc0ea93bf5e Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 3 Aug 2016 21:28:27 +1200 Subject: [PATCH 1/2] feat(events): add support for container exec related events (#100) --- app/shared/viewmodel.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/shared/viewmodel.js b/app/shared/viewmodel.js index 0b2cf6150..4e9939940 100644 --- a/app/shared/viewmodel.js +++ b/app/shared/viewmodel.js @@ -58,7 +58,13 @@ function createEventDetails(event) { details = 'Container ' + eventAttr.name + ' unpaused'; break; default: - details = 'Unsupported event'; + if (event.Action.indexOf('exec_create') === 0) { + details = 'Exec instance created'; + } else if (event.Action.indexOf('exec_start') === 0) { + details = 'Exec instance started'; + } else { + details = 'Unsupported event'; + } } break; case 'image': From edf485bbe45ced184584760352feb65d349988c7 Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 3 Aug 2016 21:45:35 +1200 Subject: [PATCH 2/2] style(dashboard): change the icon in the main widget --- app/components/dashboard/dashboard.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/dashboard/dashboard.html b/app/components/dashboard/dashboard.html index 61ba5f16e..4980a5c8b 100644 --- a/app/components/dashboard/dashboard.html +++ b/app/components/dashboard/dashboard.html @@ -8,7 +8,7 @@
- + @@ -35,7 +35,7 @@
- +