Age | Commit message (Collapse) | Author |
|
Fixes #1070.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add the required JS and CSS infrastructure to support rich hover/focus
tooltips for element.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
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>
|
|
This fixes errors reported by LGTM.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|
Signed-off-by: Simon Tretter <simon@mediaarchitectu.re>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Move font selection into custom.css
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
Fixes #1410.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Signed-off-by: Konrad Kreitmair <kreitmair.konrad@web.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
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>
|
|
TDT-AG/pr/20180918-luci-theme-material-css-customize
luci-theme-material: make colors configurable
|
|
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>
|
|
Signed-off-by: Ameer Dawood <ameer1234567890@gmail.com>
|
|
- 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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
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>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Add new style classes required for status page changes.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
luci-theme-material: upgrade jquery
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
Signed-off-by: lutty <lutty@lutty.me>
|
|
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
|
|
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
|
|
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
1) Decrease font and spacing
2) Synchronized to the LUCI version 99f5d4e
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
|
|
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
|
|
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
thanks for jow
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
Signed-off-by: Lutty Yang <lutty@wcan.in>
|