Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

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