From 08e1f552d3696dc2714b10a909a6b4f737e0ae54 Mon Sep 17 00:00:00 2001 From: Michael Abashian Date: Fri, 9 Jun 2017 16:55:58 -0400 Subject: [PATCH] Remove the host link and hover on host filter modal list --- .../host-filter-modal/host-filter-modal.block.less | 5 +++++ .../host-filter-modal/host-filter-modal.directive.js | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.block.less diff --git a/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.block.less b/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.block.less new file mode 100644 index 0000000000..ff8683f2ca --- /dev/null +++ b/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.block.less @@ -0,0 +1,5 @@ +@import "../../../../shared/branding/colors.default.less"; + +.HostFilterModal-tableRow:hover { + background-color: @default-bg; +} diff --git a/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js b/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js index 897e4a50f7..4dca001997 100644 --- a/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js +++ b/awx/ui/client/src/inventories/smart-inventory/smart-inventory-host-filter/host-filter-modal/host-filter-modal.directive.js @@ -45,6 +45,9 @@ export default ['templateUrl', function(templateUrl) { delete hostList.fields.toggleHost; delete hostList.fields.active_failures; delete hostList.fields.inventory; + delete hostList.fields.name.ngClick; + hostList.fields.name.class += " HostFilterModal-tableRow"; + hostList.fields.name.noLink = true; hostList.well = false; let html = GenerateList.build({ list: hostList,