summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
AgeCommit message (Collapse)Author
2018-09-25luci-theme-material: fix whitspaces and change modeFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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-09-18Merge pull request #2159 from ↵Jo-Philipp Wich
TDT-AG/pr/20180918-luci-theme-material-css-customize luci-theme-material: make colors configurable
2018-09-18luci-theme-material: make colors configurableFlorian Eckert
The var() css function can be used to insert the value of a custom property. A custom.css file is added to change the colors. This file will get included in the cascade.css file. The following colors could be costomized in the file costom.css. --header-bg --header-color --menu-bg-color --menu-color --submenu-bg-hover --submenu-bg-hover-active Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-14luci-theme-material: Monospace font for textarea elementsAmeer Dawood
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.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-08-07luci-theme-material: fix theme for applyreboot page changesAnsuel Smith
This rename style.css to casade.css (like the other themes) and fix the css to display the header even in the applyreboot page Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-07-13luci-theme-material: table and button style fixesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09luci-theme-material: table layout fixes and minor CSS correctionsJo-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-06-26luci-theme-material: fix switch status displayJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-06-23luci-theme-material: align CSS with markup changesJo-Philipp Wich
Add the bare minimum of changes to make the theme render correctly with the latest markup, requires further refinement and tuning in the future. 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-material: add new style classesJo-Philipp Wich
Add new style classes required for status page changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-28Merge pull request #1827 from Ansuel/luci-mapJo-Philipp Wich
luci-theme-material: upgrade jquery
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-05-26luci-theme-material: upgrade jqueryAnsuel Smith
This upgrade jquery to latest version and solve 404 error for the useless .map file. Also it's 85kb instead of 97kb Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2018-04-26themes: fix CSS class of uci change indicatorJo-Philipp Wich
The previous commit incorrectly added a new class attribute without considering existing ones. Fixes 736d8fee4 ("themes: add common class to uci change indicator") 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>
2018-03-23luci-theme-material: add missing css classesFlorian Eckert
* Add missing css class danger * Add missing css class success * Update background color for css class warning Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2017-05-02fix some bug and sync some code from luci-theme-bootstraplutty
Signed-off-by: lutty <lutty@lutty.me>
2016-12-10luci-theme-material: remove link to distro repo from footerHannu Nyman
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-26luci-theme-material: remove the double slash (//) from menu urlShuanglei Tao
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-02-18luci-theme-material: Rasterization CodeLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2016-02-18luci-theme-material: Decrease font and spacingLutty Yang
1) Decrease font and spacing 2) Synchronized to the LUCI version 99f5d4e Signed-off-by: Lutty Yang <lutty@wcan.in>
2016-01-27Use numeric prefixes for uci-defaults scriptsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-12-27luci-theme-material: set default font-size to 13pxShuanglei Tao
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2015-10-24luci-theme-material: fix some style bugsLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-23luci-theme-material: try find current position by using lua codeLutty Yang
thanks for jow Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-23luci-theme-material: Synchronized to the LUCI version f9e590aLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-13luci-theme-material: PR from Version 0.2.11Lutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-06luci-theme-material: fix some style bug in LUCI newest versionLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-05luci-theme-material: PR from version 0.2.6Lutty Yang
PR from version 0.2.6 Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-20luci-theme-material: add button select input themeLutty Yang
add button select input theme Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-19luci-theme-material: add some new features and fix some bugsLutty Yang
add footer and loading animation and auto focus switches compact Fonts Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18luci-theme-material: fix font size bugLutty Yang
fix "textarea font-size too big in firefox" Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18luci-theme-material: fix Polish text longer bugLutty Yang
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18luci-theme-material: fix some bugLutty Yang
fixed "logout" text theme error and "unsaved changes" page dislocation. Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-17luci-theme-material: fix no password set, Luci displays information is ↵Lutty Yang
illegible. Fixed the visibility of "no password set" warning. Signed-off-by: Lutty Yang<lutty@wcan.in>
2015-09-17Material is a clean HTML5 theme for LuCI. It is based on ↵Lutty Yang
luci-theme-bootstrap and MUI Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-16fix path errorLutty Yang
2015-09-16fix path errorLutty Yang
2015-09-16init Material Design themeLutty Yang