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

    Dashboard - 3rd Column - $100

    Scheduled Pinned Locked Moved Completed Bounties
    51 Posts 10 Posters 41.5k 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.
    • E
      Eugene
      last edited by

      I think it is worth to mention that it is not only about css, at least index.php will have to be modified.

      http://ru.doc.pfsense.org

      1 Reply Last reply Reply Quote 0
      • 2
        2low4zero
        last edited by

        Oh, I know.  It looks like a pain.  But I didn't write it.  I've been wondering if it had ever been built with scaling up or out in mind.  And I'm not sure I've covered all of the places and files where mods would be necessary.

        And keep in mind, I'm just talking about the dashboard here, even though it could impact the whole theme.

        Would widget sizing or scaling be easier, maybe to get back some of that feeling of vertical space?  What about tacking a widget in a pop-up that could be places independently of the browser window?

        Thanks to all who have given it some thought.  At least you're thinking about it, perhaps for the future.

        Like I said, I'll give it a week or so and then let it go if there's no other interest.

        Thanks again.

        1 Reply Last reply Reply Quote 0
        • S
          Supermule Banned
          last edited by

          The CSS is a pain…..and if Index.php needs attention, then my knowledge of PHP is not enough.

          The images are not scaling, besides the bottom red area. I can scale that to 100% no issues....The top doesnt want to play along.

          1 Reply Last reply Reply Quote 0
          • E
            Eugene
            last edited by

            @2low4zero:

            And keep in mind, I'm just talking about the dashboard here, even though it could impact the whole theme.

            Would widget sizing or scaling be easier, maybe to get back some of that feeling of vertical space?  What about tacking a widget in a pop-up that could be places independently of the browser window?

            Yes this will impact the whole theme.
            About sizing/scaling - there is no problem (it can be done fairly easy) to add third column but will you enjoy smaller widgets fitting this 800px wide white area in the middle of the screen? I guess no. I tend to think that the whole theme should be redone to provide flexibility showing nice on both 'narrow' and wide monitors, dynamically adjusting number of columns for widgets.

            http://ru.doc.pfsense.org

            1 Reply Last reply Reply Quote 0
            • S
              Supermule Banned
              last edited by

              Absolutely agree on this!

              @Evgeny:

              @2low4zero:

              And keep in mind, I'm just talking about the dashboard here, even though it could impact the whole theme.

              Would widget sizing or scaling be easier, maybe to get back some of that feeling of vertical space?  What about tacking a widget in a pop-up that could be places independently of the browser window?

              Yes this will impact the whole theme.
              About sizing/scaling - there is no problem (it can be done fairly easy) to add third column but will you enjoy smaller widgets fitting this 800px wide white area in the middle of the screen? I guess no. I tend to think that the whole theme should be redone to provide flexibility showing nice on both 'narrow' and wide monitors, dynamically adjusting number of columns for widgets.

              1 Reply Last reply Reply Quote 0
              • S
                simoncpu
                last edited by

                Hi,

                I can do both PHP and CSS. I can take this if Supermule and Evgeny are busy. :)

                [ simon.cpu ]

                1 Reply Last reply Reply Quote 0
                • E
                  Eugene
                  last edited by

                  @simoncpu:

                  Hi,

                  I can do both PHP and CSS. I can take this if Supermule and Evgeny are busy. :)

                  [ simon.cpu ]

                  Hi,
                  I am 75% done. But if you want to do it for $100 please go ahead, I think 2low4zero will be happy (as nobody else is willing to pay) ;-)

                  http://ru.doc.pfsense.org

                  1 Reply Last reply Reply Quote 0
                  • 2
                    2low4zero
                    last edited by

                    Really!?!

                    Do I owe you a little cash Evgeny?  200 bucks for chips and beverages?  I know that amount certainly doesn't pay you for your time and effort.  And I don't suppose my gratitude will buy you much on Amazon or NewEgg, but you have it none-the-less.  Thank you.

                    I kind of thought others would find this feature to have some value….

                    Feel free to pm me with the particulars for payment if you wish.  I'll be happy to pay promptly.

                    Many thanks.

                    1 Reply Last reply Reply Quote 0
                    • E
                      Eugene
                      last edited by

                      @2low4zero:

                      Do I owe you a little cash Evgeny?

                      Let's test it first -) I'll PM you when it is ready and on how to test it.

                      http://ru.doc.pfsense.org

                      1 Reply Last reply Reply Quote 0
                      • E
                        Eugene
                        last edited by

                        Ok, I redid lots of css, added/removed/modified some pictures, now the whole theme adjusts to browser's window size pretty nice.
                        Now I am trying to make it perfect by letting web-server to decide how many columns to give you for widgets (based on width of your browser window) but I hit a roadblock that I can't seem to find solution for.
                        How can php code (server side) be aware of browser window current width (client side)? I tried cookie but it works only if you refresh after resizing the window…
                        Any hints will be appreciated. I really would not like to hard code number of columns...
                        Thanks.

                        http://ru.doc.pfsense.org

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          It probably can't, because that has to be determined by javascript.

                          Why does the PHP code have to know? Couldn't you shuffle the widgets around or rewrite the widget container using only javascript?

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

                          1 Reply Last reply Reply Quote 0
                          • S
                            simoncpu
                            last edited by

                            @Evgeny:

                            Ok, I redid lots of css, added/removed/modified some pictures, now the whole theme adjusts to browser's window size pretty nice.
                            Now I am trying to make it perfect by letting web-server to decide how many columns to give you for widgets (based on width of your browser window) but I hit a roadblock that I can't seem to find solution for.
                            How can php code (server side) be aware of browser window current width (client side)? I tried cookie but it works only if you refresh after resizing the window…
                            Any hints will be appreciated. I really would not like to hard code number of columns...
                            Thanks.

                            Just do something like:

                            $_GET['var'] will then contain the value "123". Of course, it will all depend on what you're trying to do. A better solution is to modify the HTML using JavaScript instead. :)

                            1 Reply Last reply Reply Quote 0
                            • 2
                              2low4zero
                              last edited by

                              All,

                              Evgeny is, for lack of a better phrase, THE MAN!  And the bounty has been paid.  Thanks go out to SimonCPU, SuperMule, and Jimp on this one.  I appreciate the input.

                              Now then, Evgeny wanted to open the floor for discussions regarding auto-detecting browser dimensions versus just manually selecting 3 or 4 columns.  Can anyone give a good argument on why one method might be superior to the other?

                              Also, here are a couple of links to some full-sized sample images for your TMI-Candy enjoyment;

                              http://mail.manske.org/Advancing-Column01.jpg
                              http://mail.manske.org/Advancing-Column03.jpg

                              Hopefully Evgeny can push this into the repository sometime soon and the core team will accept it.

                              Thanks again everyone.

                              AC01thumb2.jpg
                              AC01thumb2.jpg_thumb
                              AC03thumb.jpg
                              AC03thumb.jpg_thumb

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by

                                Please send patches to coreteam@pfsense.org so I can look them over.  We MIGHT be able to get these in if they are trivial…. But no promises until I can judge the risk factor being this late in the BETA cycle.

                                EDIT: oh by the way, that looks incredible!

                                1 Reply Last reply Reply Quote 0
                                • E
                                  Eugene
                                  last edited by

                                  This is done as a package now. I was not hoping that you could push it to pfSense mainline.
                                  modified:

                                  • index.php
                                  • fbegin.inc
                                  • fend.inc
                                  • all.css for pfsense_ng theme
                                    and added several pictures.
                                    Still want to see patches or should I just push new package to packages in gitorious?
                                    Thanks.

                                  http://ru.doc.pfsense.org

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by

                                    Why would you not want this stuff included?

                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      Eugene
                                      last edited by

                                      Just because it is not tested enough and might badly affect other themes although I tried to avoid this. -( Lots of css stuff looked puzzling to me as usually you do not understand other's people thoughts ver well when they design web-pages using css (all this coordinates, margins, pads, relative-ness etc).
                                      Anyway I'll provide patches and you decide.

                                      http://ru.doc.pfsense.org

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sullrich
                                        last edited by

                                        OK I understand your hesitation and can appreciate that.

                                        I'll look it over and worst case scenario we get it in for 2.1.

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          Eugene
                                          last edited by

                                          I've sent patches.
                                          I've got $300 from bounty starter. Thanks!!!
                                          I've donated $100 out of these $300 to pfSense. Thank you, pfSense team!

                                          http://ru.doc.pfsense.org

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            Supermule Banned
                                            last edited by

                                            This is just awesomeness!!

                                            Thx Evgeny! looks very good! Sorry I couldnt contribute more than I did.

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