Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

146 lines
6.0 KiB

  1. <html>
  2. <HEAD>
  3. <script language=jscript>
  4. var gOOBEDir = "file://" + window.external.API.get_SystemDirectory() + "\\oobe\\";
  5. var NMAX_STATUS_ITEM = 8;
  6. var g_ArrayOrigItemText = new Array(NMAX_STATUS_ITEM+1);
  7. function AddStatusItem(text, i)
  8. {
  9. // Status item starts at 1
  10. if((i >= 1) && (i <= NMAX_STATUS_ITEM))
  11. {
  12. text = text + "<br><br>";
  13. tblStatus.rows(i).cells(0).innerHTML = text;
  14. tblStatus.rows(i).cells(0).style.visibility = "visible";
  15. tblStatus.rows(i).cells(1).style.visibility = "visible";
  16. g_ArrayOrigItemText[i]=text;
  17. }
  18. }
  19. function RedrawForNewCurrentItem(NewCurIdx)
  20. {
  21. // tblStatus.style.display="none";
  22. for(i=1;i<=NMAX_STATUS_ITEM;i++)
  23. {
  24. if(i<NewCurIdx)
  25. {
  26. // tblStatus.rows(i).cells(0).style.color="white";
  27. if(window.top.screen.width > 800)
  28. {tblStatus.rows(i).cells(0).style.fontSize="13pt";}
  29. else
  30. {tblStatus.rows(i).cells(0).style.fontSize="11pt";}
  31. tblStatus.rows(i).cells(0).style.fontWeight="bold";
  32. tblStatus.rows(i).cells(0).style.color="#ba08a3";
  33. tblStatus.rows(i).cells(0).innerHTML = g_ArrayOrigItemText[i];
  34. }
  35. else if(i==NewCurIdx)
  36. {
  37. // prefix w/arrow ptr
  38. tblStatus.rows(i).cells(0).innerHTML = "<IMG SRC='statuspt.gif' border=0>" + tblStatus.rows(i).cells(0).innerHTML;
  39. // tblStatus.rows(i).cells(0).style.color="#F4C217";
  40. if(window.top.screen.width > 800)
  41. {tblStatus.rows(i).cells(0).style.fontSize="13pt";}
  42. else
  43. {tblStatus.rows(i).cells(0).style.fontSize="11pt";}
  44. tblStatus.rows(i).cells(0).style.fontWeight="bold";
  45. tblStatus.rows(i).cells(0).style.color="orange";
  46. }
  47. else
  48. {
  49. // tblStatus.rows(i).cells(0).style.color="#9AC1F4";
  50. if(window.top.screen.width > 800)
  51. {tblStatus.rows(i).cells(0).style.fontSize="13pt";}
  52. else
  53. {tblStatus.rows(i).cells(0).style.fontSize="11pt";}
  54. tblStatus.rows(i).cells(0).style.fontWeight="bold";
  55. tblStatus.rows(i).cells(0).style.color="navy";
  56. tblStatus.rows(i).cells(0).innerHTML = g_ArrayOrigItemText[i];
  57. }
  58. }
  59. //tblStatus.style.display="inline";
  60. }
  61. function LoadStatusPane()
  62. {
  63. if (imgStatusBackground)
  64. {
  65. if(window.top.screen.width > 800)
  66. {
  67. imgStatusBackground.src=gOOBEDir +'images/back4.jpg';
  68. }
  69. else
  70. {
  71. imgStatusBackground.src=gOOBEDir +'images/back4a.jpg';
  72. }
  73. imgStatusBackground.style.visibility = "visible";
  74. }
  75. if(window.top.screen.width > 800) {
  76. spnStatDividerBar.style.left=240; //230 before
  77. }
  78. }
  79. </script>
  80. </HEAD>
  81. <BODY ONLOAD="LoadStatusPane()" TEXT=#555FAA TOPMARGIN=0 LEFTMARGIN=0>
  82. <img ID=imgStatusBackground style="visibility:hidden;POSITION: absolute; TOP: 0px; LEFT: 0px; Z-INDEX: -99;" alt="">
  83. <BR><BR>
  84. <SPAN id=spnStatDividerBar style="position:absolute; left:190px; height:100%; width:0px; top:0px; background-color:#80A2CF; z-index:-3; ">
  85. </SPAN>
  86. <TABLE id=tblStatus border=0 cellspacing=0 cellpadding=0 style="color:#9AC1F4; FONT-WEIGHT: bold; FONT-FAMILY:Trebuchet MS; FONT-SIZE: 8pt; LEFT: 0px; POSITION: absolute; TOP: 0px; width:100%; Z-INDEX: -1;background-color:transparent" tabIndex=-1 >
  87. <TR style="display:none" id=trItems TABINDEX=-1>
  88. <TD align=middle height="100%" width="75%"></TD>
  89. </TR>
  90. <TR id=trItems1 TABINDEX=-1>
  91. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  92. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus1 src="inact_top.gif" style=" Z-INDEX: -2" alt=""></TD>
  93. </TR>
  94. <TR id=trItems2 TABINDEX=-1>
  95. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  96. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus2 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  97. </TR>
  98. <TR id=trItems3 TABINDEX=-1>
  99. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  100. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus3 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  101. </TR>
  102. <TR id=trItems4 TABINDEX=-1>
  103. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  104. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus4 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  105. </TR>
  106. <TR id=trItems5 TABINDEX=-1>
  107. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  108. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus5 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  109. </TR>
  110. <TR id=trItems6 TABINDEX=-1>
  111. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  112. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus6 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  113. </TR>
  114. <TR id=trItems7 TABINDEX=-1>
  115. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  116. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus7 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  117. </TR>
  118. <TR id=trItems8 TABINDEX=-1>
  119. <TD valign=middle style="visibility:hidden" align=right height="100%" width="99%"></TD>
  120. <TD valign=middle style="visibility:hidden" align=right height="100%" width="1%"><img ID = imgStatus8 src="inactive.gif" style=" Z-INDEX: -2" alt=""></TD>
  121. </TR>
  122. </TABLE>
  123. <BR><BR>
  124. <!--
  125. <script>
  126. window.parent.ProcessQueuedEvents();
  127. </script>
  128. -->
  129. </body>
  130. </html>