sni / Thruk

Thruk is a multibackend monitoring webinterface for Naemon, Nagios, Icinga and Shinken using the Livestatus API.
http://www.thruk.org
Other
406 stars 147 forks source link

links in plugin output should stay underlined #1290

Closed klaernie closed 1 year ago

klaernie commented 1 year ago

Is your feature request related to a problem? Please describe. The CSS currently styles all links to be not decorated. For the UI of Thruk itself this makes perfect sense. But if a nagios plugin output contains links, these should still be decorated with the typical underline, else users will mistake the links for plain text.

Describe the solution you'd like

.col_plugin_output a,
.detail_plugin_output a {
    text-decoration: underline;
}

Describe alternatives you've considered Any other highlight would also work, since one might argue that clicking the link might be confusable with showing the long plugin output.

sni commented 1 year ago

i added some css, should be fine tomorrow. I also added the "links" filter, so you don't have to disable escape_html anymore just to add a link. see https://www.thruk.org/documentation/configuration.html#_short_link for some examples.