WebUI update to support dark / light theme - dark is default #683

Merged
merged 5 commits into from Mar 31, 2015

Projects

None yet

3 participants

@laf
Member
laf commented Mar 28, 2015

Dark theme: http://pbrd.co/1yfAGFf

Light theme: http://pbrd.co/1yfAMwz

Use can change this in config.php using: $config['site_style'] = 'light'; // or dark

Moved all icons in the navbar to use font awesome icons. Whilst this is a little restrictive in some ways, the just look a lot cleaner / crisper and can be tied in in many other part os the website.

@laf
Member
laf commented Mar 29, 2015

I've done some (crude) page speed tests against the current setup and the dark theme (it will be the same for the light theme).

Load times have dropped by 1/2 - 2/3 so vastly increase the page loading and rendering times.

@f0o
Member
f0o commented Mar 31, 2015

Related: #665

@laf
Member
laf commented Mar 31, 2015

Updated default theme to light.

Updated navbar main icons to use new colors - menus use the defaults.

@paulgear
Member

We probably should use the project_url config setting instead of manually hard-coding the "powered by" URL, but I'm not going to let that stand in the way of this. :-)

@paulgear paulgear merged commit dc5cfda into librenms:master Mar 31, 2015

1 check passed

Scrutinizer 1 new issues
Details
@laf
Member
laf commented Mar 31, 2015

lol, I'll update that :)

@laf
Member
laf commented Mar 31, 2015

@paulgear FYI #700. I've created a new config option to support this, reasons why in that PR :)

@laf laf deleted the unknown repository branch Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment