fellinga / node-red-contrib-ui-time-scheduler

Easily power on/off any kind of device based on a schedule that you can easily create at the node-red-dashboard frontend.
MIT License
37 stars 17 forks source link

wrong icons #76

Closed przemekacx closed 2 years ago

przemekacx commented 2 years ago

Hi, I have "fa icons 4.7" installed and they work for other flows, but they are not visible in UI Scheduler, what could be wrong? image image For other flows it is OK: image

fellinga commented 2 years ago

Hi @przemekacx,

without having a deeper look at it could you tell me how you installed the icons?

przemekacx commented 2 years ago

I used this manual: Paul-Reed and it is working as it was expected. I use also this icons for dynamically changing buttons with code in payload, so all of them should be visible. Can I present or check something?

fellinga commented 2 years ago

The ui time scheduler uses standard angular material icons, like this: <md-icon> filter_alt </md-icon>

so there is not much that I can do or change.

References: https://material.angularjs.org/1.2.5/api/directive/mdIcon https://fonts.google.com/icons?selected=Material+Icons

The link to Paul's project explicitly says: "DO NOT USE - SEE WEATHER-ICONS-LITE WHICH IS MERGED INTO NODE-RED CORE". If it was merged into node-red then these icons should work out of the box already, can you undo the changes and see if these icons still work?

przemekacx commented 2 years ago

OK, thanks, I will check this. BTW I have implemented it some time ago so at that time Lite version was not implemented into Node Red.

edit: problem solved, it was FF setting: image Marked option has to be checked to allow web page use icons stored in font file.

fellinga commented 2 years ago

Good to hear, thanks for letting me know. I am going to close this issue, let me know if you need anything else!