Dark Scheme for Traffic Graph
I have made the following changes to src/usr/local/www/graph.php on my fork
2 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.
Would 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..
would like to see that in the next official update!
jdillard last edited by
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.