Dashboard - 3rd Column - $100
-
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.
-
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.
-
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. -
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?
-
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. :)
-
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.jpgHopefully Evgeny can push this into the repository sometime soon and the core team will accept it.
Thanks again everyone.
-
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!
-
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.
-
Why would you not want this stuff included?
-
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. -
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.
-
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! -
This is just awesomeness!!
Thx Evgeny! looks very good! Sorry I couldnt contribute more than I did.
-
I think we did a good thing here for the whole community. And I obviously wanted it bad enough to pay for it and test it. I hope the core team finds it safe and suitable for inclusion before 2.0 goes RC. Maybe not, but it's obviously cool enough to include down the line.
Thanks again, Evgeny.
-
Is it backwards compatible with 1.2.3?
-
Backwards compatible?
Nyet! What we've got in 1.2.3 is what we've got, unless there's ever a 1.2.4, I suspect.
Good question for the devs though; Will there ever be a 1.2.4 with a backport of …stuff... from 2.x?
(Way off topic though...) -
No, 1.2.x is dead; Long live 2.0. :-)
-
I was only thinking about the mod here :)
-
The 2.0 dashboard is a lot different than the one backported into the 1.2.3 dashboard package… At this point I doubt it would be worth the effort to backport the changes into that package.
-
Thks Jim :)
The 2.0 dashboard is a lot different than the one backported into the 1.2.3 dashboard package… At this point I doubt it would be worth the effort to backport the changes into that package.