summaryrefslogtreecommitdiffhomepage
path: root/themes
AgeCommit message (Collapse)Author
2021-06-17luci-theme-openwrt-2020: fix spinning disk animationJo-Philipp Wich
Fixes: #4824 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-13luci-theme-bootstrap: mobile style fixes for vlan filter matrixJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-06-02Merge pull request #4985 from ↵Jo-Philipp Wich
j123b567/feature_luci-theme-openwrt-2020_mainmenu-submenu-tweek luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visible
2021-06-02Merge pull request #5062 from SvenRoederer/issue_5051Jo-Philipp Wich
luci-theme-openwrt-2020: use SVG-file for favicon and logo
2021-06-01luci-theme-bootstrap: add svg help icon to form field descriptionsJo-Philipp Wich
The still referenced help.gif icon is absent by default since it has been moved to luci-compat. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-05-23luci-theme-openwrt-2020: use SVG-file for favicon and logoSven Roederer
Using the scalable graphic in place of the static png file saves some ressources in flash and network. It also aligns the filetype to the type announced to the browser. fixes GitHub-issue #5051 Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.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>
2021-04-13luci-theme-openwrt-2020: remove submenu margin-bottom when submenu not visibleJan Breuer
Signed-off-by: Jan Breuer <jan.breuer@jaybee.cz>
2021-04-09luci-theme-openwrt-2020: honor CSS definitions passed by viewsJo-Philipp Wich
Legacy Lua views might declare a global `css` variable to inject custom styles into the template header. Support this mechanism in the OpenWrt 2020 theme as well. Ref: https://github.com/openwrt/luci/issues/4972 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-11luci-theme-openwrt-2020: add missing css success colorFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2021-03-01luci-theme-openwrt-2020: rework table stylesJo-Philipp Wich
Target table, tr, th and td tags directly and stop using the corresponding CSS class names. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-01Revert "luci-mod-status: allow displaying raw iptables counter values"Jo-Philipp Wich
This reverts commit 52caa1dc96ed6fde5c4b84f4f7f2a7429694f69c since it contained unrelated changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-01luci-mod-status: allow displaying raw iptables counter valuesJo-Philipp Wich
Fixes: #4852 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-02-24luci-mod-failsafe: kill old failsafe modDaniel Golle
It's been unmaintained for ages and became useless. Better just limit regular luci-mod-admin to only show basic functionality in case `ubus call system board` indicates we are running off initramfs. Singed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-02-04luci-theme-openwrt-2000: Add doctype to headerBryan Forbes
Fix table rendering in the small responsive breakpoint on Safari (which ignores `display: block;` for `<td>` elements). Signed-off-by: Bryan Forbes <bryan@reigndropsfall.net>
2020-12-29luci-theme-rosy: Remove BROKEN themeHannu Nyman
The Rosy theme has been marked broken for over a year, since 23 Dec 2019. Remove it now, so that it does not get into the next release branch 20.xx (or 21.xx). Reference to https://github.com/openwrt/luci/issues/3759#issuecomment-599436159 Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-12-27luci-theme-bootstrap: fix text wrapping in buttonsDirk Brenken
* should fix #4647 Signed-off-by: Dirk Brenken <dev@brenken.org>
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-06-16luci-theme-openwrt-2020: link hostname to index pageRussell Morris
In the Material theme, clicking on the logo takes you to the status page. This seems logical, and is very helpful. But in OpenWrt 2020, clicking on the hostname doesn't do anything, so just pulling the same href from Material so the link works in this theme as well. Signed-off-by: Russell Morris <rmorris@rkmorris.us> [adjust subject, commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-06-16luci-theme-bootstrap: update href for Bootstrap "brand"Russell Morris
In the Material theme, clicking on the logo takes you to the status page. This seems logical, and is very helpful. But in Bootstrap, it doesn't do anything, so just pulling the same href from Material to Bootstrap, so the link works in Bootstrap as well. Signed-off-by: Russell Morris <rmorris@rkmorris.us> [adjust commit subject, squash commits] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-04luci-theme-rosy: fix Makefile file modFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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-05-02luci-theme-openwrt-2020: add control-group style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-openwrt-2020: disabled widget style tweaksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-bootstrap: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-openwrt: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16luci-theme-openwrt-2020: rework menu renderingJo-Philipp Wich
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree in the local session store. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-theme-openwrt-2020: add styles for disabled input elementsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-14luci-theme-openwrt-2020: remove xhr_poll_status markupJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-08Merge pull request #3819 from ptpt52/themeJo-Philipp Wich
set mediaurlbase only when it is the first time to be installed
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-04-03luci-theme-bootstrap, luci-theme-openwrt-2020: fix dynlist overflowsJo-Philipp Wich
Fixes: #3795 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-02luci-theme-openwrt-2020: properly handle invalid checkbox stateJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-01luci-theme-openwrt-2020: fix truncated error badges in tabsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-31luci-theme-openwrt-2020: fix trailing comma in CSSJo-Philipp Wich
Since the trailing comma rule is combined with other selectors by CSSmin, the resulting minified stylesheet has some unexpected margin quirks. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-31luci-theme-openwrt: work around cssmin bug breaking the minified CSS.Jo-Philipp Wich
The cssmin utility incorrectly breaks up calc() expressions when minifying rules. Avoid the problem by trimming uneeded spaces. Fixes: #3801 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-30themes: generalize indicator markup and stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-29luci-theme-openwrt-2020: further layout tweaksJo-Philipp Wich
- Properly format mode menu - Fadeout of truncated cell labels in mobile layout - Limit maximum width of modal overlays Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-28luci-theme-openwrt-2020: fix a number of iPad / iOS 13 quirksJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-27luci-theme-openwrt-2020: improve compatibility with luci-theme-bootstrapJo-Philipp Wich
- Style input fields without type to treat them like text inputs - Style modal overlay as flex column to fix float clearing with adblock 4 - Add margin to standalone textareas Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-27luci-theme-bootstrap: dynamically adjust body marginJo-Philipp Wich
Fixes: #3722 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-26themes: add new theme OpenWrt 2020Jo-Philipp Wich
Introduce a new theme modelled after the logo guidelines published in https://openwrt.org/_media/docs/guide-graphic-designer/openwrt-logo-usage-guidelines.pdf Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-24luci-theme-bootstrap: fixup assoclist stylingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 3b40c582baefcb302fb23ed633ed85ab1ac72a9e)
2020-03-15themes: ensure that data-page attribute is escapedJo-Philipp Wich
Fixes: #3757 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-04luci-theme-bootstrap: fix overview wireless display quirksJo-Philipp Wich
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>