shunjou
ba6f7b6d33
luci-theme-material: optimize brand logo
...
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29 04:10:38 -05:00
shunjou
9603990cb1
luci-theme-material: remove obsolete header info
...
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-29 04:10:18 -05:00
Dirk Brenken
98cde82e4d
Merge pull request #2342 from dibdot/fw
...
luci-app-firewall: remove hinting
2018-11-28 13:59:30 +01:00
Dirk Brenken
8db75255f7
luci-app-firewall: remove hinting
...
Remove firewall hinting as discussed in #2340
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-28 13:55:42 +01:00
Jo-Philipp Wich
7669791300
Merge pull request #2341 from brvphoenix/luci-theme-material
...
luci-theme-material: add the missing modal/progressbar rules.
2018-11-28 13:39:49 +01:00
brv phoenix
6dac41a9b4
luci-theme-material: add the missing modal/progressbar rules.
...
Signed-off-by: brv phoenix <feixuekaka1@gmail.com>
2018-11-28 19:27:46 +08:00
Jo-Philipp Wich
4fe427ebcd
Merge pull request #2329 from TDT-AG/pr/20181123-luci-theme-material
...
luci-theme-material: add missing css cbi-section-error definitions
2018-11-27 23:46:08 +01:00
Jo-Philipp Wich
7e2b21d9b4
Merge pull request #2335 from shunjou/material-favicon
...
luci-theme-material: add new favicon
2018-11-27 23:44:24 +01:00
Jo-Philipp Wich
5c98bad93b
Merge pull request #2309 from rbalik/patch-1
...
luci-mod-network: Add DAE settings to security tab
2018-11-27 23:43:23 +01:00
Jo-Philipp Wich
5c9d13f634
Merge pull request #2336 from TDT-AG/pr/20181127-luci-app-openvpn
...
luci-app-openvpn: Add missing config options
2018-11-27 15:28:05 +01:00
Jo-Philipp Wich
2509b5984d
luci-base: dispatcher: use consistent ordering
...
Use the same ordering logic for building the dispatch tree and for
querying the children of a given node.
Fixes #2338 .
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27 15:25:05 +01:00
Jo-Philipp Wich
2e36e09303
luci-base: dispatcher: remove tree modifier support
...
This feature was never used, is hardly documented and appears to be
designed to fiddle with the internal dispatch tree state.
Given that, simply drop the related code to simplify the dispatcher
class somewhat.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27 14:46:55 +01:00
Jo-Philipp Wich
9cd5f6befd
luci-theme-bootstrap: allow tabmenus to wrap ( #2333 )
...
Allow the tab menu line to wrap around on narrow screens to fix the issue
reported in PR #2333 .
Also add the .nowrap utility class to the Bootstrap theme while we're
touching it.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-27 13:58:58 +01:00
Florian Eckert
34482625ec
luci-app-openvpn: add missing ncp_ciphers option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:09:57 +01:00
Florian Eckert
78cc310cf4
luci-app-openvpn: add missing verify_client_cert option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:09:57 +01:00
Florian Eckert
4fd92b1f52
luci-app-openvpn: add missing compress option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Florian Eckert
6f90546bd8
luci-app-openvpn: predefining the dropdown for the cipher option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Florian Eckert
8911f4f87b
luci-app-openvpn: add missing ncp_disable option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
Florian Eckert
0f3e1a81e9
luci-app-openvpn: add missing allow_recursive_routing option
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-27 10:05:28 +01:00
shunjou
168d80aaa7
luci-theme-material: add new favicon
...
Also remove logo.png as it is unused.
Signed-off-by: Shun Jou <shunjou@gmail.com>
2018-11-26 21:31:30 -05:00
Dirk Brenken
a7123c5e69
Merge pull request #2331 from dibdot/ovpn
...
luci-app-openvpn: "final" changeset
2018-11-26 15:21:42 +01:00
Dirk Brenken
0f8e36f214
luci-app-openvpn: "final" changeset
...
* add 'auth-user-pass' edit section in file mode (see screenshot)
* add port & protocol detection in file mode (see screenshot)
* don't mix file & normal edit modes any longer
* add CC compatibility fix (for turris devices)
* fix/refine JS instance name filter
* remove needless CSS rules
* unlink ovpn/auth files on section removal
* commit changes instantly (Add/Upload/Delete)
Signed-off-by: Dirk Brenken <dev@brenken.org>
2018-11-26 13:19:52 +01:00
Hannu Nyman
26e903c740
luci-mod-network: adapt to current 802.11r defaults
...
The default for 802.11r option ft_psk_generate_local
was changed a few months ago by openwrt/openwrt@3cc56a5
That change was a bit awkward, as it made hostapd to
overlook the possibly existing r0kh values by default
unless the user explicitly disables the new default.
Adapt LuCI by changing the default for ft_psk_generate_local
into 'enabled'.
But ensure that LuCI does not delete the existing key values
by not making the r0kh and r1kh fields to depend on this.
Note that this is just a quick fix for the wrong default value
causing problems, but not yet a complete fix for all the options.
In the long run it might be better to make the detail options
to depend on local generation.
Reference also to LuCI PR #2102
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2018-11-25 09:00:35 +02:00
Jo-Philipp Wich
548281773d
luci-mod-network: remove debug code from iface_status.js
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-24 21:32:33 +01:00
Jo-Philipp Wich
12ed0274a9
luci-base: CSS accessibility improvements for modal dialog
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-24 21:31:28 +01:00
Jo-Philipp Wich
4bd7f4ba42
luci-mod-network: move wifi and iface status JS into external files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:47:44 +01:00
Jo-Philipp Wich
f73dc51ea1
luci-mod-network: move wifi scan JS into external file
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:44:18 +01:00
Jo-Philipp Wich
1eea921df0
luci-base: modal accessibility fix, wrap XHR.stop()
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:44:18 +01:00
Jo-Philipp Wich
b80cea293e
luci-mod-network: wifi scan CSS tweaks
...
Hide less important fields for mobile views.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:11:28 +01:00
Jo-Philipp Wich
c4fb418b70
luci-mod-system: sshkeys CSS tweak
...
Overflow pubkey preview to the left, not to the right.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:11:28 +01:00
Jo-Philipp Wich
c270d48cdd
luci-theme-bootstrap: add responsive CSS
...
Add responsive CSS to improve the rendering on small screen devices.
Tested on Mobile Safari using an iPhone 5 and iPhone 6, ymmv for other
platforms.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-23 15:11:28 +01:00
Florian Eckert
57b8d305af
luci-theme-material: add missing css cbi-section-error definitions
...
Add the missing error css class definitions.
Highlights the wrong inputs detected by the cbi validation function.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-11-23 13:17:41 +01:00
Jo-Philipp Wich
42310095df
Merge pull request #2328 from tano-systems/fix-translate-arg
...
luci-mod-network: fix invalid translate() argument pass
2018-11-23 10:14:49 +01:00
Anton Kikin
c7a3c5cccc
luci-mod-network: fix invalid translate() argument pass
...
We must pass to the translate() a string without substituted zone name.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-11-23 00:46:51 +03:00
Jo-Philipp Wich
db2bfb24ad
Merge pull request #2325 from YuriPet/master
...
luci-base & luci-app-opkg: update Ukrainian translation
2018-11-22 18:51:12 +01:00
Jo-Philipp Wich
241b90c7f6
luci-base: do not trigger form action when revealing password
...
Ref: https://github.com/openwrt/luci/issues/2327
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 14:47:56 +01:00
Yurii
77766884b6
luci-app-opkg: update Ukrainian translation
...
Signed-off-by: Yurii yuripet@gmail.com
2018-11-22 14:09:12 +02:00
Yurii
5bc4902811
luci-base: update Ukrainian translation
...
Signed-off-by: Yurii yuripet@gmail.com
2018-11-22 14:07:45 +02:00
Jo-Philipp Wich
6a0c1d1ab6
luci-mod-status: move index and iptables page JS code into external files
...
Also adjust the Bootstrap and OpenWrt themes accordingly
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 13:07:33 +01:00
Jo-Philipp Wich
a03ec60696
luci-mod-network: move wifi overview markup and JS code into external files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Jo-Philipp Wich
f598b10c49
luci-mod-network: move interface overview JS into external file
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Jo-Philipp Wich
7c16decdb4
luci-base: move DOM manipulation functions to luci.js
...
Introduce a new luci.dom class which groups the DOM manipulation helpers
such as E(), findParent(), matchesElem() etc.
Provide wrappers for the old functions to ease the transition to the new
functions.
Also add a new widget helper function L.itemlist() which consolidates
the item enumeration formatting code found on various pages.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Jo-Philipp Wich
14487071db
luci-app-opkg: allow presetting filter via query attribute
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:58:34 +01:00
Jo-Philipp Wich
84d50a6044
luci-mod-system: move password and sshkey JS code into external files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:49:14 +01:00
Jo-Philipp Wich
b8e341c20e
luci-app-opkg: move JS code into external file
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:49:14 +01:00
Jo-Philipp Wich
05860e31f2
luci-base: cbi.js: remove functions moved to luci.js
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:49:14 +01:00
Jo-Philipp Wich
706c6836e4
luci-base: introduce common JavaScript api
...
Introduce a new script file luci.js which is included by default and
intended to be the common location of functions currently scattered
in cbi.js and xhr.js.
The luci.js file provides a LuCI() class which - among other things -
implements helpers to construct URL paths and making HTTP requests.
A singleton instance of the class is instantiated as window.L upon
load and preset with the necessary environment information.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:49:14 +01:00
Jo-Philipp Wich
17690f2d73
build: add build option to minify *.js files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-22 12:49:14 +01:00
Dirk Brenken
9b7f606dc6
Merge pull request #2323 from musashino205/l10n/base-upd-ja
...
luci-base: update Japanese translation
2018-11-22 12:09:52 +01:00
Dirk Brenken
626fa0f15c
Merge pull request #2317 from TDT-AG/pr/20181121-luci-app-openvpn
...
luci-app-openvpn: redirect to overview page on save/apply, hide boolean by default and cleanup code
2018-11-22 12:09:19 +01:00