summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
AgeCommit message (Collapse)Author
2022-10-27luci-theme-material: fix location of template filesJo-Philipp Wich
Fixes: #6060 Fixes: e496014760 ("luci-theme-material: convert Lua templates to ucode") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-10-25luci-theme-material: convert Lua templates to ucodeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-07-27luci-theme-material: fix typo in recovery mode messageINAGAKI Hiroshi
Fix the message from "Sytem" to "System" and merge with the existing message on the other themes. Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
2022-06-25luci-theme-material: optimized image filesizey04
Optimized PNG filesize from 6280 to 3939 bytes. Visually looks the same, technically the image is 99.9% identical. Signed-off-by: Alexander Semukhin <semukhin@mail.com>
2022-06-17luci-theme-material: CSS Fix for previous updateQuentin Baker
Commit b0f13ef Changed the color of a CSS element from a bright blue to a dark blue. This resulted in a modal with difficult-to-read text (black text on dark blue). This commit sets the modal text-color to #000, in line with style guidelines. Signed-off-by: Quentin Baker <opensource@quentb.com>
2022-06-05luci-theme-material: Update brand logo/colorsQuentin Baker
I have updated the brand.png logo to the 2020 version, and I have made a small adjustment to the CSS to reflect its slightly larger vertical height. I also have made small tweaks to the system theme colors to use the brand colors as recommended on page 5 of the logo usage guidelines document avalible at openwrt/branding/blob/master/openwrt-styleguide.pdf Signed-off-by: Quentin Baker <opensource@quentb.com>
2022-05-04luci-material-theme: replace margin by gap in ifacebadgeMiguel Angel Mulero Martinez
Material is a "flex" theme. Better to use "gap" in place of "margin" to add some space between elements inside "flex" elements. This fixes the problem specially when there are text elements inside the "flex" and don't hurt when there are images. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-05-02Merge pull request #5794 from McGiverGim/material_align_button_text_centerJo-Philipp Wich
luci-material-theme: align text buttons center
2022-05-02luci-material-theme: fix localizated left menuMiguel Angel Mulero Martinez
The latest fix to fix the logout worked, but it was not applied to all the resolutions, and I have observed the same problem exists for the dasboard optional component. Looking at the code, it seems only the components without submenu, have the data-title element, so this fix modifies the style for all of them, not relying on the position or text content. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-05-01luci-material-theme: align text buttons centerMiguel Angel Mulero Martinez
The text inside the buttons is aligned to the top. This change mades it aligned to the center. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-04-30Merge pull request #5791 from McGiverGim/fix_td_alignJo-Philipp Wich
luci-material-theme: align td text width 33%
2022-04-30Merge pull request #5792 from McGiverGim/controlgroup_flexJo-Philipp Wich
luci-material-theme: make control-group flex
2022-04-30luci-material-theme: make control-group flexMiguel Angel Mulero Martinez
The control-group div does not flex. The buttons overflow the screen. This change mades them flex. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-04-30luci-material-theme: align td text width 33%Miguel Angel Mulero Martinez
The CSS applies a different padding for td elements with 33% width. This misaligns the text from this td to the others td. This change modifies the CSS to apply the same padding to all of the sibling td. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-04-30luci-material-theme: adjust data-title for logoutMiguel Angel Mulero Martinez
The data-title attribute style depends on the content in the css rule. When translated to other language, the css rule fails. This change uses the position and not the content to apply the style. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-04-30Revert "luci-material-theme: reduce size of logout icon"Miguel Angel Mulero Martinez
This reverts commit 3758ab9479be280a2df486120573a5ba3bb2c87a. The solution is not good. It breaks in some way the English UI to fix localizated UI. It will be fixed again in other commit. Signed-off-by: Miguel Angel Mulero Martinez <migmul@gmail.com>
2022-04-29Merge pull request #5788 from McGiverGim/fix_logout_icon_material_themeJo-Philipp Wich
luci-material-theme: reduce size of logout icon
2022-04-29luci-material-theme: reduce size of logout iconMiguel Angel Mulero Martinez
The icon of the logout option overflows the text. This reduces the size of the icon to not overflow. Signed-off-by: Miguel Angel Mulero <mcgivergim@gmail.com>
2022-04-29luci-theme-material: fix size of progressbar textMiguel Angel Mulero Martinez
The text of the progressbar is bigger than the progressbar height. This removes the font-size element that produced that. Signed-off-by: Miguel Angel Mulero <mcgivergim@gmail.com>
2021-10-05themes: warn if booted from initramfsPaul Spooren
Some devices offer a full LuCI interface from their recovery interface. As it's read-only it should only be used for installing sysupgrades and therefore warn users that no settings are saved. Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-09-04luci-theme-material: fix cut syslogAnsuel Smith
Remove line-height css for syslog textarea as it cause some problem with displaying all the rows of the syslog. (Row line are calculated with a line-height of 1) Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-09-03luci-theme-material: improve support for dashboard moduleAnsuel Smith
Fix sidebar styling to improve support for dashboard module. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-08-17luci-theme-material: add support for modmenuAnsuel Smith
Improve support for modmenu. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-08-11luci-theme-material: standardize menu and drop jqueryAnsuel Smith
- Drop jquery lib - Move to the new menu.js implementation - Rework css to mimic old js transition - Rework footer and header to new implementation Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-08-05luci-theme: fix css for flash advanced settingsAnsuel Smith
Fix themes for broken display of advanced button in the sysupgrade modal. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2021-06-09themes: Call striptags() on hostname to prevent XSSHauke Mehrtens
This calls striptags() on the hostname to prevent any XSS over the hostname. This should fix CVE-2021-33425 as far as I understood it. If someone adds some Javascript into system.@system[0].hostname it would have been directly added to the page, this prevents the problem. This can only be exploited by someone being able to modify the uci configuration, normally a user with such privileges could also just modify the webpage. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-04-21luci-theme-material: fix wrong active state on common prefix nodeLiangbin Lian
Before fixed, if we have two nodes: 'services/ddns' and 'services/ddnsto', click any one of they, will show they all actived. Signed-off-by: Liangbin Lian <jjm2473@gmail.com>
2020-10-30luci-theme-material: fix bigger button for combo-boxAnsuel Smith
Combobox are bigger than any other button. Align the dimension to all the other buttons. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-10-25luci-theme-material: Fix section title padding.Oldřich Jedlička
After moving section title from `legend`, which was translated to `span` with style `panel-title`, to `h3`, update also CSS style to match first `h3` in `cbi-section`. Signed-off-by: Oldřich Jedlička <oldium.pro@gmail.com>
2020-08-16themes: remove deprecated reference to enabling SSHHannu Nyman
Remove the reference to setting a password being linked to SSH capability. (SSH has been initially enabled since year 2015.) Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-05-04luci-theme-material: fix Makefile file modFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-04luci-theme-material: remove useless logging outputFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-04-03luci-theme-*: set mediaurlbase if it is the first time to be installedChen Minqiang
If we build multi-themes into firmware, each of them set itself to be the default theme, what theme should it be? To make it clear, we only set mediaurlbase if the theme is the first time to be installed/built-in. This resolve the issue that theme always change to somewhat default after upgrading the firmware even with a config-keep-upgrade Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
2020-03-30themes: generalize indicator markup and stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-15themes: ensure that data-page attribute is escapedJo-Philipp Wich
Fixes: #3757 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-25themes: render menu even when not logged inJo-Philipp Wich
Ref: #3563 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-21luci-theme-material: fix button position on modal saveFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-01-20luci-theme-material: fix apply dropdown colorFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-12-25Merge pull request #3401 from MartB/modal-heightfixv2Jo-Philipp Wich
luci-theme-*: remove modal max-height #3383 v2
2019-12-16luci-theme-material: render menu on client sideJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-12-10luci-theme-*: remove modal max-height #3383 v2MartB
Signed-off-by: MartB <mart.b@outlook.de>
2019-09-22luci-theme-material: mobile style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-22luci-theme-material: fix some severe styling issuesJo-Philipp Wich
Add some CSS band aids to fix styling and positioning of hidden tab panes, cbi maps in modal dialogs and nested cbi sections. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-29luci-theme-material: show logo also on login pageMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-07-07luci-base: replace uci change pages with client side modal dialogJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-06-28Fix a overview page style issue for various themesAnton Kikin
Fixed a overview page style issue with interface boxes for bootstrap, material and rosy themes. The issue only appears in the Chrome browser and lies in the fact that the block with the device name and MAC address gets out of the interface block. Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-06-27luci-theme-material: change string 'Loading...' to 'Collecting data...'Martin Schiller
It's better to reuse the already available and well translated string 'Collecting data...'. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-26luci-theme-material: make 'Loading...' text translatableMartin Schiller
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2019-06-04Merge pull request #2746 from TDT-AG/pr/20190603-luci-theme-materialFlorian Eckert
luci-theme-material: fix checkbox css StaticList view
2019-06-04luci-theme-material: fix checkbox css StaticList viewFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>