Commit graph

134 commits

Author SHA1 Message Date
Jo-Philipp Wich
fed315a5e3 themes: drop errorbox styles
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31 19:09:51 +02:00
Jo-Philipp Wich
e3bc12da6d themes: unify no-password / no-javascript alert boxes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31 18:57:32 +02:00
Jo-Philipp Wich
79d793dffe themes: adjust CSS for reworked apply widget
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-31 15:38:42 +02:00
Jo-Philipp Wich
879f90d15c luci-theme-material: add new style classes
Add new style classes required for status page changes.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-05-30 14:59:24 +02:00
Jo-Philipp Wich
5e37b724c4
Merge pull request #1827 from Ansuel/luci-map
luci-theme-material: upgrade jquery
2018-05-28 15:19:30 +02:00
Jo-Philipp Wich
97a640c836 themes: add forward-compatibility CSS
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-28 15:18:45 +02:00
Ansuel Smith
2f0c07a2c7
luci-theme-material: upgrade jquery
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-05-26 18:58:45 +02:00
Jo-Philipp Wich
65479e3236 themes: fix CSS class of uci change indicator
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-26 09:30:11 +02:00
Jo-Philipp Wich
736d8fee47 themes: add common class to uci change indicator
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-26 08:26:30 +02:00
Jo-Philipp Wich
731ed77c0b treewide: improve handling of page redirections in uci change views
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-04-05 23:03:01 +02:00
Florian Eckert
2729f128c8 luci-theme-material: add missing css classes
* 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>
2018-03-23 10:31:46 +01:00
lutty
9a067e896d fix some bug and sync some code from luci-theme-bootstrap
Signed-off-by: lutty <lutty@lutty.me>
2017-05-02 12:17:24 +08:00
Hannu Nyman
f7ec630913 luci-theme-material: remove link to distro repo from footer
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-12-10 14:26:34 +02:00
Shuanglei Tao
d16a745b86 luci-theme-material: remove the double slash (//) from menu url
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2016-02-26 00:40:46 +08:00
Lutty Yang
aede64fd78 luci-theme-material: Rasterization Code
Signed-off-by: Lutty Yang <lutty@wcan.in>
2016-02-18 20:34:30 +08:00
Lutty Yang
c63f8be459 luci-theme-material: Decrease font and spacing
1) Decrease font and spacing
2) Synchronized to the LUCI version 99f5d4e

Signed-off-by: Lutty Yang <lutty@wcan.in>
2016-02-18 20:29:19 +08:00
Jo-Philipp Wich
8eaac4b637 Use numeric prefixes for uci-defaults scripts
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-27 16:50:19 +01:00
Shuanglei Tao
c2e6ed898a luci-theme-material: set default font-size to 13px
Ref: https://developer.mozilla.org/en-US/docs/Web/CSS/font-size#Rems

Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
2015-12-27 20:21:02 +08:00
Lutty Yang
1328b89ef8 luci-theme-material: fix some style bugs
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-24 10:14:11 +08:00
Lutty Yang
8296a47c1a luci-theme-material: try find current position by using lua code
thanks for jow

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-23 20:51:12 +08:00
Lutty Yang
9098b20650 luci-theme-material: Synchronized to the LUCI version f9e590a
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-23 12:51:07 +08:00
Lutty Yang
780778e6f9 luci-theme-material: PR from Version 0.2.11
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-13 23:07:16 +08:00
Lutty Yang
7567f2d01f luci-theme-material: fix some style bug in LUCI newest version
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-06 20:14:27 +08:00
Lutty Yang
a5ae384c8f luci-theme-material: PR from version 0.2.6
PR from version 0.2.6

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-10-05 22:01:42 +08:00
Lutty Yang
5a0c3bbfa9 luci-theme-material: add button select input theme
add button select input theme

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-20 12:08:44 +08:00
Lutty Yang
fea55f75c7 luci-theme-material: add some new features and fix some bugs
add footer and loading animation and auto focus switches
compact Fonts

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-19 17:22:54 +08:00
Lutty Yang
cf0623f4f5 luci-theme-material: fix font size bug
fix "textarea font-size too big in firefox"

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18 16:22:39 +08:00
Lutty Yang
e04e263adf luci-theme-material: fix Polish text longer bug
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18 13:51:15 +08:00
Lutty Yang
2237aab76b luci-theme-material: fix some bug
fixed "logout" text theme error and "unsaved changes" page dislocation.

Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-18 11:32:44 +08:00
Lutty Yang
6c1a2e3483 luci-theme-material: fix no password set, Luci displays information is illegible.
Fixed the visibility of "no password set" warning.

Signed-off-by: Lutty Yang<lutty@wcan.in>
2015-09-17 21:03:01 +08:00
Lutty Yang
c332c66031 Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
Signed-off-by: Lutty Yang <lutty@wcan.in>
2015-09-17 16:19:48 +08:00
Lutty Yang
cdf3122db2 fix path error 2015-09-16 22:02:21 +08:00
Lutty Yang
97d3497c46 fix path error 2015-09-16 21:30:50 +08:00
Lutty Yang
b825a140fd init Material Design theme 2015-09-16 19:59:17 +08:00