Icinga / icingaweb2

A lightweight and extensible web interface to keep an eye on your environment. Analyse problems and act on them.
https://icinga.com/get-started/
GNU General Public License v2.0
809 stars 282 forks source link

Wrong icons in the docs module #5225

Open tbauriedel opened 5 months ago

tbauriedel commented 5 months ago

Some of the icons from /doc/style/font are not working anymore with using the recommended IPL. The list of icons should be updated to use the current possible icons from the ipl css source.

Expected behavior

Documentation should be correct.

Your Environment

Include as many relevant details about the environment you experienced the problem in

nilmerg commented 5 months ago

are not working anymore

And this is where?

tbauriedel commented 5 months ago

Inside of the icingaweb2 module or advanced official icinga modules itself i havent found a problem.
I figured that out while building custom modules for specific customer needs which are not covered by official modules.

Using \ipl\Web\Widget\Icon("user") for example works. But \ipl\Web\Widget\Icon("host") doenst match any fa-* classes inside of the css.
Using icons / classes from the fontawesome.css works.

I could be wrong, or I could be I tried to use the icons from the doc module in the wrong place. I think that only the list of icons in the documentation is outdated.

nilmerg commented 5 months ago

The documentation module only lists the legacy icons. It is not compatible with fontawesome. To see which fontawesome icons are available, one should look at: https://fontawesome.com/search?o=r&m=free