Commit e9c17f39 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Add gray background on disabled nodes; remove unnecessary tooltips

parent a4eff55d
......@@ -55,8 +55,6 @@ class GeoNodeStatus {
.addClass(unhealthyClass + ' ' + unhealthyIcon)
.attr('title', 'Unhealthy');
}
this.$icon.tooltip('fixTitle');
}
setHealthStatus(healthy) {
......
......@@ -17,6 +17,11 @@
&:hover {
background: $white-light;
}
&.node-disabled,
&.node-disabled:hover {
background-color: $gray-lightest;
}
}
}
......
......@@ -11,7 +11,7 @@ module EE
end
icon "#{icon} fw",
class: "js-geo-node-icon geo-node-#{status} has-tooltip",
class: "js-geo-node-icon geo-node-#{status}",
title: status.capitalize
end
end
......
......@@ -16,7 +16,7 @@
Geo nodes (#{@nodes.count})
%ul.well-list.geo-nodes
- @nodes.each do |node|
%li{ id: dom_id(node), class: ('js-geo-secondary-node' if node.secondary?), data: { status_url: status_admin_geo_node_path(node) } }
%li{ id: dom_id(node), class: ('js-geo-secondary-node' if node.secondary?; 'node-disabled' if node.enabled? == false), data: { status_url: status_admin_geo_node_path(node) } }
.node-block
= node_status_icon(node)
%strong= node.url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment