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 %>
5102 dpurdie 84
                {visible": false, targets : [0,1]},
5018 dpurdie 85
<%End If%>
5102 dpurdie 86
                {className : "dt-nowrap", targets: "_all" },
87
                {orderable : false, targets : [7]},
5063 dpurdie 88
            ],
5019 dpurdie 89
            // Refresh display IFF showing the head
90
            "fnInfoCallback": function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
91
                if (iStart <= 1) {
92
                    clearTimeout(interval);
93
                    interval = setTimeout( function () { table.api().ajax.reload(); }, 30000 );
94
                    sPre += " [AutoRefesh]"
95
                } else {
96
                    clearTimeout(interval);
97
                    interval = null;
98
                }
99
                return sPre;
100
            }
5018 dpurdie 101
        });
5098 dpurdie 102
 
103
    //  Dynamically maintain an indication of an indefinite pause
104
    //  Update at startup and every 30 seconds
105
    function updateIndefPause()
106
    {
107
        $.get('_json_daemon.asp', {opr : 'indefPause'},function(data){
108
            if(data.indefPause > 0){
109
                $('#indefPause').show();
110
            }else{
111
                $('#indefPause').hide();
112
            }
113
        },'json');
114
    }
115
 
116
    updateIndefPause();
117
    indefTimer = setInterval( updateIndefPause,30000 );
5018 dpurdie 118
	} );
119
</script>
120
 
5008 dpurdie 121
      <!-- DROPDOWN MENUS -->
122
      <!--#include file="_menu_def.asp"-->
123
      <script language="JavaScript1.2" src="images/popup_menu.js"></script>
124
   </head>
5018 dpurdie 125
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
5008 dpurdie 126
      <!-- MENU LAYERS -------------------------------------->
5018 dpurdie 127
      <div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
128
      </div>
5008 dpurdie 129
      <!-- TIPS LAYERS -------------------------------------->
130
      <div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
131
      <!----------------------------------------------------->
132
      <!-- HEADER -->
133
      <!--#include file="_header.asp"-->
134
      <!-- BODY ---->
135
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
136
         <tr>
5018 dpurdie 137
            <td width="10%" background="images/bg_home_orange.gif" valign="top"></td>
138
            <td width="85%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
139
               <table width="50%" border="0" cellspacing="0" cellpadding="0">
5008 dpurdie 140
                  <tr>
141
                     <td width="1%"></td>
142
                     <td width="100%">
5018 dpurdie 143
                        <table width="100%"  border="0" cellspacing="0" cellpadding="0">
144
                           <tr>
145
                              <td nowrap class="body_txt"></td>
146
                           </tr>
147
                        </table>
148
                       <!-- Section Header ---->
5008 dpurdie 149
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
150
                           <tr>
5018 dpurdie 151
                              <td nowrap class="form_ttl">
152
                                  <%If parRtagId = "" Then %>
153
                                  <td nowrap class="form_ttl">SYSTEM BUILD LOG</td>
154
                                  <%Else%>
155
                                  <td nowrap class="form_ttl">RELEASE BUILD LOG</td>
156
                                  <%End If%>
157
                              </td>
5008 dpurdie 158
                              <td align="right" valign="bottom"></td>
159
                           </tr>
160
                        </table>
161
                     </td>
162
                     <td width="1%"></td>
163
                  </tr>
5018 dpurdie 164
                  <!-- Section Top Border ---->
5008 dpurdie 165
                  <tr>
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>
5018 dpurdie 167
                     <td background="images/lbox_bg_blue.gif" class="lbox_ttl_w"><img src="images/h_trsp_dot.gif" width="60" height="15"></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>
5008 dpurdie 169
                  </tr>
5098 dpurdie 170
                    <!-- Indef Pause Warning ---->
171
                    <td id="indefPause" colspan="3" style="display: none;">
172
                        <span class="err_alert">
173
                            <font size="2"><b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b></font>
174
                        </span>
175
                    </td>
176
                  </tr>
5018 dpurdie 177
                 <!-- Section Body Header ---->
178
                  <tr><td colspan="3" class="form_ifilter">
179
                  <!-- Main Pane -->
180
                  <table id="table1" width=100%>
181
            	    <thead class="body_col">
182
            		    <tr>
183
                             <th>Project</th>
184
                             <th>Release</th>
185
                             <th>Package</th>
186
                             <th>Version</th>
187
                             <th>Time</th>
188
                             <th>Reason</th>
189
                             <th>Result</th>
5044 dpurdie 190
                             <th>Tests</th>
5018 dpurdie 191
            		    </tr>
192
            	    </thead>
193
                	<tbody>
194
            	    </tbody>
195
                  </table>
196
                  </td></tr>
5008 dpurdie 197
            </td>
198
         </tr>
199
         <tr>
5018 dpurdie 200
            <!-- Section Body Footer ---->
201
            <td background="images/bg_action_norm.gif" ></td>
202
            <td align="right" 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>
5008 dpurdie 204
         </tr>
5018 dpurdie 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>
207
            <td background="images/lbox_bg_blue.gif"></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>
209
         </tr>
5008 dpurdie 210
      </table>
5018 dpurdie 211
  </tr>
212
  <tr>
213
    <td valign="bottom" align="center" background="images/bg_home_orange.gif"></td>
214
    <td background="images/bg_lght_gray.gif" valign="top"><img src="images/h_trsp_dot.gif" width="1" height="500"></td>
215
  </tr>
216
</table>
217
<!-- FOOTER -->
218
<!--#include file="_footer.asp"-->
219
</body>
5008 dpurdie 220
</html>
221
<%
222
Call Destroy_All_Objects
223
%>