Hi Adam,
Yes and of course I want to make it compatible with the SVN upgrades ;)
Ahhh, that’s how you are doing it! I was baffled as I couldn’t even find the images when searching the file tree :)
I think I will still try as I have a few icons I would like to create (for each of the various products that we use - like WANGuard, TACACS etc etc).
Observium has become the centre/go-to place for our network team now :) and I would like to make this integrated and look as clean as the rest of it.
Thanks for the pointer, I’ll see what I can put together.
Thanks for your time, Andy.
Sent from a teeny tiny keyboard, so please excuse typos
On 30 May 2019, at 15:16, Adam Armstrong <adama@memetic.orgmailto:adama@memetic.org> wrote:
We don't really have much of a facility to use custom icons. The icons come from a sprite file and are defined in css.
There config entries are in config/definitions/wui.inc.php iirc.
You could perhaps define a custom CSS entry that loaded a custom icon, but man, seems a lot of effort :)
Adam.
Sent from BlueMailhttp://www.bluemail.me/r?b=15038 On 30 May 2019, at 14:42, Andrew Lemin via observium <observium@observium.orgmailto:observium@observium.org> wrote: Good morning/afternoon/evening,
Just a quick question.
I have created a custom drop-down menu in the navbar, and would like to define a custom icon like; $config['icon’]['company-logo'] which provides a .png file in the images folder etc.
Or more specifically instead of; $navbar['4D-DC'] = array('url' => '#', 'icon' => $config['icon']['company-logo'], 'title' => 'URLS');
Maybe this would work (sadly it doesn’t); $navbar['4D-DC'] = array('url' => '#', 'icon' => ‘images/company-logo.png’, 'title' => ''URLS'');
I cannot find anywhere in the code where the $config['icon’] array is defined, and it is not in the database’s config table either?
Thanks, Andy.
________________________________
observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium