Subversion Repositories DevTools

Rev

Rev 6877 | Rev 6880 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6877 Rev 6879
Line 32... Line 32...
32
'------------ Constants Declaration -----------
32
'------------ Constants Declaration -----------
33
'------------ Variable Init -------------------
33
'------------ Variable Init -------------------
34
parRtagId = Request("rtag_id")
34
parRtagId = Request("rtag_id")
35
objPMod.PersistInQryString("rtag_id")
35
objPMod.PersistInQryString("rtag_id")
36
'----------------------------------------------
36
'----------------------------------------------
-
 
37
Sub BuildLogOptions%>
-
 
38
    <fieldset class=body_rowg>
-
 
39
        <legend class="body_scol">Display Options</legend>
-
 
40
        <div><input id=onlyNew class='triggerRefresh' type=checkbox>Only New</div>
-
 
41
        <div><input id=onlyComplete class='triggerRefresh' type=checkbox>Only Complete</div>
-
 
42
    </fieldset>
37
%>
43
<%End Sub%>
38
<html>
44
<html>
39
   <head>
45
   <head>
40
        <title>Release Manager</title>
46
        <title>Release Manager</title>
41
        <link rel="shortcut icon" href="<%=FavIcon%>"/>
47
        <link rel="shortcut icon" href="<%=FavIcon%>"/>
42
        <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
48
        <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
Line 55... Line 61...
55
        table = $("#table1").dataTable({
61
        table = $("#table1").dataTable({
56
            serverSide: true,
62
            serverSide: true,
57
            deferRender : true,
63
            deferRender : true,
58
            ajax : {
64
            ajax : {
59
                url : "build_release_log_json.asp",
65
                url : "build_release_log_json.asp",
60
                type : "GET",
66
                type : "POST",
61
                data : function (o){
67
                data : function (o){
62
<%If parRtagId <> "" Then %>
68
<%If parRtagId <> "" Then %>
63
                    o.rtag_id = "<%=parRtagId%>";
69
                    o.rtag_id = "<%=parRtagId%>";
64
<%End If%>
70
<%End If%>
-
 
71
                    o.onlyNew = $('#onlyNew').is(":checked");
-
 
72
                    o.onlyComplete = $('#onlyComplete').is(":checked");
-
 
73
 
65
                }
74
                }
66
            },
75
            },
67
            dom: "frtiS",
76
            dom: "frtiS",
68
            scrollY: $( document ).height() 
77
            scrollY: $( document ).height() 
69
<%If parRtagId <> "" Then %>
78
<%If parRtagId <> "" Then %>
Line 109... Line 118...
109
                $('#indefPause').hide();
118
                $('#indefPause').hide();
110
            }
119
            }
111
        },'json');
120
        },'json');
112
    }
121
    }
113
 
122
 
-
 
123
    // Force refresh when check box chnages
-
 
124
     $('.triggerRefresh').change(function() {
-
 
125
         table.api().ajax.reload();
-
 
126
    });
-
 
127
 
114
    updateIndefPause();
128
    updateIndefPause();
115
    indefTimer = setInterval( updateIndefPause,30000 );
129
    indefTimer = setInterval( updateIndefPause,30000 );
-
 
130
 
-
 
131
 
116
	} );
132
	} );
117
</script>
133
</script>
118
 
134
 
119
      <!-- DROPDOWN MENUS -->
135
      <!-- DROPDOWN MENUS -->
120
      <!--#include file="_menu_def.asp"-->
136
      <!--#include file="_menu_def.asp"-->
Line 124... Line 140...
124
      <!-- HEADER -->
140
      <!-- HEADER -->
125
      <!--#include file="_header.asp"-->
141
      <!--#include file="_header.asp"-->
126
      <!-- BODY ---->
142
      <!-- BODY ---->
127
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
143
        <table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
128
            <tr>
144
            <tr>
129
                <td width="146px" class="bg_panel" valign="top"><%Call BuildMenuPane%></td>
145
                <td width="146px" class="bg_panel" valign="top">
-
 
146
                    <%Call BuildMenuPane%>
-
 
147
                    <%Call BuildLogOptions%>
-
 
148
                </td>
130
                <td width="100%" rowspan="2" valign="top" align="center"  bgcolor="#EEEFEF">
149
                <td width="100%" rowspan="2" valign="top" align="center"  bgcolor="#EEEFEF">
131
                    <div class=panel style="width:50%">
150
                    <div class=panel style="width:50%">
132
                        <div class=rounded_box_caption>
151
                        <div class=rounded_box_caption>
133
                         <%=IIf (parRtagId = "","SYSTEM BUILD LOG", "RELEASE BUILD LOG")%>
152
                         <%=IIf (parRtagId = "","SYSTEM BUILD LOG", "RELEASE BUILD LOG")%>
134
                        </div>
153
                        </div>
135
                        <div class="rounded_box rounded_box_pad" >
154
                        <div class="rounded_box rounded_box_pad" >
136
                                <!-- Indef Pause Warning ---->
155
                            <!-- Indef Pause Warning ---->
137
                                <div id="indefPause" style="display: none;" class="err_alert" style="font-size: small;">
156
                            <div id="indefPause" style="display: none;" class="err_alert" style="font-size: small;">
138
                                    <b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b>
157
                                <b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b>
139
                                </div>
158
                            </div>
140
                                <!-- Section Body Header ---->
159
                            <!-- Section Body Header ---->
141
                                <!-- Main Pane -->
160
                            <!-- Main Pane -->
142
                                <table id="table1" width=100% class="stripe">
161
                            <table id="table1" width=100% class="stripe">
143
                                    <thead class="body_col">
162
                                <thead class="body_col">
144
                                        <th>Project</th>
163
                                    <th>Project</th>
145
                                        <th>Release</th>
164
                                    <th>Release</th>
146
                                        <th>Package</th>
165
                                    <th>Package</th>
147
                                        <th>Version</th>
166
                                    <th>Version</th>
148
                                        <th>Time</th>
167
                                    <th>Time</th>
149
                                        <th>Reason</th>
168
                                    <th>Reason</th>
150
                                        <th>Duration</th>
169
                                    <th>Duration</th>
151
                                        <th>Result</th>
170
                                    <th>Result</th>
152
                                        <th>Tests</th>
171
                                    <th>Tests</th>
153
                                    </thead>
172
                                </thead>
154
                                    <tbody>
173
                                <tbody>
155
                                    </tbody>
174
                                </tbody>
156
                                </table>
175
                            </table>
157
                        </div>
176
                        </div>
158
                    </div>
177
                    </div>
159
                </td>
178
                </td>
160
            </tr>
179
            </tr>
161
            <tr>
180
            <tr>