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

    Interface Statistics widget

    Scheduled Pinned Locked Moved webGUI
    6 Posts 4 Posters 2.1k 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.
    • R
      Ramosel
      last edited by

      On the "Interface Statistics" widget in the WebGUI is there any way to condense the display?  Compared to most of the other widgets (ie: Services Status or Installed Packages) it just seems to have a lot of white space (basically too much line spacing.  It would just be nice to condense it down and then my last dashboard item would fit on the screen.

      thanks in advance if anyone has an idea or answer.

      Rick

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        EVERYTHING is possible.

        The question is: can you convince the (or a) programmer(s) to do the job for you ?

        If everybody agrees with you that the main GUII page should 'clutter' less, then the job will be done quit quickly.

        If not, the entire widget is just a few line of PHP script. Go for it, make your changes, and if its good (like 'better' as now) propose it here: https://github.com/pfsense/

        Btw : the main pfsense GUI access page is only used and seen by the admin. This guy normally wants functionality and stable code, "look and feels" is more something for the big public ;)

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • R
          Ramosel
          last edited by

          @Gertjan:

          EVERYTHING is possible.

          The question is: can you convince the (or a) programmer(s) to do the job for you ?
          If everybody agrees with you that the main GUII page should 'clutter' less, then the job will be done quit quickly.

          If not, the entire widget is just a few line of PHP script. Go for it, make your changes, and if its good (like 'better' as now) propose it here: https://github.com/pfsense/

          Btw : the main pfsense GUI access page is only used and seen by the admin. This guy normally wants functionality and stable code, "look and feels" is more something for the big public ;)

          Well, this is just my house so I am both the admin guy and the big public (hey, I'm working on the weight).  Now that we have widescreen capability, I"m just a few mm away from having my desired "at a glance" dashboard so I thought I'd ask… I had dug through the settings and been through the forum to see if there was a configuration I had missed.  Most of the others are nice and tight, this one just happens to have some wasted real estate.

          OK, so it's a coding issue.  I'll hunt it down.  But if anyone else agrees it's an issue (albeit a very, very minor issue), please chime in - so the official programmers know.

          Thanks for your response.

          Rick

          1 Reply Last reply Reply Quote 0
          • ExolonE
            Exolon
            last edited by

            You could just edit the file yourself:

            Diagnostic -> Edit File

            /usr/local/www/widgets/widgets/interface_statistics.widget.php

            Remove (delete) all references to:

            style="height:25px"

            Then you get this:

            Small_InterfaceStatsWidget.png
            Small_InterfaceStatsWidget.png_thumb

            1 Reply Last reply Reply Quote 0
            • P
              phil.davis
              last edited by

              A similar extra high row spacing thing has happened in 2.3-ALPHA also, although there is no explicit 25px thing in the 2.3-ALPHA code.
              I just made a PR to fix it in 2.3-ALPHA:
              https://github.com/pfsense/pfsense/pull/2187

              As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
              If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

              1 Reply Last reply Reply Quote 0
              • R
                Ramosel
                last edited by

                @Exolon:

                Remove (delete) all references to:

                style="height:25px"

                Thanks, I just edited the value and got it close to what I wanted…  removing it makes it perfect (for my needs)

                Rick

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