From f85f0771cd0acaa44fe812f36d08af141e0e663a Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Thu, 4 Jul 2024 17:10:41 +0200 Subject: ogcp: show an indicator in each sidebar branch with live children Add visual indicator to the disclosure widget when its branch has any clients in live mode. Ease the search of systems in ogLive in need of being booted or turned off. Add id= to the HTML component containing the disclosure widget. Set the id to the value scope_type-scope_name for type='server' and scope_type-scope_id for the rest. Add the CSS class 'live-report' to the HTML components with live children. Assign the class field in the js function updateScopes. --- ogcp/static/css/soleta.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ogcp/static/css') diff --git a/ogcp/static/css/soleta.css b/ogcp/static/css/soleta.css index 87e9e98..7d5eb9e 100644 --- a/ogcp/static/css/soleta.css +++ b/ogcp/static/css/soleta.css @@ -81,6 +81,10 @@ a.nav-link:not(.collapsed):not(.disabled)[data-toggle="collapse"]::before { font-size: 0.7em; } +a.nav-link.live-report::before { + color: #ffc107; +} + .subhead-heading { margin-top: 1.5rem; margin-bottom: 1.5rem; -- cgit v1.2.3-18-g5258