webmin / authentic-theme

Official theme for the best server management panel of the 21st Century
https://authentic-theme.com
MIT License
951 stars 163 forks source link

Theme: Custom favorites icon #1304

Closed SylvainLegrand closed 5 years ago

SylvainLegrand commented 5 years ago

Hi,

thank's for your hard work.

I'm trying to change the favorites icon in the JSON file, but it seems like nothing works except "webmin".

Is it normal behavior, or something I miss?

Greetings, Sylvain Legrand.

iliajie commented 5 years ago

Sylvain, good day!

To do so, as an icon name use:

x fa-user-md

You can replace fa-user-md with any classname from the icons inventory.

SylvainLegrand commented 5 years ago

Hi,

Thank's for your answer. But I already try this.

If I write : { "link": "/filemin/index.cgi?path=/home/infras", "title": "InfraS home", "icon": "webmin"}, it works.

If I change "webmin" by "fa-hdd-o" for instance, I had no icon at all as a result. { "link": "/filemin/index.cgi?path=/home/infras", "title": "InfraS home", "icon": "fa-hdd-o"},

I'm tryed also "hdd-o" or "hdd" alone, nothing works.

Greetings

iliajie commented 5 years ago

Replace fa-hdd-o with x fa-hdd-o and it will work.

SylvainLegrand commented 5 years ago

Thank's so much !

It works well !

Have a nice day. Sylvain Legrand.