luci-mod-status: transform status page Lua template into ucode template
authorJo-Philipp Wich <jo@mein.io>
Wed, 14 Sep 2022 11:30:45 +0000 (13:30 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 24 Oct 2022 23:03:37 +0000 (01:03 +0200)
commit97da0baeb602c33d24e789a8ea635f92a54526b3
treeb9786332e5839b2fe587edbbb0a6788a9d38b746
parentc7b300e6143ab9916730108fff0a5d25a3d5ac53
luci-mod-status: transform status page Lua template into ucode template

Transform the only Lua template of the status module into an equivalent
ucode template and make it conditionally include the legacy Lua logic
factored out in a previous commit.

Only if the ucode Lua bridge is installed and loadable, the Lua template
loading the legacy Lua status partials is included.

After this commit, luci-mod-status is free of Lua dependencies.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-status/luasrc/view/admin_status/index.htm [deleted file]
modules/luci-mod-status/ucode/template/admin_status/index.ut [new file with mode: 0644]