From b46db98b5a1cd7e10ad1fc70ad63c0aaa801909f Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 10 Jul 2019 11:42:33 -0400 Subject: [PATCH] Removes some unused classes. Fix host desc ellipsis and responsiveness. Add desc to group hosts --- .../src/inventories-hosts/hosts/host.list.js | 1 - .../hosts/hosts.partial.html | 28 ++++++++++--------- .../groups/hosts-related-groups.list.js | 1 - .../inventories/related/groups/groups.list.js | 1 - .../nested-groups/group-nested-groups.list.js | 1 - .../nested-hosts/group-nested-hosts.list.js | 16 ++++++++--- .../related/hosts/related-host.list.js | 8 ++++-- .../nested-groups/host-nested-groups.list.js | 1 - .../related/sources/sources.list.js | 1 - .../list-generator/list-generator.factory.js | 2 +- 10 files changed, 34 insertions(+), 26 deletions(-) diff --git a/awx/ui/client/src/inventories-hosts/hosts/host.list.js b/awx/ui/client/src/inventories-hosts/hosts/host.list.js index 9ca7a4114a..fbc4ea48ad 100644 --- a/awx/ui/client/src/inventories-hosts/hosts/host.list.js +++ b/awx/ui/client/src/inventories-hosts/hosts/host.list.js @@ -71,7 +71,6 @@ export default ['i18n', function(i18n) { columnClass: 'col-sm-4', dataHostId: "{{ host.id }}", dataType: "host", - class: 'InventoryManage-breakWord' }, inventory: { label: i18n._('Inventory'), diff --git a/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html b/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html index 18b1c1449b..9d0058458c 100644 --- a/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html +++ b/awx/ui/client/src/inventories-hosts/hosts/hosts.partial.html @@ -43,9 +43,9 @@
-
-
-
+
+
+
Actions
@@ -64,21 +64,23 @@ -
-
+
+ -
- {{host.description }} -
-
-
- {{host.inventory_name}} +
+
+ {{ host.description }}
-
+ +
`; } - innerTable += `
`; + innerTable += `
`; if (list.index) { innerTable += "
{{ $index + ((" + list.iterator + "_page - 1) * " + list.iterator + "_page_size) + 1 }}.
\n";