Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong icons in the docs module #5225

Open
tbauriedel opened this issue Jun 12, 2024 · 3 comments
Open

Wrong icons in the docs module #5225

tbauriedel opened this issue Jun 12, 2024 · 3 comments

Comments

@tbauriedel
Copy link
Member

tbauriedel commented Jun 12, 2024

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
@nilmerg
Copy link
Member

nilmerg commented Jun 12, 2024

are not working anymore

And this is where?

@tbauriedel
Copy link
Member Author

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
Copy link
Member

nilmerg commented Jun 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants