http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / userapps / broadcom / cfm / html / rebootinfo.html
index 53b4e96..fc7fd57 100755 (executable)
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<!--
-       (c) 2005 U.S. Robotics Corporation
--->
 <html>
 <head>
-       <title>Router Restart</title>
-
-       <link href="usr_layout.css" type="text/css" rel="stylesheet" /><script src="usr_layout.js" type="text/javascript"></script>
-       <link href="usr_device.css" type="text/css" rel="stylesheet" /><script src="usr_device.js" type="text/javascript"></script><link href="usr_91xx.css" type="text/css" rel="stylesheet" /><script src="usr_91xx.js" type="text/javascript"></script><script src="usr_resources.js" type="text/javascript"></script>
-
-       <meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
-
-<script type="text/javascript">
-<!-- hide
-
-
-var waitTime=60;                   // NUMBER OF SECONDS FOR PROGRESSBAR
-var idxNum = 0;
-
-var action = function reboot() {
-
-   var loc = 'index.html';  //USR9106 Refresh whole window.
-   var code = 'top.location = "' + loc + '"';
-   eval(code);
+<META http-equiv="Pragma" CONTENT="no-cache">
+<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">   
+<meta name="description" content="DM111PSP">
+<meta http-equiv="content-type" content="text/html;charset=ISO-8859-1">
+<title>Router Rebooting</title>
+<style type="text/css">
+BIG {
+        FONT-WEIGHT: bold; FONT-SIZE: 14px; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif
 }
-
-function frmLoad() {
-//   setTimeout("reboot()", 60000);
-   progressBarInit();
+H1 {
+       FONT-WEIGHT: bold; FONT-SIZE: 16px; BACKGROUND: white; COLOR: #09c; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif
 }
 
-// done hiding -->
-</script>
-</head>
-
-<body onload="frmLoad();">
+Body, TD {
+       FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif
+}
 
-<script type="text/javascript">
-       writeHeader("Router Restart");
-</script>
+.num 
+{
+       color: blue; font: bold 12pt "Courier New",Courier,serif;
+}      
+
+</style>
+<script language="JavaScript" type="text/javascript">
+<!-- Start Script
+var pchar = "|";          // progress char
+var maxchars = 60;  
+var delay_time = 1500; // msecs
+var charcount = 0;  
+var finish_msg = "\Please check the LEDs to see if the Router is ready, \nthen click OK to re-connect.";
+
+
+
+function Init()
+{      
+       if (top.frames.length > 0){
+               parent.footerfrm.location.href="clear.html";
+               top.location.href = self.location.href;
+       }else
+               updateProgress();
+}
 
-<p>The router has been configured and is restarting.</p>
+function updateProgress()
+{
+               var cf = document.forms[0];
+               if (charcount < maxchars)
+               {
+                       charcount ++;
+                       cf.progress.value = makeStr(charcount,pchar);
+                       status = " Progress: " + Math.floor(charcount/maxchars*100) + "%";
+                       window.focus();
+                       setTimeout("updateProgress()",delay_time);
+               }
+               else
+               { 
+                       alert(finish_msg);
+                       top.location.href="/index.html";
+               }
+}
 
-<p>This will take about one minute.
-If the router&rsquo;s IP address has been modified,
-you may need to renew your connection to the router.
-(One way to do this is to restart your computer.)
-</p>
+function makeStr(strSize, fillChar)
+{
+       var temp = "";
+       for (i=0; i < strSize ; i ++)
+               temp = temp + fillChar;
+       return temp;
+}
 
-<script type="text/javascript" src="timerbar.js"></script>
 
-<script type="text/javascript">
-       writeFooter();
+// End Script --> 
 </script>
+</head>
+<body bgcolor="#ffffff" onLoad="Init()">
+<form>
+<BR>
+<TABLE border=0 width="100%">
+<tr>
+       <td nowrap align="center"><h1>Router Rebooting</h1></td>
+</tr>
+</table>
+
+<div align="center">
+
+<table border=0 cellspacing=0 cellpadding=4>
+<tr>
+ <td colspan="2" align="center"><BIG>Progress</bIG></td>
+</tr>
+<tr>
+ <td nowrap colspan="2">&nbsp;<input type="text" class="num" name="progress" size="60" value="">&nbsp;&nbsp;</td>
+</tr>
+<tr>
+ <td nowrap align="left"><B>0%</B></td>
+ <td nowrap align="right"><B>100%</B></td>
+</tr>
+<tr>
+ <td colspan="2" align="center"><bIG>Please wait...</bIG></td>
+</tr>
+</table>
+
+</div>
+</form>
 
 </body>
 </html>
+