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]>
Fri, 11 Apr 2025 12:42:49 +0000 (14:42 +0200)
commitf746a52979141df8ffbf7c3774002fead7817724
treebf27a2c9c5b741a13cf38c5fcc942c87079fb83e
parentffbce6fed77e74e6e18d40fa9dbda3ae5d5eaa8f
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]>
applications/luci-app-attendedsysupgrade/htdocs/luci-static/resources/view/status/include/11_upgrades.js [new file with mode: 0644]