Jo-Philipp Wich
36959dc0d1
luci-app-commands: prevent page reload on invoking command actions
...
Fixes: f117b7f
("luci-app-commands: use <button> elements")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-04-09 14:36:19 +02:00
Jo-Philipp Wich
f117b7f1ec
luci-app-commands: use <button> elements
...
Use <button> instead of <input type=button> elements to fix compatibility
with OpenWrt 2020 theme.
Ref: https://github.com/openwrt/luci/issues/4972
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-04-09 14:29:12 +02:00
Helge Mader
2c0886b5a7
luci-app-commands: show hint in status page if no entry defined yet
...
Signed-off-by: Helge Mader <ma@dev.tdt.de>
2020-05-11 11:48:21 +02:00
Jo-Philipp Wich
74da73b012
applications: add ACL dependency annotations to legacy controllers
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-19 17:17:26 +02:00
Florian Eckert
8120e1d484
luci-app-commands: do not escape pipe on cmd line
...
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-09-18 16:05:31 +02:00
Jo-Philipp Wich
c0de036b31
treewide: always include cbi.js
...
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>
2018-07-09 11:51:43 +02:00
Yousong Zhou
e4f77ace8b
luci-app-commands: fix link generation
...
Fixes openwrt/luci##824
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-07 22:28:40 +08:00
Jo-Philipp Wich
8a8eb0d487
luci-app-commands: use FULL_REQUEST_URI
...
Switch from using the REQUEST_URI CGI variable directly to the canonicalized
FULL_REQUEST_URI property.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-04-04 23:32:23 +02:00
t123yh
077ac32635
luci-app-commands: Allow executing without downloading on public links
...
Signed-off-by: t123yh <t123yh@outlook.com>
2017-01-15 23:13:10 +08:00
Jo-Philipp Wich
281d2f6178
Globally replace luci.dispatcher.build_url(...) with url(...) invocations
...
Also concat multiple string arguments into one while we're at it.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-07 19:07:36 +02:00
Jo-Philipp Wich
5e9da8240f
Globally convert headline anchors into name attributes.
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-10-06 13:30:33 +02: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
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