From 7206c1ede118fa7712472bfa71de1858ab7fd4e7 Mon Sep 17 00:00:00 2001 From: Chris Houseknecht Date: Tue, 22 Jul 2014 14:06:16 -0400 Subject: [PATCH] Job detail page Added ellipsis to plays and tasks table columns. --- awx/ui/static/less/job-details.less | 17 +++++++++++++++++ awx/ui/static/partials/job_detail.html | 12 ++++++------ 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/awx/ui/static/less/job-details.less b/awx/ui/static/less/job-details.less index 157031af5b..b14a75d3d3 100644 --- a/awx/ui/static/less/job-details.less +++ b/awx/ui/static/less/job-details.less @@ -306,6 +306,23 @@ font-size: 12px; } + #plays-table-header table, + #plays-table-detail table, + #tasks-table-detail table, + #tasks-table-header table, + #tasks-table-detail table { + table-layout:fixed; + } + + #plays-table-detail td, + #plays-table-header td, + #tasks-table-detail td, + #tasks-table-header td { + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + } + #tasks-table-detail { height: 150px; } diff --git a/awx/ui/static/partials/job_detail.html b/awx/ui/static/partials/job_detail.html index 3d10cde60d..a31d7a4716 100644 --- a/awx/ui/static/partials/job_detail.html +++ b/awx/ui/static/partials/job_detail.html @@ -152,8 +152,8 @@ -
- +
+
@@ -166,7 +166,7 @@
-
Started
+
@@ -211,7 +211,7 @@
-
{{ play.created | date: 'HH:mm:ss' }}
+
@@ -225,7 +225,7 @@
-
Started
+
@@ -233,7 +233,7 @@ data-placement="top">{{ task.elapsed }} - +
{{ task.created | date: 'HH:mm:ss' }} {{ task.role }} {{ task.name }}{{ task.name }}