diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-12-03 15:17:05 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-08 16:26:20 +0100 |
commit | 1bb4822dca6113f73e3bc89e2acf15935e6f8e92 (patch) | |
tree | 35e16f100466e4e00657199b38bb3d87d52bf73f /modules/luci-mod-freifunk/htdocs/luci-static/flashing.html | |
parent | 9edd0e46c3f880727738ce8ca6ff1c8b85f99ef4 (diff) |
Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
* Make each LuCI module its own standalone package
* Deploy a shared luci.mk which is used by each module Makefile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'modules/luci-mod-freifunk/htdocs/luci-static/flashing.html')
-rw-r--r-- | modules/luci-mod-freifunk/htdocs/luci-static/flashing.html | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html b/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html new file mode 100644 index 0000000000..43e51236d7 --- /dev/null +++ b/modules/luci-mod-freifunk/htdocs/luci-static/flashing.html @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> + <title>LuCI - System Upgrade</title> + + <style type="text/css"> + body { + background-color: #CCCCCC; + font-family: sans-serif; + font-size: 90%; + padding-left: 50%; + padding-top: 100px; + } + + h2 { + font-size: 110%; + margin: 5px 5px 0.5em 5px; + border-bottom: 1px dotted #0066CC; + color: #0066CC; + } + + p { + font-size: 95%; + margin: 15px 15px 0.5em 15px; + } + + div { + background-color: #F7F7F7; + border: 1px dotted #000000; + width: 600px; + height: 150px; + margin-left: -300px; + } + + em { + color: #555555; + } + </style> + + <script type="text/javascript"><!-- + var time_remaining = 60 * 25; + var interval = window.setInterval(function() { + if( time_remaining <= 0 ) + { + window.clearInterval(interval); + location.href = 'http://' + location.hostname + '/'; + } + else + { + var minutes = Math.floor(time_remaining / 60); + var seconds = time_remaining % 60; + var label = document.getElementById('time_remaining'); + + if( label ) + { + label.innerHTML = + ( minutes > 0 ? minutes + 'm ' : '' ) + + seconds + 's'; + } + } + + time_remaining = time_remaining - 1; + }, 1000); + --></script> +</head> + +<body class="lang_en"> + <div> + <h2>Performing Upgrade</h2> + + <p> + The System is flashing now. The procedure can take up to 25 minutes, + please be patient and wait until this page reloads itself. + + <br /><img src="resources/flashing.gif" style="vertical-align:middle; margin:10px" /> + + <em>Remaining time (estimated): <span id="time_remaining">unknown</span></em> + </p> + </div> +</body> + +</html> |