luci/modules/luci-mod-system/htdocs/luci-static/resources/view/system
Ansuel Smith 5e6ec8562f
luci-base: remove hardcoded cgi-bin path
Currently LuCI can be loaded only when placed in the root of the server as the cgi-bin path are hardcoded. Change the index.html to load the cgi-bin path from the current level.
Also add a new entry in the env Object to make the cgi_base path easily accessible.
This variable will be based on the position of /cgi-bin/luci.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2020-01-16 15:02:14 +01:00
..
crontab.js treewide: require ui.js explicitly 2019-11-03 21:55:50 +01:00
dropbear.js luci-mod-system: remplement dropbear settings as client side view 2019-09-17 07:43:48 +02:00
flash.js luci-base: remove hardcoded cgi-bin path 2020-01-16 15:02:14 +01:00
leds.js luci-mod-system: leds.js: display default state as On/Off 2019-11-11 10:14:03 +01:00
mounts.js treewide: require ui.js explicitly 2019-11-03 21:55:50 +01:00
password.js treewide: require ui.js explicitly 2019-11-03 21:55:50 +01:00
reboot.js luci-base, luci-mod-system: replace luci/setReboot with fs.exec 2019-11-01 12:03:33 +01:00
sshkeys.js luci-mod-system: sshkeys.js: do not incorrectly filter ecdsa keys on load 2019-11-13 16:55:28 +01:00
startup.js treewide: require ui.js explicitly 2019-11-03 21:55:50 +01:00
system.js luci-mod-system: validate log_ip as "host" instead of just ipaddr 2019-11-04 02:19:06 +00:00