From ba628893d19b7da4fe433062a91c9f7a17184e3e Mon Sep 17 00:00:00 2001 From: jaredevantabor Date: Fri, 3 Mar 2017 18:27:40 -0800 Subject: [PATCH] styling to support long job titles on job results' stdout panel --- .../src/job-results/job-results.block.less | 18 +++ .../src/job-results/job-results.partial.html | 131 +++++++++--------- 2 files changed, 84 insertions(+), 65 deletions(-) diff --git a/awx/ui/client/src/job-results/job-results.block.less b/awx/ui/client/src/job-results/job-results.block.less index 33a449c67f..f9d0718b10 100644 --- a/awx/ui/client/src/job-results/job-results.block.less +++ b/awx/ui/client/src/job-results/job-results.block.less @@ -161,6 +161,24 @@ flex-direction: column; } +.JobResults-panelRightTitle{ + flex-wrap: wrap; +} + +.JobResults-panelRightTitleText{ + word-wrap: break-word; + word-break: break-all; + max-width: 100%; +} + +.JobResults-badgeAndActionRow{ + display:flex; + flex: 1 0 auto; + justify-content: flex-end; + flex-wrap: wrap; + max-width: 100%; +} + .StandardOut-panelHeader { flex: initial; } diff --git a/awx/ui/client/src/job-results/job-results.partial.html b/awx/ui/client/src/job-results/job-results.partial.html index e48174311d..c1c9211209 100644 --- a/awx/ui/client/src/job-results/job-results.partial.html +++ b/awx/ui/client/src/job-results/job-results.partial.html @@ -431,8 +431,8 @@
-
-
+
+
{{ job.name }}
+
+ +
+ +
+ Plays +
+ + {{ playCount || 0}} + - -
- -
- Plays + +
+ Tasks +
+ + {{ taskCount || 0}} + + + +
+ Hosts +
+ + {{ hostCount || 0}} + + + + + + + +
+ Elapsed +
+ + {{ job.elapsed * 1000 | duration: "hh:mm:ss" }} +
- - {{ playCount || 0}} - - -
- Tasks -
- - {{ taskCount || 0}} - + +
- -
- Hosts -
- - {{ hostCount || 0}} - - - - - - - -
- Elapsed -
- - {{ job.elapsed * 1000 | duration: "hh:mm:ss" }} - -
- - -