diff --git a/awx/ui/client/src/inventories-hosts/inventories/inventory.list.js b/awx/ui/client/src/inventories-hosts/inventories/inventory.list.js index 0ca86a2b3f..c075662883 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/inventory.list.js +++ b/awx/ui/client/src/inventories-hosts/inventories/inventory.list.js @@ -98,7 +98,7 @@ export default ['i18n', function(i18n) { ngClick: 'goToGraph(inventory)', awToolTip: i18n._('Network Visualization'), dataPlacement: 'top', - ngShow: '!inventory.pending_deletion && inventory.summary_fields.user_capabilities.edit' + ngShow: '!inventory.pending_deletion' }, edit: { label: i18n._('Edit'), diff --git a/awx/ui/client/src/inventories-hosts/inventories/list/inventory-list.controller.js b/awx/ui/client/src/inventories-hosts/inventories/list/inventory-list.controller.js index 7ca8d6933d..9f3ba01557 100644 --- a/awx/ui/client/src/inventories-hosts/inventories/list/inventory-list.controller.js +++ b/awx/ui/client/src/inventories-hosts/inventories/list/inventory-list.controller.js @@ -84,11 +84,9 @@ function InventoriesList($scope, }) .finally(() => Wait('stop')); }; - + $scope.goToGraph = function(inventory){ $state.go('inventories.edit.networking', {inventory_id: inventory.id, inventory_name: inventory.name}); - // let url = $state.href('inventories.edit.networking', {inventory_id: inventory.id, inventory_name: inventory.name}); - // window.open(url, '_blank'); }; $scope.editInventory = function (inventory) { diff --git a/awx/ui/client/src/network-ui/context_menu_button.partial.svg b/awx/ui/client/src/network-ui/context_menu_button.partial.svg index 270a6287ec..2c619cfb4d 100644 --- a/awx/ui/client/src/network-ui/context_menu_button.partial.svg +++ b/awx/ui/client/src/network-ui/context_menu_button.partial.svg @@ -5,7 +5,13 @@ ng-attr-width={{contextMenuButton.width-2}} ng-attr-height={{contextMenuButton.height}}> -{{contextMenuButton.name}} + + + + + + + - - - - - - - - - - - - - - - - - - {{item.name}} - {{item.name}}{{item.edit_label?'_':''}} - + + + + + + + + + + + + + {{item.name}} + + {{item.name}}{{item.edit_label?'_':''}} + + diff --git a/awx/ui/client/src/network-ui/inventory_toolbox.partial.svg b/awx/ui/client/src/network-ui/inventory_toolbox.partial.svg index 06e02a965d..7709b30228 100644 --- a/awx/ui/client/src/network-ui/inventory_toolbox.partial.svg +++ b/awx/ui/client/src/network-ui/inventory_toolbox.partial.svg @@ -1,21 +1,4 @@ - - - - - - - - - - - - Cancel + + Cancel Save Complete diff --git a/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.block.less b/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.block.less index 79b24118c7..9e340cccec 100644 --- a/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.block.less +++ b/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.block.less @@ -13,6 +13,7 @@ font-weight: normal; color: @default-link; cursor: pointer; + font-size: 12px; } .noselect { diff --git a/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.partial.html b/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.partial.html index 029ef8ee28..1ac026747e 100644 --- a/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.partial.html +++ b/awx/ui/client/src/network-ui/network-details/network-extra-vars/network-extra-vars.partial.html @@ -20,7 +20,7 @@ - Expand + EXPAND diff --git a/awx/ui/client/src/network-ui/network.ui.controller.js b/awx/ui/client/src/network-ui/network.ui.controller.js index f80ee71c27..7f5dd3103f 100644 --- a/awx/ui/client/src/network-ui/network.ui.controller.js +++ b/awx/ui/client/src/network-ui/network.ui.controller.js @@ -873,7 +873,7 @@ var NetworkUIController = function($scope, // Context Menu Buttons $scope.context_menu_buttons = [ new models.ContextMenuButton("Details", 236, 231, 160, 26, $scope.onDetailsContextButton, $scope), - new models.ContextMenuButton("Delete", 256, 231, 160, 26, $scope.onDeleteContextMenu, $scope) + new models.ContextMenuButton("Remove", 256, 231, 160, 26, $scope.onDeleteContextMenu, $scope) ]; // Context Menus diff --git a/awx/ui/client/src/network-ui/style.less b/awx/ui/client/src/network-ui/style.less index 154445a6ce..e390bd961c 100644 --- a/awx/ui/client/src/network-ui/style.less +++ b/awx/ui/client/src/network-ui/style.less @@ -128,18 +128,18 @@ .NetworkUI__router--selected { stroke: @selected-blue; - stroke-width: 4; + stroke-width: 10; fill:@light-background; } .NetworkUI__router--remote-selected { stroke: @selected-mango; - stroke-width: 4; + stroke-width: 10; } .NetworkUI__router--selected-conflict { stroke: @selected-red; - stroke-width: 4; + stroke-width: 10; } .NetworkUI__router-text { @@ -672,6 +672,18 @@ fill:@button-body-hover; } +.NetworkUI__contextMenuRemoveButtonText{ + fill: @red; + font-family: 'Open Sans'; + font-size: 14px; +} + +.NetworkUI__contextMenuRemoveButtonText-hover{ + fill: @red; + font-family: 'Open Sans'; + font-size: 14px; +} + .NetworkUI__test_results { fill: @light-background; stroke: @dark-widget-detail;