I’m loving the work you have done on HABpanel. It is firmly my UI of choice for openHAB 2
Not sure about the etiquette to request new features / enhancements. So I’ll post here to gauge views:
Would it be possible to add the Glyphicons that have been included with the Bootstrap framework within the HABpanel GUI?
I spotted that you used these within one of the template examples, so went searching to see what was available (glyphicons). Personally the range of UI and multimedia icons would immediately satisfy a need that is not covered by the existing icon sets.
Appreciate that I could replace the standard buttons with template controls using these, but I was hoping this may be a simple code enhancement which would make multi-media panels easier to create (I’m using mine among other things to manage my Tivo).
Let me know if this is possible and / or if I should raise a feature request on Github.
Finished now you have another iconset in your dropdown list.
For the mentioned knx-user-forum iconset I hab to do a mass change of the svg from white to black color. (hex code find/replace)
You could do what @Tab_Daham does - I’m trying to limit “built-in” icon sets now to keep the HABPanel’s size down.
There is support for icons in OH2 using bundles, I’d try that as an alternative (you still would have to have a .list.json file and add it to icon.service.js for now).
@Basem_AlSaeed those files are not accessible directly, they are in the bundle.
Clone the repository in your conf/html folder if you want to tamper with them.
For the KNX userforum iconset you have to change the color from white to black. On Linux, this is easily done:
go into the folder with the icons
change the color by replacing FFFFFF with 000000: sed -i 's/FFFFFF/000000/g' *.svg
to avoid manually adding hundreds of filenames in the .js-file named above, you can create the necessary list as well: find . -type f | sort | sed 's/.\//"/g' | sed 's/.svg/",/g'
This lists all files in the directory, sorts them and replaces the first an last characters to deliver a perfect list. Just remove the latest comma and copy it into the .js-file. Done!
Guys, is that additions of the icons will survive an upgrade to OH2 and HABPanel?
Or that will be overwritten has to be done every time i apt-get upgrade?
So far for the custom icon I was using that construct in a template: