summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt
AgeCommit message (Collapse)Author
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-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-09-29themes: add data-page attribute to body elementsJo-Philipp Wich
This is useful to write page specific CSS rules. Also fix a missing space in the body CSS class name in the bootstrap theme while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-19modules: Make luci-base sufficient to use luci appsDaniel F. Dickinson
Per the discussion in https://github.com/openwrt/luci/issues/869, make luci-base sufficient to login, logout, and review and apply or revert uci changes. This allows most luci-app-xxx to work without having luci-mod-admin-full installed. It has been tested with some apps and not luci-mod-admin-full, as well as with luci-mod-admin-full (to make sure the usual case doesn't break). Instead of creating a new module namespace (e.g. 'Base') we reduce the opportunities for breakage by having luci-base take over the 'shell' of the 'Administration' (admin/....) namespace. Since admin is assumed by all current building LuCI components (including Freifunk), this doesn't introduce the 'Administration' tab into any situation where it would not already be present (but includes it where it was before). We also add a "Component not installed" page to avoid fatal errors and backtrace when e.g. luci-mod-admin-full is not installed. Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
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-09treewide: always include cbi.jsJo-Philipp Wich
Include cbi.js in the main header template like it is done for xhr.js and remove the page specific includes. 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>
2018-04-26themes: add common class to uci change indicatorJo-Philipp Wich
Add a common CSS class name to the change indicator and modify the openwrt.org theme to hide it when no changes are present, similar to all other themes. This is needed for upcoming uci apply handling changes to be able to auto-hide the indicator without page reload after an apply. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-05treewide: improve handling of page redirections in uci change viewsJo-Philipp Wich
Instead of passing the full LuCI request url, pass the relative resolved request path instead and filter the received value through the lookup() dispatcher function to only allow paths to actual internal pages. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-02-22luci-theme-openwrt: fix JavaScript nameingFlorian Eckert
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2016-02-10luci-theme-openwrt: untangle & refactor header.htm codeJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10luci-theme-openwrt: add some style fixes for interface badgesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27Use numeric prefixes for uci-defaults scriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-19luci-themes: luci.main.mediaurlbase not set correctlyChristian Schoenebeck
Currently by default theme Bootstrap is installed but luci.main.mediaurlbase (it holds the current active theme) still has openwrt.org set. I did not find the mechanism how LuCI starts Bootstrap theme but the installation should set luci.main.mediaurlbase correctly. Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-17themes: fix load number formattingJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17luci-theme-openwrt: fix version displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Update my email addresses in the license headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16Globally reduce copyright headersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16themes: require luci.version directlyJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15themes: eliminate uses of luci.sys.loadavg()Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08Remove obsolete ipkg directoriesJo-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>