summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt/htdocs
AgeCommit message (Collapse)Author
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-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>
2019-12-25Merge pull request #3401 from MartB/modal-heightfixv2Jo-Philipp Wich
luci-theme-*: remove modal max-height #3383 v2
2019-12-16luci-theme-openwrt: 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-11-16treewide: fix "Unhandled token" errors with Lua CBI mapsJo-Philipp Wich
The `data-type` attribute is used to bind datatype validators to a widget while some templates used the same attribute to denote the name of the underlying widget. Change the `data-type` attributes referring to the widget name to `data-widget` in order to stop the JS token error spam. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-10themes: add necessary styles for ComboButtonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-24luci-theme-openwrt: fix scrolling issue in syslogmpratt14
Depending on the browser, it is sometimes difficult to scroll if moused over or after clicking or highlighting text. I often have to click outside the text to be able to scroll again. The browser perceives that there is scrolling space/content within the <textarea> element because it is almost, but not exactly, the same size as its parent <div> element, when in reality, there is no more text content. This causes scrolling within the element with a range of just a few pixels, and the rest of the page remains static. This is easily solved by adding the "overflow-y" property with value "hidden". Tested by myself on Chrome 64-bit Windows 10 Signed-off-by: Michael Pratt <mpratt51@gmail.com> [rewrap commit message, fix Sob syntax] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10luci-theme-openwrt: add required CSS rules for new tabbing codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-10luci-theme-openwrt: style tweaksJo-Philipp Wich
- Collapse table borders by default - Vertically align table cell content - Inherit font family and size for form widgets - Fix redundant horizontal padding for cell labels Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-02luci-theme-bootstrap, luci-theme-openwrt: allow dynlist item content to wrapJo-Philipp Wich
Very long values without whitespace can easily overflow the dynlist item container, so allow the browser to forcibly break such lines. Reported-by: Hannu Nyman <hannu.nyman@iki.fi> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-24luci-base: CSS accessibility improvements for modal dialogJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22luci-mod-status: move index and iptables page JS code into external filesJo-Philipp Wich
Also adjust the Bootstrap and OpenWrt themes accordingly Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-20luci-theme-bootstrap, luci-theme-openwrt: allow dynlist .add-item to expandJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-15luci-theme-openwrt: modal display fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-theme-openwrt: modal/progressbar rules, mobile improvementsJo-Philipp Wich
- Add rules for modal dialogs and progress bar widgets - Increase button and input size on mobile devices - Convert pt to px units - Add label and h5 styles - Add common flash and spin utility classes Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-base, themes: dropdown behaviour improvementsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-14luci-theme-openwrt: dropdown style tweaksJo-Philipp Wich
- Remove 2em min height, this looks out of place with the OpenWrt theme - Only colorize invalid dropdown when not open - Drop use of image background for invalid fields while we're at it Signed-off-by: Jo-Philipp Wich <jo@mein.io>
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-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-08-13treewide: rework uci change displayJo-Philipp Wich
- Use native rpcd uci changes format instead of incompletely converting back and forth between the old and the new format - Rework uci changelog template to print the equivalent uci commands for the various changes - Rework theme headers to properly count the uncomitted changes - Rework theme CSS to properly style new changelog Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-08luci-mod-admin-full: fix broken applyreboot pageAnsuel Smith
This improve applyreboot page and fix problem with luci-nginx that doesn't refresh the page when the router reboot. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-29luci-theme-openwrt: style tweaks for DSL status displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-theme-openwrt: fix button placement quirkJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-23luci-theme-openwrt: add styling for input-adjacent buttonsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-22luci-theme-openwrt: support rendering tblsection cell descriptionsJo-Philipp Wich
Add support for rendering the "data-description" attribute when rendering decomposed tables for small screen resolutions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18luci-theme-openwrt: fix another instance of misplaced page action buttonJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-18luci-theme-openwrt: fixes for page action button placementJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-13luci-theme-openwrt: cleanup CSSJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12luci-theme-openwrt: consolidate font sizes and button stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09luci-theme-openwrt: add CSS fixes for IE 11Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-02luci-theme-openwrt: minor mobile style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-02luci-theme-openwrt: add further style tweaksJo-Philipp Wich
- slightly increase button color saturation - unify margins and paddings Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-26luci-theme-openwrt: add some compatibility stylesJo-Philipp Wich
Add a few CSS rules and general tweaks improving the look of legacy markup. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-theme-openwrt: rework and polish OpenWrt themeJo-Philipp Wich
- polish styling - move main menu to the left for large resolutions and collapse into dropdown header bar for small mobile resolutions - make tables responsive by utilizing extra attributes to turn rows into wrappable flexboxes for low resolutions - mostly get rid of button icon references and use a uniform color scheme for action-, positive, negative and neutral buttons Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-08luci-base: add markup, JS and CSS for new dropdownJo-Philipp Wich
This commit introduces the required code for a new, markup based dropdown widget which can be used as a styleable alternative to select boxes or radio/checkbox button groups. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31themes: drop errorbox stylesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31themes: unify no-password / no-javascript alert boxesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31themes: adjust CSS for reworked apply widgetJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30luci-theme-openwrt: add new style classesJo-Philipp Wich
Add new style classes required for status page changes, also drop old Internet Explorer compatibility CSS. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28themes: add forward-compatibility CSSJo-Philipp Wich
Subsequent changes will largely replace tables with div based markup, so add forward compatibility style rules to keep the rendering intact. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-02-10luci-theme-openwrt: add some style fixes for interface badgesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>