Modify default-logo.svg

Started by GaardenZwerch, August 17, 2018, 10:03:45 AM

Previous topic - Next topic
Hi,

as I will be managing a  bunch of OPNsense boxes from a central location,
it would really help me if the web gui clearly indicated the name of the box IN LARGE, FRIENDLY LETTERS ;-)

One nice way of achieving this would be to replace the OPNsense logo with an image that states the hostname, because that way you even see what you are connecting to before the login.

Any ideas on how to go on about this?

  • how do I generate an svg displaying a string from the command line?
  • how do I put it in place? Should I create my own theme?

Thanks a lot,

Frank

Hi Frank,

You could copy the theme, modify the svg and switch to the new theme in System: Settings: General

# cp -r /usr/local/opnsense/www/themes/{opnsense,custom}

Edit...

/usr/local/opnsense/www/themes/custom/build/images/default-logo.svg

And set "custom" theme from the GUI.


Cheers,
Franco