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

    Is there a way to resize dashboard?

    Scheduled Pinned Locked Moved General pfSense Questions
    17 Posts 5 Posters 1.8k 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.
    • K
      Knight @stephenw10
      last edited by

      Hi Stephen!

      @stephenw10 said in Is there a way to resize dashboard?:

      Within the pfSense config only by changing the number of columns in System > General Setup.

      In my case only lowering it to "1" would avoid the problem... It makes the dashboard much less usable but it works...

      Outside the config then anything's possible if you can code it. ๐Ÿ˜‰

      Frontend stuff is no my forte but I am a programmer so I could do it... ๐Ÿ˜‰

      Only problem is that whatever I do would break with the next update...

      Thank you very much for your help Stephen!

      Nick

      1 Reply Last reply Reply Quote 0
      • K
        Knight @stephenw10
        last edited by Knight

        Just so you know this is what it looks like with IPv6 addresses (which end up truncated anyway):

        pfsense_dashboard.png

        The most noticeable problems are the truncated IPv6 addresses and the interface names positions.

        Have a nice day!

        Nick

        PS: I know there is a lot of red here... It's a combination of defective hardware (which is supposed to arrive today) and currently unused interfaces.

        GertjanG 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Hmm, well I've never tried but you might be able to do it with a 'theme'. Modify one of the existing ones perhaps.
          Or maybe just patch the Interfaces widget to display that better. You could argue that's a bug. But even if not displaying IPv6 addresses in a more friendly way is certainly something that could be accepted as a feature.

          Steve

          K 1 Reply Last reply Reply Quote 0
          • K
            Knight @stephenw10
            last edited by Knight

            Hi Stephen!

            I tried to play a little with it but it does not seem to be an easy fix (at least for me) and I need to address other issues right now. I will revisit this another day...

            I am not familiar with the library used (seems to be bootstrap) used to make the UI responsive.

            It also looks like just about every theme depends on pfSense.css and overrides what it likes from it.

            That being said, I found a partial workaround...

            The -BETA themes seem to use a smaller font so a full IPv6 address can be shown...

            The interface names still end up on the second line sometimes and everything is in a smaller font not solely the IP address so it is not a perfect solution but quite usable in the mean time...

            re:
            pfsense_dashboard-beta.png

            I have a feeling that what would most likely be the best solution would require some modifications to the theme but to the code that use it as well (to add some classes to have a more fine grained control over what should be displayed smaller)...

            Thank you and have a nice day!

            Nick

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

              @knight said in Is there a way to resize dashboard?:

              truncated IPv6 addresses

              The GUI expands IPv6 ? I don't see that happing :

              929d107c-4256-4629-a299-040fa440b1a8-image.png

              @knight said in Is there a way to resize dashboard?:

              that won't break with updates?

              Make your own theme ?
              It's just plain CSS and maybe some html.

              Compare this list :

              ee72e947-acc5-4008-b83a-e6da9d684312-image.png

              with what you find in this folder : /usr/local/www/css/ and you' re half way ;)
              Don't edit files, add your own. It's lost during upgrade ? No issue, just put it back in.

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

              stephenw10S 1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator @Gertjan
                last edited by

                @gertjan said in Is there a way to resize dashboard?:

                I don't see that happing

                I think your v6 IPs happen to have a lot of 0s so they end up taking less space. They are truncated in my installs.

                Steve

                K johnpozJ 2 Replies Last reply Reply Quote 0
                • K
                  Knight @stephenw10
                  last edited by

                  Hi Stephen!
                  @stephenw10 said in Is there a way to resize dashboard?:

                  I think your v6 IPs happen to have a lot of 0s so they end up taking less space. They are truncated in my installs.

                  Yep, you are both right, IPv6 IPs with a lot of 0s can be written in a shorter way so they end up taking less space...

                  The ones I put as a test do have a lot of 0s but I wrote them in their entirety, this might or might not change in the future...

                  I have a lot of catch up to to regarding IPv6 and how similar and different it is from IPv4.

                  Thank you and have a nice day!

                  Nick

                  1 Reply Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @stephenw10
                    last edited by johnpoz

                    @stephenw10 said in Is there a way to resize dashboard?:

                    I think your v6 IPs happen to have a lot of 0s so they end up taking less space.

                    But his do as well, not sure why these are expanded out..

                    out.jpg

                    Those should just be ::, also in his other post 0001 is expanded out??

                    expanded.jpg

                    That seems odd as well.. See in first post where its 0003, that shouldn't be like that either.. See mine where I have a 3 in my address, but its just shown as 3, not 0003, and see were address ends in a single digit 2, its not 0002

                    notice.jpg

                    edit: Ah if he wrote them like that?? Maybe that is why their fully expanded.

                    edit2: You could also just get a wider screen or run higher res, I have 4 columns in my dashboard and pretty happy with the layout and overlap of stuff.. There is some minor stuff - but all readable.. If I set it 3 columns there is none.. But then again I don't fully expand my IPv6 ;)

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    NogBadTheBadN K 2 Replies Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator
                      last edited by

                      Mmm, I was thinking there may have been some other collapsed section under the redaction but, I agree, that doesn't explain :0003: vs :3:

                      1 Reply Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad @johnpoz
                        last edited by

                        @johnpoz said in Is there a way to resize dashboard?:

                        But his do as well, not sure why these are expanded out..

                        I just added leading zeros to one of the interfaces and the interface now shows as:-

                        Screenshot 2022-04-25 at 15.31.51.png

                        So the widget isn't stripping them, however an ifconfig on the interface doesn't show the leading zeros.

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        1 Reply Last reply Reply Quote 0
                        • K
                          Knight @johnpoz
                          last edited by

                          I typed them like that...

                          I do know that you can strip "0" from them but I have never played with IPv6 before so I preferred not to use the shorthand notation until I was more comfortable with the thing...

                          I did not realize until someone else posted a few posts ago that the screen assumed the IPv6 addresses were written using the shorthand notation and that my choice of writing them in their entirety was to blame...

                          Sorry...

                          Nick

                          PS: HD screen here, 1920 x 1080...

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            There is no blame here. It's just an artifact if how it's coded. It could probably be better but since most users are unaffected it's pretty low priority,

                            Steve

                            1 Reply Last reply Reply Quote 0
                            • johnpozJ
                              johnpoz LAYER 8 Global Moderator @Knight
                              last edited by johnpoz

                              @knight yeah no blame anywhere.. But you could get one of those new ultra wide monitors ;)

                              I see a 49" wide that does 5120 x 1440 resolution.. heheh I am just having a bit of fun, not actually suggesting that as a fix, but it would solve the problem hehehhe

                              image.jpg

                              Its only $1,138.38 on amazon right now ;)

                              An intelligent man is sometimes forced to be drunk to spend time with his fools
                              If you get confused: Listen to the Music Play
                              Please don't Chat/PM me for help, unless mod related
                              SG-4860 24.11 | Lab VMs 2.8, 24.11

                              stephenw10S GertjanG 2 Replies Last reply Reply Quote 0
                              • stephenw10S
                                stephenw10 Netgate Administrator @johnpoz
                                last edited by

                                @johnpoz said in Is there a way to resize dashboard?:

                                only $1,138.38 on amazon

                                ๐Ÿ˜ฌ

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

                                  @johnpoz

                                  You've modded a special pfSense theme ? ๐Ÿ˜Š

                                  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
                                  • First post
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.