Interface Statistics widget



  • 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



  • 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 ;)



  • @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



  • 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:




  • 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



  • @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


Log in to reply