themes: warn if booted from initramfs
authorPaul Spooren <mail@aparcar.org>
Fri, 5 Mar 2021 02:41:20 +0000 (16:41 -1000)
committerPaul Spooren <mail@aparcar.org>
Wed, 6 Oct 2021 01:33:15 +0000 (15:33 -1000)
commitc8d9819c9a54eb4854157bd1eb0f9c540621b2b4
treed5a54657535adf4dd483aa83b3ac937f0d7268ad
parent2c27f5c9417ff5414a2730a9c310b68fdd5f585c
themes: warn if booted from initramfs

Some devices offer a full LuCI interface from their recovery interface.
As it's read-only it should only be used for installing sysupgrades and
therefore warn users that no settings are saved.

Signed-off-by: Paul Spooren <mail@aparcar.org>
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm
themes/luci-theme-material/luasrc/view/themes/material/header.htm
themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm
themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm