prometheus / alertmanager

Prometheus Alertmanager
https://prometheus.io
Apache License 2.0
6.69k stars 2.17k forks source link

UI navbar display issue and buttons #4087

Open MrCaffeen opened 4 weeks ago

MrCaffeen commented 4 weeks ago

When using the generateui.sh from the package on ubuntu, the system seems to not display the UI in the browser correctly.

I have come up with some small changes that would fix this up. the toggelable works on some depending on bootstrap version used. I think these changes come a display issue after bootstrap4 changes

Views.elm = change navbar-toggelable-md navbar-light bg-faded Views.elm = change navbar-expanded-sm navbar-dark bg-danger ( I like a red look to the menu ) but you could also do navbar-expanded-sm navbar-dark bg-secondary to keep it in line with current

Depending on the above the new silence button is sometimes incorrect colour as well. but maybe not after generation correclty.

Silence also has an issue with the buttons being in being btn-secondary and bg-faded, the text seems to come up dark as well. I think the fix for this is to either bg-light and btn-outline-secondary instead of the faded and let's it be readable.