Joined: 31 Jul 2021 Posts: 2142 Location: All over YOUR webs
Posted: Thu May 12, 2022 16:13 Post subject:
Latest installments of DD-WRT UI fixes include.
* Access restriction summary popup, buttons are now in a footer
* Access restriction Edit list of clients popup, is now using fieldsets/legends
* Edit Mac Filter popup, Wireless client MAC list is now using fieldsets/legends
* Advanced routing tab,
** when selecting routing mode, RIP2 Router, the legend is now inside the fieldset (legacy bug)
** Show routing table/Show policy table popups are now using fieldsets
* Status tab -> Router under Active IP Connections when clicking the value the popup is now also using fieldsets
* Port Services, has also received some fieldset love.
These fieldset/legend talk probably means nothing for the average user, the ui is mostly comprised of sections aka fieldset with titles aka legend and encase a group of related settings/options. So mostly this means where applicable, that a given group of related settings or output is now inline with the rest of the UI, looks better, formats better, and its more consistent.
* rogue breaks cleanup and button spacing fixes in various pages.
* xirian style is now more inline with other styles, needs to be excluded from dark help pages when dark mode is set.
Still much todo and testing on other platforms to check what issues these have.
The old brainslayer, kromo, and vikar styles will stay, BS refuses to take them out, perhaps nostalgia, perhaps...
Joined: 31 Jul 2021 Posts: 2142 Location: All over YOUR webs
Posted: Thu May 19, 2022 21:29 Post subject:
Many help files fixes went in, while not technically part of the UI, it bothers me to see so many issues which I refused to fix via CSS since the issue was actually inconsistent use of proper HTML.
Also reworded many strings on backup/restore page to ensure clarity what a restore actually does.
The new NTP timer interval can now be set via UI and also it will log to syslog the time offset on sync.
The upgrade.asp page helpfile now has the correct link to the downloads directory where the betas are even if the link title just says www.dd-wrt.com, it goes to the website betas dir.
So I am preparing for any unforeseen long absences from contributing to DD-WRT due to my personal situation, I wont know where I will end up or if Internet access will be possible.
The Nepalese mountains in a Buddhist temple will be one of the possibilities, and I'm unsure if I will even have any tech allowed during my training there.
It may vary on your setup, time drift between syncs and the ammount of services that restart and if they affect your use case, Im at 5 days interval and will now monitor the offset logging to make a better determination of which interval value will suit my use case better.
ATHF wrote:
Beers on me, sending a donation to you guys.
Im sure BS will appreciate it but it wont buy me any beers, I like you am only a DD-WRT user, just make contributions since I cant afford to make any donations.
Funny true story, once the previous language help strings patch was committed and test build done that had this URL, the javascript couldn't handle the https: (colon) and it hosed the complete interface, no strings were displayed anywhere and console was having a fit.
Translators are needed to update all languages since the current changes and updates are needed for all supported languages and also for default English, the missing help reported at https://svn.dd-wrt.com/ticket/7478
as well of countless other help string still missing e.g. switch page, freeradius page usb side menu entries etc etc etc.
Joined: 31 Jul 2021 Posts: 2142 Location: All over YOUR webs
Posted: Sun May 22, 2022 8:37 Post subject:
@oliver44 thannks for report.
The spin controls are browser dependent, especially windows side where they use way more space than needed and use the ugly spin controls graphics from the OS.
Since I can't target anyone's browser spin controls from dd-wrt, I hacked the input for the MTU HTML size="4" into size="5" so the browser thinks there are 5 possible numbers in that field and thus allows more space before the spin control is painted, however you can only just use 4 numbers in there anyway.
The fix/hack should be present in next public build, hopefully its enough if not, continue reading, especially if you are using Firefox something.
Personally in Firefox I have hacked the spin controls for my Windows install userContent.css and mine look better and dont have that issue.
input[type='number']::-moz-number-spin-down {
appearance: none !important;
-moz-default-appearance: none !important;
cursor: default !important;
background-image: url('chrome://global/skin/icons/arrow-down-12.svg') !important;
background-repeat: no-repeat !important;
background-position: center top !important;
background-size: 10px auto !important;
border: 0 !important;
min-height: 8px !important;
transition: fill .2s ease-in-out !important;
-moz-context-properties: fill !important;
fill: #eee !important;
}
input[type='number']::-moz-number-spin-up:hover,
input[type='number']::-moz-number-spin-down:hover {
-moz-context-properties: fill !important;
fill: #fff !important;
}
}
I target the routers IP's via @-moz-document and the GitHub website using regexp, but bare in mind, I use dark themes only so the above userContentCSS will shown invisible arrows when websites are white background, if you dont lock that hack into specific sites that are dark only using the @-moz-document.
Everything else will display the normal Windows ugly spin controls.
Thats not a me problem though if using that css bare that in mind or modify it to suit.
Joined: 31 Jul 2021 Posts: 2142 Location: All over YOUR webs
Posted: Mon May 23, 2022 16:27 Post subject:
It wasn't incorrectly drawn, please understand how this works, this is browser/os dependent not dd-wrt anything, its just its using the OS theme spinbox which like everything windows controls are oversized and ugly. They have a bounding box and the arrows are inside them. nasty design.
If you used for instance Linux then you wouldn't have noticed any issue.
This is why I customize my spin boxes Windows side and you can too.
See on mine, there's way more space than it should be already in comparison to your screenshot using default spinboxes;) Its the way it normally looks on Linux for instance.
And well looks wise, lets face it, the default looks like puke.
Joined: 31 Jul 2021 Posts: 2142 Location: All over YOUR webs
Posted: Sun May 29, 2022 9:50 Post subject:
Yea you need to use a font in your browser that has better Unicode/UTF-8 support, there is nothing I can do about that DD-WRT side. At least I dont think there is, as this is Browser/Font dependent.
yes no idea which font is used there.
In other places in WebIF, the umlauts are displayed correctly.
(After Brainslayer changed the German translation to UTF8).