Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Dark Scheme for Traffic Graph

    Scheduled Pinned Locked Moved webGUI
    4 Posts 4 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      atcronin
      last edited by

      I have made the following changes to src/usr/local/www/graph.php on my fork
      https://github.com/atcronin/pfsense/commit/7b676a77e7112f7921b0b3f569075eb6cfe9a2d4

      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.
      https://github.com/atcronin/pfsense/commit/280d0b6b20aeba0e64b64ef3c11673748feaefaf

      Would someone be willing to submit/commit it to the main branch?

      This is how it looks. Scroll to the right.

      4772d6d8-0315-11e6-8cb3-e7c72b247b61.jpg
      4772d6d8-0315-11e6-8cb3-e7c72b247b61.jpg_thumb

      1 Reply Last reply Reply Quote 0
      • A
        AR15USR
        last edited by

        The traffic graphs look like they belong..


        2.6.0-RELEASE

        1 Reply Last reply Reply Quote 0
        • D
          dneuhaeuser
          last edited by

          looks good!

          would like to see that in the next official update!

          1 Reply Last reply Reply Quote 0
          • jdillardJ
            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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.