summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material
AgeCommit message (Collapse)Author
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-theme-material: add invalid input classJo-Philipp Wich
Fixes #1070. 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-10-28Add missing variable declarations in JavaScript codeStefan Weil
This fixes errors reported by LGTM. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-10-21luci-theme-material: Add main color variableSimon Tretter
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
2018-10-15luci-theme-material: fix css to show loading-img againFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-01luci-theme-material: fix word wrap on german i18n for usernameFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-10-01luci-theme-material: make font configurableFlorian Eckert
Move font selection into custom.css Signed-off-by: Florian Eckert <fe@dev.tdt.de>
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-27luci-theme-material: do not double escape menu titlesJo-Philipp Wich
Fixes #1410. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-09-26luci-theme-material: fix partly hidden logout navbar itemFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
2018-09-26luci-theme-material: add logo brandFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
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>