From 96952e78419b8d4556200f7f01ed7060436ee9e4 Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Tue, 15 Nov 2016 16:39:50 -0800 Subject: [PATCH] Fixing up host event modal Moving the details up from a nav pane and into the main body of hte modal. --- .../host-event/host-event.block.less | 10 ++-- .../host-event-details.partial.html | 46 ------------------- .../host-event/host-event-modal.partial.html | 31 +++++++++++-- .../host-event/host-event.block.less | 6 ++- .../host-event/host-event.controller.js | 28 ++--------- .../host-event/host-event.route.js | 11 +---- .../client/src/job-results/host-event/main.js | 3 +- .../src/job-results/parse-stdout.service.js | 35 +++++++++++++- 8 files changed, 75 insertions(+), 95 deletions(-) delete mode 100644 awx/ui/client/src/job-results/host-event/host-event-details.partial.html diff --git a/awx/ui/client/src/job-detail/host-event/host-event.block.less b/awx/ui/client/src/job-detail/host-event/host-event.block.less index fc84890856..eafa9678fd 100644 --- a/awx/ui/client/src/job-detail/host-event/host-event.block.less +++ b/awx/ui/client/src/job-detail/host-event/host-event.block.less @@ -101,11 +101,11 @@ font-weight: 600; margin-bottom: 8px; } -.HostEvent .modal-body{ - max-height: 500px; - overflow-y: auto; - padding: 20px; -} +// .HostEvent .modal-body{ +// max-height: 500px; +// overflow-y: auto; +// padding: 20px; +// } .HostEvent-nav{ padding-top: 12px; padding-bottom: 12px; diff --git a/awx/ui/client/src/job-results/host-event/host-event-details.partial.html b/awx/ui/client/src/job-results/host-event/host-event-details.partial.html deleted file mode 100644 index 60cd44a9b7..0000000000 --- a/awx/ui/client/src/job-results/host-event/host-event-details.partial.html +++ /dev/null @@ -1,46 +0,0 @@ -
-
EVENT
- -
- STATUS - - - - - {{processEventStatus(event).status || "No result found"}} - -
-
- ID - {{event.id || "No result found"}} -
-
- CREATED - {{event.created || "No result found"}} -
-
- PLAY - {{event.play || "No result found"}} -
-
- TASK - {{event.task || "No result found"}} -
-
- MODULE - {{event.event_data.res.invocation.module_name || "No result found"}} -
-
-
-
RESULTS
- -
- {{key}} - {{value}} -
-
- diff --git a/awx/ui/client/src/job-results/host-event/host-event-modal.partial.html b/awx/ui/client/src/job-results/host-event/host-event-modal.partial.html index db236894e8..7f5b750eaa 100644 --- a/awx/ui/client/src/job-results/host-event/host-event-modal.partial.html +++ b/awx/ui/client/src/job-results/host-event/host-event-modal.partial.html @@ -4,15 +4,39 @@