OPNsense Forum

English Forums => 24.7, 24.10 Series => Topic started by: NorbertK on September 02, 2024, 10:50:52 AM

Title: I would like to make some Services invisible in dashboard
Post by: NorbertK on September 02, 2024, 10:50:52 AM
Hello all,
I would like to make some some services (which I do not use at the moment) invisible in the browser (I use librewolf/firefox) .
I presume some kind of CSS or browse hack is in order ....

Does anyone have a tip for me ?

Thanks a lot

Norbert
Title: Re: I would like to make some Services invisible in dashboard
Post by: Seimus on September 02, 2024, 10:54:49 AM
In the old GUI the Services widget did had a possibility to hide and show you wanted if I remember correctly.

Maybe with time it will be implemented to the new widget as well.

Regards,
S.
Title: Re: I would like to make some Services invisible in dashboard
Post by: miya on September 04, 2024, 04:19:16 AM
Apparently each service has its own CSS ID.
example: <div class="flextable-row" id="services_ntpd" ...
You can find the ID in Firefox DevTools.

It seems possible to hide the display by adding CSS to the corresponding ID using an extension such as Stylus.
example: #services_ntpd { display: none; }
Title: [SOLVED]Re: I would like to make some Services invisible in dashboard
Post by: NorbertK on January 30, 2025, 03:44:30 PM
Late, but ...

This works as user css
#Services > a[href="#Services_DHCRelay"]{
    display: none !important
}
#Services > a[href="#Services_CaptivePortal"]{
    display: none !important
}