summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020
AgeCommit message (Collapse)Author
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-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-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-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-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-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-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>