From 5bd3d8456b40ed0594b3d43d10d0795ccd4155f2 Mon Sep 17 00:00:00 2001 From: chouseknecht Date: Thu, 17 Oct 2013 03:46:59 +0000 Subject: [PATCH] AC-503 now that we can cloud, tree views need to handle long (really long) group names. This fixes the Hosts tree view. --- awx/ui/static/js/helpers/Hosts.js | 31 +++++++++++++------ awx/ui/static/js/helpers/inventory.js | 2 +- awx/ui/static/less/ansible-ui.less | 29 ++++++++++++----- awx/ui/static/lib/ansible/form-generator.js | 2 +- awx/ui/static/lib/jstree/jquery.jstree.js | 5 +-- .../lib/jstree/themes/ansible/style.css | 10 ++++-- 6 files changed, 56 insertions(+), 23 deletions(-) diff --git a/awx/ui/static/js/helpers/Hosts.js b/awx/ui/static/js/helpers/Hosts.js index b6c9190da9..c8e7bcc4a4 100644 --- a/awx/ui/static/js/helpers/Hosts.js +++ b/awx/ui/static/js/helpers/Hosts.js @@ -527,16 +527,17 @@ angular.module('HostsHelper', [ 'RestServices', 'Utilities', 'ListGenerator', 'H var sorted = SortNodes(tree_data); html += (sorted.length > 0) ? "