http://downloads.netgear.com/files/GPL/GPL_Source_V361j_DM111PSP_series_consumer_rele...
[bcm963xx.git] / userapps / broadcom / cfm / html / rebootinfo.html
index 4c71140..fc7fd57 100755 (executable)
 <html>
 <head>
-<meta HTTP-EQUIV='Pragma' CONTENT='no-cache'>
-<link rel=stylesheet href='stylemain.css' type='text/css'>
-<link rel=stylesheet href='colors.css' type='text/css'>
-<script language="javascript">
-<!-- hide
-
-function reboot() {
-   var enblPopWin = '<%ejGet(enblPopWin)%>';
-   var loc = 'main.html';
-   var code = 'window.top.location="' + loc + '"';
-
-   if ( enblPopWin == '1' ) {
-      loc = 'index.html';
-      code = '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
+}
+H1 {
+       FONT-WEIGHT: bold; FONT-SIZE: 16px; BACKGROUND: white; COLOR: #09c; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif
+}
+
+Body, TD {
+       FONT-SIZE: 12px; FONT-FAMILY: Arial, Helvetica, Geneva, Swiss, SunSans-Regular, sans-serif
+}
+
+.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();
+}
+
+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";
+               }
 }
 
-function frmLoad() {
-   setTimeout("reboot()", 60000);
+function makeStr(strSize, fillChar)
+{
+       var temp = "";
+       for (i=0; i < strSize ; i ++)
+               temp = temp + fillChar;
+       return temp;
 }
 
-// done hiding -->
+
+// 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 onLoad='frmLoad()'>
-<blockquote>
-<b>DSL Router Reboot</b><br><br>
-The DSL Router has been configured and is rebooting.<br><br>
-Close the DSL Router Configuration window and wait for 2 minutes before
-reopening your web browser. If necessary, reconfigure your PC's IP address to
-match your new configuration.
-</blockquote>
 </body>
 </html>
+