luci-mod-admin-full: allow forced upgrade (revised) 2075/head
authorDirk Brenken <dev@brenken.org>
Fri, 17 Aug 2018 10:52:36 +0000 (12:52 +0200)
committerDirk Brenken <dev@brenken.org>
Fri, 17 Aug 2018 10:52:36 +0000 (12:52 +0200)
commit89486bd66f828e272a1456b0ccd6e18617ae5ff0
treed7240193be77b6cfe433200033da11b1e4706d74
parent8c77975d1bfc9f79580b83f5b5e591b8b4cae67f
luci-mod-admin-full: allow forced upgrade (revised)

* allow 'forced' firmware upgrades, even if the image format check
fails. Useful where flashing back to the OEM versions or switching
between ar71xx and ath79 builds
* option is only visible after first/failed image check
* added warning info (see screenshots below)

Signed-off-by: Dirk Brenken <dev@brenken.org>
modules/luci-mod-admin-full/luasrc/controller/admin/system.lua
modules/luci-mod-admin-full/luasrc/view/admin_system/flashops.htm
modules/luci-mod-admin-full/luasrc/view/admin_system/upgrade.htm