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
Quirin Hofstaetter
408f45aef3
luci-theme-bootstrap: add license tag
...
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-06-13 13:40:30 +02:00
Jo-Philipp Wich
cdc22eb39d
luci-theme-freifunk: fix a few broken translation directives
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-30 23:07:51 +02: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
Florian Eckert
823d3cc86c
luci-theme-boostrap: add JavaScript warning if disabled
...
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-02-22 10:13:17 +01:00
Florian Eckert
572e5d871e
luci-theme-openwrt: fix JavaScript nameing
...
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-02-22 10:10:57 +01:00
Florian Eckert
f5a5f6cb92
luci-theme-freifunk-generic: fix JavaScript naming
...
Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com>
2017-02-22 10:10:57 +01:00
Jo-Philipp Wich
d0bf6489e9
luci-theme-bootstrap: tune default style select boxes
...
The previous styling made select dropdowns look like disabled text input
fields on Chrome browsers.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-01-02 11:59:21 +01:00
Arjen de Korte
c42b4a3bf9
luci-theme-bootstrap: fix minor CSS errors
...
Signed-off-by: Arjen de Korte \<build+luci@de-korte.org\>
2016-12-10 22:09:50 +01: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
arjendekorte
d4c31c5c90
Update cascade.css
...
The linear-gradient function syntax uses 'to bottom' instead of 'top' for a gradient from top to bottom.
2016-12-05 16:31:32 +01:00
Jo-Philipp Wich
34c2eca4fc
luci-theme-bootstrap: add missing CSS class
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-08-18 09:18:56 +02:00
Hsing-Wang Liao
c44f04952b
luci-theme-bootstrap: Remove jql.min.js which does not exist
...
Fix 404 error
Signed-off-by: Hsing-Wang Liao <kuoruan@gmail.com>
2016-05-31 13:58:39 +08: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
5e113afdd7
luci-theme-openwrt: untangle & refactor header.htm code
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 13:41:06 +01:00
Jo-Philipp Wich
76041e7f99
luci-theme-openwrt: add some style fixes for interface badges
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-02-10 00:47:37 +01:00
Hannu Nyman
c2cf5d1855
Fix embedded links: github instead of luci.subsignal.org
...
Fix links to point into Github repo instead of luci.subsignal.org
- the hint to file a bug in dispatcher
- footers of Bootstrap and Firefunk themes
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2016-02-02 12:07:16 +02: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
Jo-Philipp Wich
c1f7cb36b8
luci-theme-bootstrap: add new utility class for table valign, minor tweaks
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-20 16:59:06 +01:00
Jo-Philipp Wich
c57d60e3e6
luci-theme-bootstrap: css fix for map level tabs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-19 11:00:15 +01:00
Jo-Philipp Wich
1600b600dd
luci-theme-bootstrap: style fixes for map level tabs and disabled buttons
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-18 11:06:35 +01:00
Jo-Philipp Wich
b3c69b123a
luci-theme-bootstrap: fix menu url generation ( #625 )
...
Also untangle Lua code and markup for better readability, use tabs for
indentation and build_url() to construct paths instead of concatenating
them manually.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-17 18:02:32 +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
Hannu Nyman
2a9b2107ba
Merge pull request #522 from LuttyYang/master
...
luci-theme-material: fix some style bugs
2015-10-24 09:33:42 +03: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
Hannu Nyman
a19f97f7ca
Merge pull request #521 from LuttyYang/master
...
luci-theme-material: Synchronized to the LUCI version f9e590a
2015-10-23 20:21:01 +03:00
Hannu Nyman
8f97c6c15b
Revert "luci-theme-material: do not infer login state from url ( #520 )"
...
This reverts commit f9e590aa47
in order to enable a clean merge of the PR #521 from the theme author.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-10-23 20:16:04 +03: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
Jo-Philipp Wich
f9e590aa47
luci-theme-material: do not infer login state from url ( #520 )
...
Checking for `;` in the url is no good indicator whether a user is logged in,
instead query the dispatcher and set a `logged-in` CSS class on the `<body>`
element if a session exists.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-22 21:08:22 +02:00
Hannu Nyman
e8349fbfdf
Merge pull request #513 from LuttyYang/master
...
luci-theme-material: PR from Version 0.2.11
2015-10-13 18:15:05 +03: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
Jo-Philipp Wich
9b75d8ec36
luci-theme-bootstrap: add redir parameter to uci change menu
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 22:21:48 +02:00
Jo-Philipp Wich
36f133f946
luci-theme-material: add redir parameter to uci change menu
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 22:21:36 +02:00
Hannu Nyman
d0f15d9804
Merge pull request #503 from LuttyYang/master
...
luci-theme-material: fix some style bug in LUCI newest version
2015-10-06 15:18:41 +03: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
Jo-Philipp Wich
8023fb9c43
Merge pull request #501 from LuttyYang/master
...
luci-theme-material: PR from version 0.2.6
2015-10-05 20:29:41 +02: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
Hannu Nyman
60e2148d70
themes: remove freifunk-bno theme
...
Remove the freifunk-bno theme as the bno profile itself was removed.
Discussion in https://github.com/openwrt/luci/pull/471
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-09-29 11:44:16 +03: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
Jo-Philipp Wich
31e7adea63
Merge pull request #333 from legendtang/master
...
themes/bootstrap: add media queries to bootstrap-theme for better responsive UI on mobile devices
2015-03-10 18:55:15 +01:00
Legend Tang
291834e707
theme/bootstrap: add a mssing class style in form section ( #298 )
...
NOTE: three <br /> in some luci-app's cbi-tab-descr section which help
to workaround must be removed.
2015-03-01 01:20:33 +08:00
Legend Tang
d6b0448339
add media queries for better responsive UI on mobile devices
...
This is for modern browsers only
2015-02-28 23:08:26 +08:00
Manuel Munz
8b123df287
themes/freifunk-generic: fix error with version string display in header on BB
2015-02-19 20:20:31 +01:00
Christian Schoenebeck
55ab4e4ce2
luci-themes: luci.main.mediaurlbase not set correctly
...
Currently by default theme Bootstrap is installed but
luci.main.mediaurlbase (it holds the current active theme) still has
openwrt.org set.
I did not find the mechanism how LuCI starts Bootstrap theme but the
installation should set luci.main.mediaurlbase correctly.
Signed-off-by: Christian Schoenebeck <christian.schoenebeck@gmail.com>
2015-01-19 21:08:03 +01:00
Jo-Philipp Wich
30d45d0c0e
themes: fix load number formatting
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17 15:17:42 +01:00
Jo-Philipp Wich
4abf1caa3f
luci-theme-openwrt: fix version display
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-17 00:40:31 +01:00
Jo-Philipp Wich
41d2b33087
Update my email addresses in the license headers
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:49:44 +01:00
Jo-Philipp Wich
7a3493b1f7
Globally reduce copyright headers
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:38:38 +01:00
Jo-Philipp Wich
daee4a650e
themes: require luci.version directly
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 21:40:49 +01:00
Jo-Philipp Wich
921df0f3fc
luci-theme-freifunk-generic: switch to nixio.fs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 15:09:02 +01:00
Jo-Philipp Wich
bfbc7f4bdf
themes: eliminate uses of luci.sys.loadavg()
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 14:26:27 +01:00
Jo-Philipp Wich
50b258a1d4
Remove obsolete ipkg directories
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:31:40 +01:00
Jo-Philipp Wich
1bb4822dca
Rework LuCI build system
...
* Rename subdirectories to their repective OpenWrt package names
* Make each LuCI module its own standalone package
* Deploy a shared luci.mk which is used by each module Makefile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00
Freddy Leitner
ae90464447
Update cascade.css
...
Make submenus accessible to screen readers
2014-10-13 17:26:23 +09:00
David Heidelberger
65dbd8527d
themes/bootstrap: make theme usable on touchscreen
...
When using this theme on touchscreen, after selecting menu it won't
allow me select submenu selection. It directly start loading menu
section (unnecessary, because it's always first link in subsection).
It work only at moment, when you are really fast, which is annoying.
Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>
2014-10-10 21:28:47 +02:00
Jo-Philipp Wich
3ebb519411
themes/bootstrap: add missing styles for server side validation errors
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-01 11:09:33 +00:00
Jo-Philipp Wich
7043c30e0e
build: introduce luci-base
...
Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd,
modules/admin-core, themes/base and protcols/core into modules/base and renames
luci-lib-core to luci-base.
2014-06-11 13:29:05 +00:00
Jo-Philipp Wich
29b3a87de2
themes/bootstrap: fix css issue with input fileds within zonebadges ( #556 )
2013-12-03 15:51:54 +00:00
Manuel Munz
2598a2cfd1
themes/freifunk-generic: Fix invalid html
2013-09-19 17:19:17 +00:00
Manuel Munz
b7de5ce7c1
themes/bootstrap: Fixes for mobile devices: add initial scale, don't show hostname in header, partly fixes #481
2013-01-28 22:49:59 +00:00
Manuel Munz
cb178921da
themes/freifunk-generic: minor style fixes, add some space around header logo and header_right
2013-01-21 13:34:12 +00:00
Manuel Munz
1edd63045c
themes/freifunk-generic: Improve display on mobile devices, remove useless css from mobile.css
2013-01-21 09:39:51 +00:00
Jo-Philipp Wich
c369ef0f3d
themes/bootstrap: another round of css fixes
2013-01-04 19:55:54 +00:00
Jo-Philipp Wich
3fce9b3a32
themes/bootstrap: fix a small style quirk observed on firewall overview page
2013-01-04 16:25:06 +00:00
Jo-Philipp Wich
9297ef38c4
themes/bootstrap: fix various css errors
2012-12-23 23:18:17 +00:00
Jo-Philipp Wich
848e43a5b4
remove .i18n annotations from controller files
2012-11-26 12:53:43 +00:00
Jo-Philipp Wich
1a530635c9
themes: add facility to include custom css
2012-11-21 18:36:40 +00:00
Jo-Philipp Wich
9d2e1cf012
themes: remove obsolete javascript files that haven't been used in over two years
2012-11-21 17:36:40 +00:00
Jo-Philipp Wich
c9556c02bb
themes: add cbi-button-download class, whitespace cleanup
2012-11-21 16:04:10 +00:00
Jo-Philipp Wich
ec940ec352
themes/bootstrap: fix highlight of active tabs
2012-11-18 16:30:42 +00:00
Jo-Philipp Wich
ecdf523b07
bootstrap: add padding to body and header areas ( #505 )
2012-11-12 16:49:14 +00:00
Manuel Munz
24ccf0256a
themes/freifunk-generic: increase max-device-width for mobile.css to 854px, #480
2012-11-12 10:06:15 +00:00
Daniel Golle
9939dd2f72
themes/openwrt.org: use ~= instead of not ( ... == ... )
2012-10-02 15:19:23 +00:00
Daniel Golle
1d9cd49387
themes/openwrt.org: fix previous commit
...
how such a simple thing can become to complicated... Forgot the "not"...
2012-10-02 13:53:34 +00:00
Daniel Golle
97470c05f6
themes/openwrt.org: add missing parentheses
...
r9311 introduced a bug which made the "password not set" warning disappear
in all cases instead of just the intended ones. Now fixed.
2012-10-02 13:52:24 +00:00
Daniel Golle
bce5060da6
themes/openwrt.org: disable 'password not set' warning in failsafe mode
...
Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-09-20 02:16:57 +00:00
Daniel Golle
4b51311039
i18n: add RTL-hacks to cascade.css of the Openwrt.org theme
2012-09-16 19:23:17 +00:00
Manuel Munz
f65d05ac2b
add missing css declaration for cbi-button-find
2012-09-12 16:15:54 +00:00
Jo-Philipp Wich
308126fc8b
themes/openwrt: minor css fix
2012-09-11 19:09:33 +00:00
Jo-Philipp Wich
8a23de32d9
themes/base: slight icon changes
2012-09-11 16:30:37 +00:00
Jo-Philipp Wich
57e51eba60
modules/admin-full, modules/admin-core, themes/base: add port status indicators to switch config page
2012-09-11 14:18:28 +00:00
Jo-Philipp Wich
e6dcd4630f
themes/openwrt: allow line-wrap in <small> tags ( #470 )
2012-08-14 15:38:29 +00:00
Jo-Philipp Wich
530a1dc0f3
themes/bootstrap: another minor styling fix
2012-08-08 15:30:05 +00:00
Jo-Philipp Wich
3806a802e2
themes/bootstrap: add some missing classes and minor style fixes
2012-08-08 15:20:13 +00:00
Jo-Philipp Wich
a71e441487
themes: only check password for uid=0 pages, nobody cannot read shadow ( #426 )
2012-06-06 10:44:55 +00:00