summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
AgeCommit message (Collapse)Author
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>
2019-06-03themes: don't reset theme on package upgradesJo-Philipp Wich
Fixes: #2743 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-04-07luci-theme-material: icons and other changesshunjou
* Remove excess font dependency * Retain two glyphs as svg * Store svg icons externally * Add logout icon * Replace spaces with tabs in script * Various minor fixes Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-04-07luci-theme-material: correct main menu color variableshunjou
* Also declare default color above as fallback Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-02-27luci-theme-material: fix loading view on hrefFlorian Eckert
After opening an external hyperlink in a new browser tab, LuCI hangs in the load screen. This commit will fix this issue. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-30luci-theme-material: fix firewall table styleshunjou
Signed-off-by: Shun Jou <shunjou@gmail.com>
2019-01-29luci-theme-material: various css changesshunjou
* Improve dropdown menu indicators * Remove border on code * Compensate for occasional log overflow * Restrict webkit scrollbar style from mobile Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-12-20luci-theme-material: make top level menu fontcolor configurableFlorian Eckert
If you change the color of the submenues then the colors of the toplevel should also be changed into the same color. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-12-10luci-theme-{freifunk-generic,material,rosy}: fixup tab CSSJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-05luci-theme-material: make header logo link to main overviewshunjou
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-12-05luci-theme-material: partial style overhaulshunjou
* Restore theme to near original style * Properly declare variable fallbacks * More consistent table and border styling * Improve responsive design scaling * Add static ripple effect to sidebar menu * Style command output as terminal * Comb coding style and widespread cleanup * Various other improvements and fixes Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29luci-theme-material: optimize brand logoshunjou
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29luci-theme-material: remove obsolete header infoshunjou
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-28luci-theme-material: add the missing modal/progressbar rules.brv phoenix
Signed-off-by: brv phoenix <feixuekaka1@gmail.com>
2018-11-27Merge pull request #2329 from TDT-AG/pr/20181123-luci-theme-materialJo-Philipp Wich
luci-theme-material: add missing css cbi-section-error definitions
2018-11-26luci-theme-material: add new faviconshunjou
Also remove logo.png as it is unused. Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-23luci-theme-material: add missing css cbi-section-error definitionsFlorian Eckert
Add the missing error css class definitions. Highlights the wrong inputs detected by the cbi validation function. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-14luci-theme-{freifunk-generic,material,openwrt}: z-index fixesJo-Philipp Wich
Ensure that open dropdowns cover active tooltips. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-theme-material: add invalid input classJo-Philipp Wich
Fixes #1070. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base, themes: rework dynlist and dropdown widgetsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05luci-base, themes: add tooltip helpers & stylesJo-Philipp Wich
Add the required JS and CSS infrastructure to support rich hover/focus tooltips for element. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-05themes: load client side translationsJo-Philipp Wich
Extend the theme headers to include the translation string scripts, allowing client side code to translate strings without server side support. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-28Add missing variable declarations in JavaScript codeStefan Weil
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-21luci-theme-material: Add main color variableSimon Tretter
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
2018-10-15luci-theme-material: fix css to show loading-img againFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>