Dark Scheme for Traffic Graph
-
I have made the following changes to src/usr/local/www/graph.php on my fork
https://github.com/atcronin/pfsense/commit/7b676a77e7112f7921b0b3f569075eb6cfe9a2d42 main changes:
-
Get the current cssfile
-
Apply dark/light scheme based on current css file
Would probably want to expand the switch for other css files or perhaps change it to an if statement with substring detection for 'dark' in css file name.
Plus one small tweak to src/usr/local/www/css/pfSense-dark.css - full black doesn't look quite right.
https://github.com/atcronin/pfsense/commit/280d0b6b20aeba0e64b64ef3c11673748feaefafWould someone be willing to submit/commit it to the main branch?
This is how it looks. Scroll to the right.
-
-
The traffic graphs look like they belong..
-
looks good!
would like to see that in the next official update!
-
The traffic graphs are in the process of being redone with nvd3 so that the styling can stay within the stylesheets.
Nice work, but this won't end up in the main repo because of the way it was (read: had to be) implemented.