Age | Commit message (Collapse) | Author |
|
Signed-off-by: Shun Jou <shunjou@gmail.com>
|
|
Signed-off-by: Shun Jou <shunjou@gmail.com>
|
|
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 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>
|
|
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>
|
|
- 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 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
add button select input theme
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
add footer and loading animation and auto focus switches
compact Fonts
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
fixed "logout" text theme error and "unsaved changes" page dislocation.
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
luci-theme-bootstrap and MUI
Signed-off-by: Lutty Yang <lutty@wcan.in>
|
|
|