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.

175 lines
6.5 KiB

  1. <%@LANGUAGE = Javascript%>
  2. <!--#INCLUDE FILE='Global_DBUtils.asp' -->
  3. <!--#include file='global_serverutils.asp'-->
  4. <%
  5. var BucketID = Request.QueryString("BucketID")
  6. var dbConn = GetDBConnection( Application("CRASHDB3") )
  7. %>
  8. <head>
  9. <link rel="stylesheet" TYPE="text/css" HREF="/main.css">
  10. <link rel="stylesheet" TYPE="text/css" HREF="/CustomStyles.css">
  11. </head>
  12. <body bgcolor='#ffffff' topmargin='0' leftmargin='0' marginheight='0' marginwidth='0' tabindex='0'>
  13. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  14. <tr>
  15. <td>
  16. <p class="clsPTitle"><%=BucketID%></p>
  17. </td>
  18. </tr>
  19. <tr>
  20. <td>
  21. <input type='button' onClick='window.history.back()' value='back'>
  22. </td>
  23. </tr>
  24. <tr>
  25. <td>
  26. <table id="tblUserBuckets" class="clsTableInfo" border="0" cellpadding="2" cellspacing="1">
  27. <tr>
  28. <td align="left" nowrap class="clsTDInfo">Driver Name</td>
  29. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">iBucket</td>
  30. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">FollowUp</td>
  31. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">Crashes</td>
  32. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">Solution</td>
  33. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">Raid data</td>
  34. </tr>
  35. <tr>
  36. <%
  37. //try
  38. {
  39. var rsBucketData = dbConn.Execute("DBGPortal_GetBucketData '" + BucketID + "'" )
  40. while ( !rsBucketData.EOF )
  41. {
  42. Response.Write("<td class='sys-table-cell-bgcolor1'>" + rsBucketData("DriverName") + "</td>")
  43. Response.Write("<td class='sys-table-cell-bgcolor1'>" + rsBucketData("iBucket") + "</td>")
  44. Response.Write("<td class='sys-table-cell-bgcolor1'>" + rsBucketData("FollowUP") + "</td>")
  45. Response.Write("<td class='sys-table-cell-bgcolor1'>" + rsBucketData("CrashCount") + "</td>")
  46. Response.Write("<td class='sys-table-cell-bgcolor1'>" + rsBucketData("SolutionID") + "</td>")
  47. Response.Write("<td class='sys-table-cell-bgcolor1'>" )
  48. Response.Write( "<a href=\"javascript:fnShowBug(" + rsBucketData("BugID") + ",'" + Server.URLEncode( BucketID ) + "')\">" + rsBucketData("BugID") + "</a>" )
  49. Response.Write( "</td>")
  50. rsBucketData.MoveNext()
  51. }
  52. }
  53. //catch ( err )
  54. {
  55. }
  56. %>
  57. </tr>
  58. </td>
  59. </tr>
  60. </table>
  61. <br>
  62. <table id="tblUserBuckets" class="clsTableInfo" border="0" cellpadding="2" cellspacing="1">
  63. <tr>
  64. <td align="left" nowrap class="clsTDInfo">Date</td>
  65. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">Email</td>
  66. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">Action</td>
  67. <td style="BORDER-LEFT: white 1px solid" align="left" nowrap class="clsTDInfo">Comment</td>
  68. </tr>
  69. <%
  70. var rsBucketData = dbConn.Execute("DBGPortal_GetBucketComments '" + BucketID + "'" )
  71. var altColor = "sys-table-cell-bgcolor2"
  72. while ( !rsBucketData.EOF )
  73. {
  74. if ( altColor == "sys-table-cell-bgcolor2" )
  75. altColor = "sys-table-cell-bgcolor1"
  76. else
  77. altColor = "sys-table-cell-bgcolor2"
  78. Response.Write("<tr>")
  79. Response.Write("<td valign='top' nowrap class='" + altColor + "'>" + rsBucketData("EntryDate") + "</td>")
  80. Response.Write("<td valign='top' nowrap class='" + altColor + "'>" + rsBucketData("CommentBy") + "</td>")
  81. Response.Write("<td valign='top' nowrap class='" + altColor + "'>" + rsBucketData("Action") + "</td>")
  82. Response.Write("<td valign='top' class='" + altColor + "'>" + rsBucketData("Comment") + "</td>")
  83. Response.Write("</tr>")
  84. rsBucketData.MoveNext()
  85. }
  86. %>
  87. </tr>
  88. </table>
  89. <br>
  90. <!--<table id="tblUserBuckets" class="clsTableInfo" border="0" cellpadding="2" cellspacing="1"> -->
  91. <table width=100%>
  92. <tr>
  93. <td>
  94. <div style="height:30;margin-right:10px;margin-left:16px;padding-right:0" >
  95. <table id="tblStatus" class="clsTableInfo2" border="0" cellpadding="0" cellspacing="1">
  96. <tr>
  97. <td align="left" nowrap style="width:100px" class="clsTDInfo">Debug</td>
  98. <td style="BORDER-LEFT: white 1px solid;width:200px" align="left" nowrap class="clsTDInfo">Crash Cab Path</td>
  99. <td style="BORDER-LEFT: white 1px solid;width:100px" align="left" nowrap class="clsTDInfo">Build</td>
  100. <td style="BORDER-LEFT: white 1px solid;width:200px" align="left" nowrap class="clsTDInfo">Entry Date</td>
  101. </tr>
  102. </table>
  103. </div>
  104. </td>
  105. </tr>
  106. <tr>
  107. <td>
  108. <div style="height:900;overflow:auto;border-bottom:thin groove;border-right:none;margin-right:10px;margin-left:16px;padding-right:0">
  109. <table id="tblStatus" class="clsTableInfo2" width="100%" border="0" cellpadding="0" cellspacing="1" style="margin-left:0;margin-right:0;padding-right:30" >
  110. <%
  111. var rsCrashData = dbConn.Execute("DBGPortal_GetBucketCrashes '" + BucketID + "'" )
  112. var altColor = "sys-table-cell-bgcolor2"
  113. while ( !rsCrashData.EOF )
  114. {
  115. if ( altColor == "sys-table-cell-bgcolor2" )
  116. altColor = "sys-table-cell-bgcolor1"
  117. else
  118. altColor = "sys-table-cell-bgcolor2"
  119. Response.Write("<tr>")
  120. Response.Write("<td valign='center' nowrap class='" + altColor + "'><a href='none' class=clsAlinkNormal' ><img src='include/images/debug.bmp'>" + "Launch KD" + "</a></td>")
  121. Response.Write("<td valign='center' nowrap class='" + altColor + "'>" + rsCrashData("FilePath") + "</td>")
  122. Response.Write("<td valign='center' nowrap class='" + altColor + "'>" + rsCrashData("BuildNo") + "</td>")
  123. Response.Write("<td valign='center' nowrap class='" + altColor + "'>" + rsCrashData("EntryDate") + "</td>")
  124. Response.Write("<td valign='center' nowrap class='" + altColor + "'>" + rsCrashData("Email") + "</td>")
  125. Response.Write("<td valign='center' nowrap class='" + altColor + "'>" + rsCrashData("bFullDump") + "</td>")
  126. Response.Write("</tr>")
  127. rsCrashData.MoveNext()
  128. }
  129. %>
  130. </table>
  131. </div>
  132. </td>
  133. </tr>
  134. </table>
  135. <script language='javascript'>
  136. function fnShowBug( BugID, BucketID )
  137. {
  138. var BucketID = escape( BucketID )
  139. BucketID = BucketID.replace ( /\+/gi, "%2b" )
  140. window.open( "DBGPortal_OpenRaidBug.asp?BugID=" + BugID + "&BucketID=" + BucketID )
  141. }
  142. </script>
  143. </body>