Jo-Philipp Wich
82a469f75f
luci-app-acl: add initial version of login management module
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Jo-Philipp Wich
7882f3ebdd
luci-base: ui.js: hide unsatisfied firstchild menu nodes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Jo-Philipp Wich
2dbd9ff245
luci-mod-status: hide DHCP and assoclist on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Jo-Philipp Wich
a0db2abea3
luci-mod-status: index.js: skip includes which failed loading
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 23:25:22 +02:00
Dirk Brenken
44ee223571
Merge pull request #3927 from JonnyTischbein/master
...
luci-app-dawn: Rewrite of Dawn Hearing Map in Table Form
2020-04-18 21:13:15 +02:00
Jo-Philipp Wich
8b5278e8c7
luci-app-transmission: fix ACL group name
...
Fixes: d733520d6
("luci-app-transmission: add ACL definitions")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 19:37:26 +02:00
Jo-Philipp Wich
d733520d6b
luci-app-transmission: add ACL definitions
...
Ref: https://bugs.openwrt.org/index.php?do=details&task_id=3000
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-18 19:34:37 +02:00
Dirk Brenken
1f082a6ac6
Merge pull request #3928 from tobiaswaldvogel/fix_luci_app_statistics_plugin_df
...
luci_app_statistics: Add missing variable declaration for plugin df
2020-04-18 16:04:26 +02:00
Tobias Waldvogel
9277333930
Add missing variable declaration for luci_app_statistics plugin df
...
Signed-off-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
2020-04-18 15:27:54 +02:00
Hannu Nyman
d04b8bfc82
luci-app-statistics: fix ACL name
...
Fix the ACL name.
Instead of referencing openvpn, use the statistics ACL.
Fixes commit 8f34e105c0
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2020-04-18 14:37:36 +03:00
Jonny Tischbein
59d426f20b
luci-app-dawn: hearing map with div tables
...
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
2020-04-18 12:54:34 +02:00
Jonny Tischbein
f25910a644
luci-app-dawn: rewrite dawn hearing map in table form
...
Signed-off-by: Jonny Tischbein <jonny_tischbein@systemli.org>
2020-04-18 10:26:09 +02:00
Dirk Brenken
f32978674b
luci-app-openvpn: parse extended 'remote' syntax as well
...
* parse special 'remote' syntax (remote <host> <port> <proto> as well
(removed in last commit by accident)
Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-18 09:31:39 +02:00
Dirk Brenken
d4fef2cc64
luci-app-openvpn: relax port/protocol parser
...
* relax port/protocol parser for ovpn files
* limit protocol to 'udp' or 'tcp'
Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-18 08:57:36 +02:00
Hannu Nyman
1dbcc737fe
Merge pull request #3923 from weblate/weblate-openwrt-luci
...
Translations update from Weblate
2020-04-18 09:28:59 +03:00
Hosted Weblate
d4b039304d
Translated using Weblate (Portuguese)
...
Currently translated at 28.4% (27 of 95 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 100.0% (41 of 41 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 27.7% (10 of 36 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 27.3% (26 of 95 strings)
Translation: OpenWrt/LuCI/applications/vpn-policy-routing
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpn-policy-routing/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 92.6% (38 of 41 strings)
Translation: OpenWrt/LuCI/applications/https-dns-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationshttps-dns-proxy/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 100.0% (27 of 27 strings)
Translation: OpenWrt/LuCI/applications/vpnbypass
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsvpnbypass/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 100.0% (41 of 41 strings)
Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 67.3% (68 of 101 strings)
Translation: OpenWrt/LuCI/applications/simple-adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssimple-adblock/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Portuguese)
Currently translated at 100.0% (1349 of 1349 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/pt/
Signed-off-by: ssantos <ssantos@web.de>
Translated using Weblate (Russian)
Currently translated at 68.8% (42 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 14.8% (8 of 54 strings)
Translation: OpenWrt/LuCI/applications/nft-qos
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnft-qos/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 100.0% (64 of 64 strings)
Translation: OpenWrt/LuCI/applications/dnscrypt-proxy
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsdnscrypt-proxy/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 11.3% (15 of 132 strings)
Translation: OpenWrt/LuCI/applications/nut
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsnut/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (190 of 190 strings)
Translation: OpenWrt/LuCI/applications/openvpn
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsopenvpn/ru/
Translated using Weblate (Russian)
Currently translated at 96.2% (78 of 81 strings)
Translation: OpenWrt/LuCI/applications/splash
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssplash/ru/
Translated using Weblate (Russian)
Currently translated at 68.8% (42 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 68.8% (42 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 67.2% (41 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 67.2% (41 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 55.7% (34 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 55.7% (34 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 54.0% (33 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 54.0% (33 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 49.1% (30 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 49.1% (30 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 45.9% (28 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 44.2% (27 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
2020-04-17 23:40:46 +02:00
Jo-Philipp Wich
f4651cb129
treewide: fix trailing commans in ACL JSON files
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 23:40:14 +02:00
Jo-Philipp Wich
71e22c1c34
luci-base: fix trainling comma in ACL specification
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 16:26:46 +02:00
Jo-Philipp Wich
0bc2970640
build: i18n-scan.pl: make ACL descriptions translatable
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 16:12:03 +02:00
Hannu Nyman
d516e2247e
Merge pull request #3922 from weblate/weblate-openwrt-luci
...
Translations update from Weblate
2020-04-17 16:15:59 +03:00
Hosted Weblate
806b0d2a20
Translated using Weblate (Russian)
...
Currently translated at 44.2% (27 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 44.2% (27 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 42.6% (26 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 42.6% (26 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 40.9% (25 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 40.9% (25 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 39.3% (24 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 39.3% (24 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 36.0% (22 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 36.0% (22 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 34.4% (21 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 34.4% (21 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 32.7% (20 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 32.7% (20 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: sergio <sergio+it@outerface.net>
Translated using Weblate (Russian)
Currently translated at 26.2% (16 of 61 strings)
Translation: OpenWrt/LuCI/applications/ocserv
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsocserv/ru/
Signed-off-by: anonymous <noreply@weblate.org>
Translated using Weblate (Russian)
Currently translated at 2.7% (1 of 36 strings)
Translation: OpenWrt/LuCI/applications/sqm
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationssqm/ru/
Signed-off-by: Alex <allxxx@mail.ru>
Translated using Weblate (Russian)
Currently translated at 3.3% (2 of 60 strings)
Translation: OpenWrt/LuCI/applications/frps
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrps/ru/
Signed-off-by: Alex <allxxx@mail.ru>
Translated using Weblate (Russian)
Currently translated at 8.3% (6 of 72 strings)
Translation: OpenWrt/LuCI/applications/frpc
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsfrpc/ru/
Signed-off-by: Alex <allxxx@mail.ru>
Translated using Weblate (Greek)
Currently translated at 100.0% (41 of 41 strings)
Translation: OpenWrt/LuCI/applications/advanced-reboot
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadvanced-reboot/el/
Signed-off-by: george k <norhorn@gmail.com>
Translated using Weblate (Russian)
Currently translated at 40.1% (63 of 157 strings)
Translation: OpenWrt/LuCI/applications/adblock
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsadblock/ru/
Signed-off-by: Alex <allxxx@mail.ru>
Translated using Weblate (Russian)
Currently translated at 100.0% (177 of 177 strings)
Translation: OpenWrt/LuCI/applications/ddns
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationsddns/ru/
Signed-off-by: Alex <allxxx@mail.ru>
Translated using Weblate (Russian)
Currently translated at 100.0% (101 of 101 strings)
Translation: OpenWrt/LuCI/applications/transmission
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstransmission/ru/
Translated using Weblate (Russian)
Currently translated at 100.0% (1349 of 1349 strings)
Translation: OpenWrt/LuCI/modules/luci-base
Translate-URL: https://hosted.weblate.org/projects/openwrt/luci/ru/
Signed-off-by: Alex <allxxx@mail.ru>
Translated using Weblate (German)
Currently translated at 40.6% (48 of 118 strings)
Translation: OpenWrt/LuCI/applications/travelmate
Translate-URL: https://hosted.weblate.org/projects/openwrt/luciapplicationstravelmate/de/
Signed-off-by: ce4 <chregger@gmail.com>
2020-04-17 13:38:47 +02:00
Jo-Philipp Wich
8f34e105c0
treewide: add ACL annotations to menu entries
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 12:40:31 +02:00
Jo-Philipp Wich
01d8283ece
luci-base: ui.js: order indicators by ID value
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-17 09:30:54 +02:00
Dirk Brenken
65958c4992
luci-app-adblock: re-apply poll/view class changes
...
* re-apply poll/view class changes in master after 19.07-branch
split off
Signed-off-by: Dirk Brenken <dev@brenken.org>
2020-04-17 07:42:24 +02:00
Jo-Philipp Wich
a8366b01b7
docs: update js api docs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:41:31 +02:00
Jo-Philipp Wich
111670245e
luci-mod-system: system.js: disable timesync buttons on readonly map
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:39:54 +02:00
Jo-Philipp Wich
e822382a98
luci-mod-system: startup.js: disable action buttons on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:38:56 +02:00
Jo-Philipp Wich
74e8fb0c8e
luci-mod-system: sshkeys.js: make readonly on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:38:09 +02:00
Jo-Philipp Wich
d7a17641d3
luci-mod-system: password.js: make readonly on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:36:39 +02:00
Jo-Philipp Wich
01129d5297
luci-mod-system: mounts.js: disable umount button in readonly map
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:35:51 +02:00
Jo-Philipp Wich
684f7dd7dc
luci-mod-system: flash.js: make readonly on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:35:13 +02:00
Jo-Philipp Wich
92902225fb
luci-mod-system: crontab.js: disable textarea on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:33:02 +02:00
Jo-Philipp Wich
17770e49eb
luci-mod-status: assoclist: hide wifi disconnect on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:32:32 +02:00
Jo-Philipp Wich
dc57e4bc6c
luci-app-opkg: disable action buttons on insufficient ACLs
...
Also flush menu cache after opkg actions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:30:44 +02:00
Jo-Philipp Wich
0306b14d20
luci-mod-network: wireless.js: disable action buttons on insufficient ACLs
...
Also implement disabled state in custom frequency select widget.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:28:21 +02:00
Jo-Philipp Wich
c63c902163
luci-mod-network: interfaces.js: disable action buttons on insufficient ACLs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:21:03 +02:00
Jo-Philipp Wich
90a51ab3b9
luci-base: ui.js: add LuCI.ui.menu.flushCache() function
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 15:13:26 +02:00
Jo-Philipp Wich
3f1d6870ff
docs: update js api docs
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:48 +02:00
Jo-Philipp Wich
52486e5862
luci-theme-openwrt-2020: disabled widget style tweaks
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:36 +02:00
Jo-Philipp Wich
46d31efc73
luci-base: ui.js: apply disabled attribute to toplevel dynlist node
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
616d2a61e4
luci-base: luci.js: get rid of global L
references in internal classes
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
1ac8df2614
luci-theme-bootstrap: rework menu rendering
...
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree
in the local session store.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
48269ade61
luci-theme-openwrt: rework menu rendering
...
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree
in the local session store.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
a1aa0af102
luci-theme-openwrt-2020: rework menu rendering
...
Utilize the LuCI.ui.menu class to load, traverse and cache the menu tree
in the local session store.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
930f28b606
luci-base: ui.js: add LuCI.ui.menu helper class
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
e56e442d6a
luci-base: implement JSON endpoint to fetch menu information
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
51186355ea
luci-base: ui.js: use session data api to persist tab selection state
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
adeb0f3aa6
luci-base: luci.js: disable page action buttons on readonly views
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
b739fc17ea
luci-base: luci.js: add hasViewPermission() helper
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00
Jo-Philipp Wich
94a0c57181
luci-base: expose currently dispatched node info to client side JS
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-16 13:30:35 +02:00