Commit f1186e22 authored by Stan Hu's avatar Stan Hu

Simplify frontend for "Advanced" dropdown in Geo Node list

parent 717ec812
......@@ -43,7 +43,6 @@ class GeoNodeStatus {
const currentlyActive = !closestStatus.hasClass('hide-status')
const togglerContainer = currentlyActive ? $('.toggler-inactive-container') : $('.toggler-active-container')
element.detach().appendTo(togglerContainer);
element.find('.fa').toggleClass('fa-angle-down').toggleClass('fa-angle-up');
closestStatus.toggleClass('hide-status');
}
......
......@@ -29,15 +29,14 @@
}
}
.js-advanced-geo-node-status-toggler {
.advanced-status-toggler {
color: $gl-link-color;
padding: 10px 0 0;
cursor: pointer;
position: relative;
z-index: 2;
display: inline-block;
& span:hover {
display: inline-block;
color: $gl-link-color;
text-decoration: underline;
}
......
......@@ -63,11 +63,6 @@
%strong.node-info.js-attachments-synced
%p
.advanced-geo-node-status-container
.toggler-inactive-container
.js-advanced-geo-node-status-toggler
%span Advanced
%i.fa.fa-angle-down
%p
.advanced-status.hide-status
%span.help-block
Database replication lag:
......@@ -78,7 +73,10 @@
%span.help-block
Last event ID processed by cursor:
%strong.node-info.js-last-cursor-event
.toggler-active-container
.advanced-status-toggler
.js-advanced-geo-node-status-toggler
%span Advanced
= icon('angle-down')
%p
.js-health
......
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