luci-app-attendedsysupgrade: add firmware upgrade check status include
authorPaul Spooren <[email protected]>
Thu, 30 Jan 2025 23:36:34 +0000 (23:36 +0000)
committerPaul Donald <[email protected]>
Wed, 25 Jun 2025 18:19:11 +0000 (20:19 +0200)
commitec6423719da2064cefff57c8f9db408354598150
treeb88ce2699b534c6fee1c045f425b7ea786eba706
parent65670be14f14bbdcd201c36f97f276fa60a93c6c
luci-app-attendedsysupgrade: add firmware upgrade check status include

The status include is named '11' so as to come immediately after
'10_system' (which displays the system properties). Its only permanent
addition to the status page is a checkbox for the user preference to
check for updates.

If the UCI luci core section contains the option:
  `check_for_newer_firmwares`
then upon load, the status page checks if the download server offers a
new(er) firmware compatible with the current device.

Signed-off-by: Paul Spooren <[email protected]>
Signed-off-by: Paul Donald <[email protected]>
(cherry picked from commit f746a52979141df8ffbf7c3774002fead7817724)
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/status/include/11_upgrades.js [new file with mode: 0644]