Subversion Repositories DevTools

Rev

Rev 5122 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5122 Rev 5357
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
4
'|
4
'|
5
'|      build_release_log.asp
5
'|      build_release_log.asp
6
'|      Display the build long
6
'|      Display the build long
7
'|
7
'|
8
'=====================================================
8
'=====================================================
9
%>
9
%>
10
<%
10
<%
11
Option explicit
11
Option explicit
12
' Good idea to set when using redirect
12
' Good idea to set when using redirect
13
Response.Expires = 0   ' always load the page, dont store
13
Response.Expires = 0   ' always load the page, dont store
14
%>
14
%>
15
<!--#include file="common/conf.asp"-->
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/formating.asp"-->
17
<!--#include file="common/formating.asp"-->
18
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/qstr.asp"-->
19
<!--#include file="common/common_subs.asp"-->
19
<!--#include file="common/common_subs.asp"-->
20
<!--#include file="common/_form_window_common.asp"-->
20
<!--#include file="common/_form_window_common.asp"-->
21
<!--#include file="_action_buttons.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
 
22
 
23
<!--#include file="class/classActionButtonControl.asp"-->
23
<!--#include file="class/classActionButtonControl.asp"-->
24
<%
24
<%
25
'------------ ACCESS CONTROL ------------------
25
'------------ ACCESS CONTROL ------------------
26
'Let users view the build configuration without being logged in, but as soon as they try and submit the form, check
26
'Let users view the build configuration without being logged in, but as soon as they try and submit the form, check
27
'their login status.
27
'their login status.
28
%>
28
%>
29
<!--#include file="_access_control_general.asp"-->
29
<!--#include file="_access_control_general.asp"-->
30
<%
30
<%
31
'------------ Variable Definition -------------
31
'------------ Variable Definition -------------
32
Dim parRtagId
32
Dim parRtagId
33
'------------ Constants Declaration -----------
33
'------------ Constants Declaration -----------
34
'------------ Variable Init -------------------
34
'------------ Variable Init -------------------
35
parRtagId = Request("rtag_id")
35
parRtagId = Request("rtag_id")
36
objPMod.PersistInQryString("rtag_id")
36
objPMod.PersistInQryString("rtag_id")
37
'----------------------------------------------
37
'----------------------------------------------
38
%>
38
%>
39
<html>
39
<html>
40
   <head>
40
   <head>
41
        <title>Release Manager</title>
41
        <title>Release Manager</title>
42
        <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
42
        <link rel="shortcut icon" href="<%=FavIcon%>"/>
43
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
43
        <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
44
        <link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
44
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
45
        <link rel="stylesheet" href="images/navigation.css" type="text/css">
45
        <link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
46
        <script language="JavaScript" src="images/common.js"></script>
46
        <link rel="stylesheet" href="images/navigation.css" type="text/css">
47
        <%bJqueryDataTables = TRUE%>
47
        <script language="JavaScript" src="images/common.js"></script>
48
        <!--#include file="_jquery_includes.asp"-->
48
        <%bJqueryDataTables = TRUE%>
49
        <script type="text/javascript" charset="utf-8">
49
        <!--#include file="_jquery_includes.asp"-->
50
        var table;
50
        <script type="text/javascript" charset="utf-8">
51
        var interval = null;
51
        var table;
52
        var indefTimer = null;
52
        var interval = null;
53
	$(document).ready(function() {
53
        var indefTimer = null;
54
		/* Init DataTables */
54
	$(document).ready(function() {
55
        table = $("#table1").dataTable({
55
		/* Init DataTables */
56
            "processing": true,
56
        table = $("#table1").dataTable({
57
            "retrieve":true,
57
            "processing": true,
58
            "serverSide": true,
58
            "retrieve":true,
59
            "ajaxSource": "build_release_log_json.asp",
59
            "serverSide": true,
60
<%If parRtagId <> "" Then %>
60
            "ajaxSource": "build_release_log_json.asp",
61
            "fnServerParams": function ( aoData ) {
61
<%If parRtagId <> "" Then %>
62
                aoData.push( { "name": "rtag_id", "value": "<%=parRtagId%>" } );
62
            "fnServerParams": function ( aoData ) {
63
            },
63
                aoData.push( { "name": "rtag_id", "value": "<%=parRtagId%>" } );
64
<%End If%>
64
            },
65
            "bLengthChange":false,
65
<%End If%>
66
            "sDom": "frtiS",
66
            "bLengthChange":false,
67
            "sScrollY": $( document ).height() 
67
            "sDom": "frtiS",
68
<%If parRtagId <> "" Then %>
68
            "sScrollY": $( document ).height() 
69
            - 35
69
<%If parRtagId <> "" Then %>
70
<%End If%>
70
            - 35
71
            - 200,
71
<%End If%>
72
            "bDeferRender": true,
72
            - 200,
73
            "sScrollX": "100%",
73
            "bDeferRender": true,
74
            "bScrollCollapse": true,
74
            "sScrollX": "100%",
75
            "iScrollLoadGap": 5,
75
            "bScrollCollapse": true,
76
            "oScroller": {
76
            "iScrollLoadGap": 5,
77
			    "loadingIndicator": true,
77
            "oScroller": {
78
                "displayBuffer": 3,
78
			    "loadingIndicator": true,
79
		    },
79
                "displayBuffer": 3,
80
            "order": [[ 4, "desc" ]],
80
		    },
81
            "info": true,
81
            "order": [[ 4, "desc" ]],
82
            "columnDefs" : [ 
82
            "info": true,
83
<%If parRtagId <> "" Then %>
83
            "columnDefs" : [ 
84
                {visible: false, targets : [0,1]},
84
<%If parRtagId <> "" Then %>
85
<%End If%>
85
                {visible: false, targets : [0,1]},
86
                {className : "dt-nowrap", targets: "_all" },
86
<%End If%>
87
                {orderable : false, targets : [7]},
87
                {className : "dt-nowrap", targets: "_all" },
88
            ],
88
                {orderable : false, targets : [7]},
89
            // Refresh display IFF showing the head
89
            ],
90
            "fnInfoCallback": function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
90
            // Refresh display IFF showing the head
91
                if (iStart <= 1) {
91
            "fnInfoCallback": function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
92
                    clearTimeout(interval);
92
                if (iStart <= 1) {
93
                    interval = setTimeout( function () { table.api().ajax.reload(); }, 30000 );
93
                    clearTimeout(interval);
94
                    sPre += " [AutoRefesh]"
94
                    interval = setTimeout( function () { table.api().ajax.reload(); }, 30000 );
95
                } else {
95
                    sPre += " [AutoRefesh]"
96
                    clearTimeout(interval);
96
                } else {
97
                    interval = null;
97
                    clearTimeout(interval);
98
                }
98
                    interval = null;
99
                return sPre;
99
                }
100
            }
100
                return sPre;
101
        });
101
            }
102
 
102
        });
103
    //  Dynamically maintain an indication of an indefinite pause
103
 
104
    //  Update at startup and every 30 seconds
104
    //  Dynamically maintain an indication of an indefinite pause
105
    function updateIndefPause()
105
    //  Update at startup and every 30 seconds
106
    {
106
    function updateIndefPause()
107
        $.get('_json_daemon.asp', {opr : 'indefPause'},function(data){
107
    {
108
            if(data.indefPause > 0){
108
        $.get('_json_daemon.asp', {opr : 'indefPause'},function(data){
109
                $('#indefPause').show();
109
            if(data.indefPause > 0){
110
            }else{
110
                $('#indefPause').show();
111
                $('#indefPause').hide();
111
            }else{
112
            }
112
                $('#indefPause').hide();
113
        },'json');
113
            }
114
    }
114
        },'json');
115
 
115
    }
116
    updateIndefPause();
116
 
117
    indefTimer = setInterval( updateIndefPause,30000 );
117
    updateIndefPause();
118
	} );
118
    indefTimer = setInterval( updateIndefPause,30000 );
119
</script>
119
	} );
120
 
120
</script>
121
      <!-- DROPDOWN MENUS -->
121
 
122
      <!--#include file="_menu_def.asp"-->
122
      <!-- DROPDOWN MENUS -->
123
      <script language="JavaScript1.2" src="images/popup_menu.js"></script>
123
      <!--#include file="_menu_def.asp"-->
124
   </head>
124
      <script language="JavaScript1.2" src="images/popup_menu.js"></script>
125
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
125
   </head>
126
      <!-- MENU LAYERS -------------------------------------->
126
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
127
      <div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
127
      <!-- MENU LAYERS -------------------------------------->
128
      </div>
128
      <div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
129
      <!-- TIPS LAYERS -------------------------------------->
129
      </div>
130
      <div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
130
      <!-- TIPS LAYERS -------------------------------------->
131
      <!----------------------------------------------------->
131
      <div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
132
      <!-- HEADER -->
132
      <!----------------------------------------------------->
133
      <!--#include file="_header.asp"-->
133
      <!-- HEADER -->
134
      <!-- BODY ---->
134
      <!--#include file="_header.asp"-->
135
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
135
      <!-- BODY ---->
136
         <tr>
136
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
137
            <td width="10%" background="images/bg_home_orange.gif" valign="top"></td>
137
         <tr>
138
            <td width="85%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
138
            <td width="10%" background="images/bg_home_orange.gif" valign="top"></td>
139
               <table width="50%" border="0" cellspacing="0" cellpadding="0">
139
            <td width="85%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
140
                  <tr>
140
               <table width="50%" border="0" cellspacing="0" cellpadding="0">
141
                     <td width="1%"></td>
141
                  <tr>
142
                     <td width="100%">
142
                     <td width="1%"></td>
143
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
143
                     <td width="100%">
144
                           <tr>
144
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
145
                              <td nowrap class="body_txt"></td>
145
                           <tr>
146
                           </tr>
146
                              <td nowrap class="body_txt"></td>
147
                        </table>
147
                           </tr>
148
                       <!-- Section Header ---->
148
                        </table>
149
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
149
                       <!-- Section Header ---->
150
                           <tr>
150
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
151
                              <td nowrap class="form_ttl">
151
                           <tr>
152
                                  <%If parRtagId = "" Then %>
152
                              <td nowrap class="form_ttl">
153
                                  <td nowrap class="form_ttl">SYSTEM BUILD LOG</td>
153
                                  <%If parRtagId = "" Then %>
154
                                  <%Else%>
154
                                  <td nowrap class="form_ttl">SYSTEM BUILD LOG</td>
155
                                  <td nowrap class="form_ttl">RELEASE BUILD LOG</td>
155
                                  <%Else%>
156
                                  <%End If%>
156
                                  <td nowrap class="form_ttl">RELEASE BUILD LOG</td>
157
                              </td>
157
                                  <%End If%>
158
                              <td align="right" valign="bottom"></td>
158
                              </td>
159
                           </tr>
159
                              <td align="right" valign="bottom"></td>
160
                        </table>
160
                           </tr>
161
                     </td>
161
                        </table>
162
                     <td width="1%"></td>
162
                     </td>
163
                  </tr>
163
                     <td width="1%"></td>
164
                  <!-- Section Top Border ---->
164
                  </tr>
165
                  <tr>
165
                  <!-- Section Top Border ---->
166
                     <td align="left" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
166
                  <tr>
167
                     <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="60" height="15"></td>
167
                     <td align="left" valign="top" background="images/lbox_bg_blue.gif"><img src="images/lbox_tl_cnr_b.gif" width="13" height="13"></td>
168
                     <td align="right" valign="top"  background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
168
                     <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="60" height="15"></td>
169
                  </tr>
169
                     <td align="right" valign="top"  background="images/lbox_bg_blue.gif"><img src="images/lbox_tr_cnr_b.gif" width="13" height="13"></td>
170
                    <!-- Indef Pause Warning ---->
170
                  </tr>
171
                    <td id="indefPause" colspan="3" style="display: none;">
171
                    <!-- Indef Pause Warning ---->
172
                        <span class="err_alert">
172
                    <td id="indefPause" colspan="3" style="display: none;">
173
                            <font size="2"><b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b></font>
173
                        <span class="err_alert">
174
                        </span>
174
                            <font size="2"><b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b></font>
175
                    </td>
175
                        </span>
176
                  </tr>
176
                    </td>
177
                 <!-- Section Body Header ---->
177
                  </tr>
178
                  <tr><td colspan="3" class="form_ifilter">
178
                 <!-- Section Body Header ---->
179
                  <!-- Main Pane -->
179
                  <tr><td colspan="3" class="form_ifilter">
180
                  <table id="table1" width=100%>
180
                  <!-- Main Pane -->
181
            	    <thead class="body_col">
181
                  <table id="table1" width=100%>
182
            		    <tr>
182
            	    <thead class="body_col">
183
                             <th>Project</th>
183
            		    <tr>
184
                             <th>Release</th>
184
                             <th>Project</th>
185
                             <th>Package</th>
185
                             <th>Release</th>
186
                             <th>Version</th>
186
                             <th>Package</th>
187
                             <th>Time</th>
187
                             <th>Version</th>
188
                             <th>Reason</th>
188
                             <th>Time</th>
189
                             <th>Result</th>
189
                             <th>Reason</th>
190
                             <th>Tests</th>
190
                             <th>Result</th>
191
            		    </tr>
191
                             <th>Tests</th>
192
            	    </thead>
192
            		    </tr>
193
                	<tbody>
193
            	    </thead>
194
            	    </tbody>
194
                	<tbody>
195
                  </table>
195
            	    </tbody>
196
                  </td></tr>
196
                  </table>
197
            </td>
197
                  </td></tr>
198
         </tr>
198
            </td>
199
         <tr>
199
         </tr>
200
            <!-- Section Body Footer ---->
200
         <tr>
201
            <td background="images/bg_action_norm.gif" ></td>
201
            <!-- Section Body Footer ---->
202
            <td align="right" background="images/bg_action_norm.gif" ></td>
202
            <td background="images/bg_action_norm.gif" ></td>
203
            <td background="images/bg_action_norm.gif" ><img src="images/h_trsp_dot.gif" width="5" height="13"></td>
203
            <td align="right" background="images/bg_action_norm.gif" ></td>
204
         </tr>
204
            <td background="images/bg_action_norm.gif" ><img src="images/h_trsp_dot.gif" width="5" height="13"></td>
205
         <tr>
205
         </tr>
206
            <td background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
206
         <tr>
207
            <td background="images/lbox_bg_blue.gif"></td>
207
            <td background="images/lbox_bg_blue.gif" valign="bottom"><img src="images/lbox_bl_cnr_b.gif" width="13" height="13"></td>
208
            <td background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
208
            <td background="images/lbox_bg_blue.gif"></td>
209
         </tr>
209
            <td background="images/lbox_bg_blue.gif" valign="bottom" align="right"><img src="images/lbox_br_cnr_b.gif" width="13" height="13"></td>
210
      </table>
210
         </tr>
211
  </tr>
211
      </table>
212
  <tr>
212
  </tr>
213
    <td valign="bottom" align="center" background="images/bg_home_orange.gif"></td>
213
  <tr>
214
    <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
214
    <td valign="bottom" align="center" background="images/bg_home_orange.gif"></td>
215
  </tr>
215
    <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
216
</table>
216
  </tr>
217
<!-- FOOTER -->
217
</table>
218
<!--#include file="_footer.asp"-->
218
<!-- FOOTER -->
219
</body>
219
<!--#include file="_footer.asp"-->
220
</html>
220
</body>
221
<%
221
</html>
222
Call Destroy_All_Objects
222
<%
223
%>
223
Call Destroy_All_Objects
-
 
224
%>