luci-mod-admin-full: improve reboot page
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 5 Jun 2018 20:12:19 +0000 (22:12 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 3 Jul 2018 15:34:10 +0000 (17:34 +0200)
commitddbde3caaae267d400316d584e90991a579250d7
treed00e73156c466ecdfe19df49decfd9baa43f18e7
parentcde13dc2459fa20ad0f889dbee925c7bdddaf806
luci-mod-admin-full: improve reboot page

This fix problem with empty controller, the check function will never stop to
check if the device finish to reboot and we set more tries to wait the router
for a longer times.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
[reworked markup, simplified logic, removed superfluous alert]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-mod-admin-full/luasrc/view/admin_system/reboot.htm