Icinga/icingaweb2

Wrong icons in the docs module

Opened this issue · 3 comments

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

  • Icinga Web 2 version and modules (System - About): 2.12.1
  • Web browser used: Chrome
  • PHP version used (php --version): 7.4.3-4ubuntu2.22
  • icinga-php-library: 0.13.2

are not working anymore

And this is where?

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.

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