Open mroach opened 3 weeks ago
Same issue here! Glad to have ZFS in cockpit but I have noticed this font problem, and that it doesn't respect Cockpit's dark mode.
Hi, I got the same font problem.
I created this folder : /usr/share/cockpit/base1/fonts/
And put at least this file in it : https://github.com/saper/reformcopyright/blob/master/www.reformonsledroitdauteur.eu/font-awesome/fonts/fontawesome-webfont.woff%3Fv%3D4.2.0
(I renamed it to fontawesome.woff
)
I think missing fonts should go in there, but it looks like a crap solution.
Edit : you can do the same thing with
/usr/share/cockpit/zfs/assets/fonts/RedHatDisplay/
/usr/share/cockpit/zfs/assets/fonts/RedHatText/
and put there the .woff files of RedHatDisplay and RedHatText
Regarding the dark mode, it looks like zfs/index.html
is missing class="pf-theme-dark"
in the <html>
tag, but adding it will partially work (text is still black on gray)
I'm running Cockpit 325 on Debian 11. I added the ZFS module and it works, but font-awesome isn't available, so the icons don't work. Looking at the HTTP logs, there are 404s for a bunch of fonts only when looking at the ZFS module.