luci-app-attendedsysupgrade: refactor and format
authorPaul Spooren <mail@aparcar.org>
Sun, 24 Feb 2019 21:24:24 +0000 (22:24 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 18 Mar 2019 11:12:32 +0000 (12:12 +0100)
commitc318a10c14eba2eab616ab875a23722ef7655185
tree875dda0d98fe7287c6d469bf1df3b3298d61e1a0
parentdb98461321806d718be8627d75ffa75641f6c0a4
luci-app-attendedsysupgrade: refactor and format

* Reuse `request_dict` between requests.
* used vim Autoformat plugin to make the javascript code nice.
* add board_name as it eventually replaces board/model in requests

Signed-off-by: Paul Spooren <mail@aparcar.org>
applications/luci-app-attendedsysupgrade/root/www/luci-static/resources/attendedsysupgrade.js