| 119 |
ghuddy |
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
|
|
2 |
<%
|
|
|
3 |
'=====================================================
|
|
|
4 |
'| |
|
| 125 |
ghuddy |
5 |
'| INDEX |
|
| 119 |
ghuddy |
6 |
'| |
|
|
|
7 |
'=====================================================
|
|
|
8 |
%>
|
|
|
9 |
<%
|
|
|
10 |
Option explicit
|
|
|
11 |
' Good idea to set when using redirect
|
| 125 |
ghuddy |
12 |
Response.Expires = 0 ' always load the page, dont store
|
| 119 |
ghuddy |
13 |
%>
|
|
|
14 |
<!--#include file="common/conf.asp"-->
|
|
|
15 |
<!--#include file="common/globals.asp"-->
|
|
|
16 |
<!--#include file="common/formating.asp"-->
|
|
|
17 |
<!--#include file="common/qstr.asp"-->
|
|
|
18 |
<!--#include file="common/common_subs.asp"-->
|
|
|
19 |
<%
|
|
|
20 |
'------------ ACCESS CONTROL ------------------
|
|
|
21 |
%>
|
|
|
22 |
<!--#include file="_access_control_general.asp"-->
|
|
|
23 |
<%
|
|
|
24 |
'------------ Variable Definition -------------
|
|
|
25 |
Dim parMsg
|
|
|
26 |
Dim msgScript
|
|
|
27 |
Dim userId
|
|
|
28 |
Dim rsQry
|
|
|
29 |
Dim rsLastRelease
|
| 125 |
ghuddy |
30 |
Dim AutomatedPackages, TotalPackages
|
| 119 |
ghuddy |
31 |
Dim Query_String
|
| 125 |
ghuddy |
32 |
Dim Auto
|
| 119 |
ghuddy |
33 |
'------------ Constants Declaration -----------
|
|
|
34 |
'------------ Variable Init -------------------
|
| 125 |
ghuddy |
35 |
parMsg = QStrPar("msg") ' Messages
|
| 119 |
ghuddy |
36 |
'----------------------------------------------
|
|
|
37 |
%>
|
|
|
38 |
<%
|
|
|
39 |
'-----------------------------------------------------------------------------------------------------------------------
|
|
|
40 |
Function Get_Messages
|
| 125 |
ghuddy |
41 |
Get_Messages = _
|
|
|
42 |
" SELECT * FROM message_board WHERE expiry_date > "& ORA_SYSDATE &" OR due_date >= "& ORA_SYSDATE &"+2"
|
| 119 |
ghuddy |
43 |
End Function
|
|
|
44 |
'-----------------------------------------------------------------------------------------------------------------------
|
|
|
45 |
Function Get_DashBoard (nProjId)
|
| 125 |
ghuddy |
46 |
Get_DashBoard = _
|
|
|
47 |
" SELECT * FROM DASH_BOARD db, PROJECTS prj, RELEASE_TAGS rt where prj.proj_id = rt.proj_id and rt.rtag_id = db.rtag_id "&_
|
|
|
48 |
" and db.proj_id = "&nProjId&" order by last_build_time desc"
|
| 119 |
ghuddy |
49 |
End Function
|
|
|
50 |
'-----------------------------------------------------------------------------------------------------------------------
|
|
|
51 |
%>
|
|
|
52 |
<html>
|
| 125 |
ghuddy |
53 |
<head>
|
|
|
54 |
<title>Release Manager</title>
|
|
|
55 |
<meta http-equiv="Pragma" content="no-cache">
|
|
|
56 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
57 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
58 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
59 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
60 |
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
|
|
|
61 |
<!-- TIPS -->
|
|
|
62 |
<script language="JavaScript" src="images/tipster.js"></script>
|
|
|
63 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
|
|
64 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
65 |
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
|
|
|
66 |
<!-- DROPDOWN MENUS -->
|
|
|
67 |
<!--#include file="_menu_def.asp"-->
|
|
|
68 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
69 |
<script language="JavaScript" type="text/javascript">
|
|
|
70 |
<!--
|
| 119 |
ghuddy |
71 |
|
| 125 |
ghuddy |
72 |
function RequestUserWip( paramString, rowId ){
|
|
|
73 |
var requestURL = 'RequestUserWip.asp';
|
| 119 |
ghuddy |
74 |
|
| 125 |
ghuddy |
75 |
// Show div
|
|
|
76 |
ToggleDisplay( 'DIVWIP_'+ rowId, 'IMG_EXPAND_WIP_' + rowId, 'IMG_COLLAPSE_WIP_' + rowId );
|
| 119 |
ghuddy |
77 |
|
| 125 |
ghuddy |
78 |
// Set ajax divname
|
|
|
79 |
ajaxdivname = 'DIVWIP_'+ rowId;
|
| 119 |
ghuddy |
80 |
|
| 125 |
ghuddy |
81 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
82 |
{
|
|
|
83 |
//Append the name to search for to the requestURL
|
|
|
84 |
var url = requestURL + paramString;
|
| 119 |
ghuddy |
85 |
|
| 125 |
ghuddy |
86 |
//Create the xmlHttp object to use in the request
|
|
|
87 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
88 |
// This is non-blocking (asynchronous)
|
|
|
89 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
| 119 |
ghuddy |
90 |
|
| 125 |
ghuddy |
91 |
//Send the xmlHttp get to the specified url
|
|
|
92 |
xmlHttp_Get(xmlHttp, url);
|
|
|
93 |
}
|
|
|
94 |
}
|
| 119 |
ghuddy |
95 |
|
| 125 |
ghuddy |
96 |
function RequestProjectRelease( paramString, rowId ){
|
|
|
97 |
var requestURL = 'RequestProjectRelease.asp';
|
| 119 |
ghuddy |
98 |
|
| 125 |
ghuddy |
99 |
// Show div
|
|
|
100 |
ToggleDisplay( 'DIVPROJ_'+ rowId, 'IMG_EXPAND_PROJ_' + rowId, 'IMG_COLLAPSE_PROJ_' + rowId );
|
| 119 |
ghuddy |
101 |
|
| 125 |
ghuddy |
102 |
// Set ajax divname
|
|
|
103 |
ajaxdivname = 'DIVPROJ_'+ rowId;
|
|
|
104 |
|
|
|
105 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
106 |
{
|
|
|
107 |
//Append the name to search for to the requestURL
|
|
|
108 |
var url = requestURL + paramString;
|
|
|
109 |
|
|
|
110 |
//Create the xmlHttp object to use in the request
|
|
|
111 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
112 |
// This is non-blocking (asynchronous)
|
|
|
113 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
|
|
114 |
|
|
|
115 |
//Send the xmlHttp get to the specified url
|
|
|
116 |
xmlHttp_Get(xmlHttp, url);
|
|
|
117 |
}
|
|
|
118 |
}
|
|
|
119 |
|
|
|
120 |
function RequestReleasePackages( paramString, rowId ){
|
|
|
121 |
var requestURL = 'RequestReleasePackages.asp';
|
|
|
122 |
|
|
|
123 |
// Show div
|
|
|
124 |
ToggleDisplay( 'DIVRTAG_'+ rowId, 'IMG_EXPAND_RTAG_' + rowId, 'IMG_COLLAPSE_RTAG_' + rowId );
|
|
|
125 |
|
|
|
126 |
// Set ajax divname
|
|
|
127 |
ajaxdivname = 'DIVRTAG_'+ rowId;
|
|
|
128 |
|
|
|
129 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
130 |
{
|
|
|
131 |
//Append the name to search for to the requestURL
|
|
|
132 |
var url = requestURL + paramString;
|
|
|
133 |
|
|
|
134 |
//Create the xmlHttp object to use in the request
|
|
|
135 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
136 |
// This is non-blocking (asynchronous)
|
|
|
137 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
|
|
138 |
|
|
|
139 |
//Send the xmlHttp get to the specified url
|
|
|
140 |
xmlHttp_Get(xmlHttp, url);
|
|
|
141 |
}
|
|
|
142 |
}
|
|
|
143 |
|
|
|
144 |
function RequestTop10ChangesInLastWeek( paramString, rowId ){
|
|
|
145 |
var requestURL = 'RequestTop10Changes.asp';
|
|
|
146 |
|
|
|
147 |
// Show div
|
|
|
148 |
ToggleDisplay( 'DIVRTAG_'+ rowId + '_TOP10_1_WEEK', 'IMG_EXPAND_RTAG_' + rowId + '_TOP10_1_WEEK', 'IMG_COLLAPSE_RTAG_' + rowId + '_TOP10_1_WEEK' );
|
|
|
149 |
|
|
|
150 |
// Set ajax divname
|
|
|
151 |
ajaxdivname = 'DIVRTAG_'+ rowId + '_TOP10_1_WEEK';
|
|
|
152 |
|
|
|
153 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
154 |
{
|
|
|
155 |
//Append the name to search for to the requestURL
|
|
|
156 |
var url = requestURL + paramString;
|
|
|
157 |
|
|
|
158 |
//Create the xmlHttp object to use in the request
|
|
|
159 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
160 |
// This is non-blocking (asynchronous)
|
|
|
161 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
|
|
162 |
|
|
|
163 |
//Send the xmlHttp get to the specified url
|
|
|
164 |
xmlHttp_Get(xmlHttp, url);
|
|
|
165 |
}
|
|
|
166 |
}
|
|
|
167 |
|
|
|
168 |
function RequestTop10ChangesInLastMonth( paramString, rowId ){
|
|
|
169 |
var requestURL = 'RequestTop10Changes.asp';
|
|
|
170 |
|
|
|
171 |
// Show div
|
|
|
172 |
ToggleDisplay( 'DIVRTAG_'+ rowId + '_TOP10_1_MONTH', 'IMG_EXPAND_RTAG_' + rowId + '_TOP10_1_MONTH', 'IMG_COLLAPSE_RTAG_' + rowId + '_TOP10_1_MONTH' );
|
|
|
173 |
|
|
|
174 |
// Set ajax divname
|
|
|
175 |
ajaxdivname = 'DIVRTAG_'+ rowId + '_TOP10_1_MONTH';
|
|
|
176 |
|
|
|
177 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
178 |
{
|
|
|
179 |
//Append the name to search for to the requestURL
|
|
|
180 |
var url = requestURL + paramString;
|
|
|
181 |
|
|
|
182 |
//Create the xmlHttp object to use in the request
|
|
|
183 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
184 |
// This is non-blocking (asynchronous)
|
|
|
185 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
|
|
186 |
|
|
|
187 |
//Send the xmlHttp get to the specified url
|
|
|
188 |
xmlHttp_Get(xmlHttp, url);
|
|
|
189 |
}
|
|
|
190 |
}
|
|
|
191 |
|
|
|
192 |
function RequestTop10ChangesInLast3Months( paramString, rowId ){
|
|
|
193 |
var requestURL = 'RequestTop10Changes.asp';
|
|
|
194 |
|
|
|
195 |
// Show div
|
|
|
196 |
ToggleDisplay( 'DIVRTAG_'+ rowId + '_TOP10_3_MONTHS', 'IMG_EXPAND_RTAG_' + rowId + '_TOP10_3_MONTHS', 'IMG_COLLAPSE_RTAG_' + rowId + '_TOP10_3_MONTHS' );
|
|
|
197 |
|
|
|
198 |
// Set ajax divname
|
|
|
199 |
ajaxdivname = 'DIVRTAG_'+ rowId + '_TOP10_3_MONTHS';
|
|
|
200 |
|
|
|
201 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
202 |
{
|
|
|
203 |
//Append the name to search for to the requestURL
|
|
|
204 |
var url = requestURL + paramString;
|
|
|
205 |
|
|
|
206 |
//Create the xmlHttp object to use in the request
|
|
|
207 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
208 |
// This is non-blocking (asynchronous)
|
|
|
209 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
|
|
210 |
|
|
|
211 |
//Send the xmlHttp get to the specified url
|
|
|
212 |
xmlHttp_Get(xmlHttp, url);
|
|
|
213 |
}
|
|
|
214 |
}
|
|
|
215 |
|
|
|
216 |
function RequestPreviousPackageVersions( paramString, rowId ){
|
|
|
217 |
var requestURL = 'RequestPackageVersionHistoryMetrics.asp';
|
|
|
218 |
|
|
|
219 |
// Show div
|
|
|
220 |
ToggleDisplay( 'DIVRTAG_'+ rowId + '_PREV_PKG_VERS', 'IMG_EXPAND_RTAG_' + rowId + '_PREV_PKG_VERS', 'IMG_COLLAPSE_RTAG_' + rowId + '_PREV_PKG_VERS' );
|
|
|
221 |
|
|
|
222 |
// Set ajax divname
|
|
|
223 |
ajaxdivname = 'DIVRTAG_'+ rowId + '_PREV_PKG_VERS';
|
|
|
224 |
|
|
|
225 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
|
|
226 |
{
|
|
|
227 |
//Append the name to search for to the requestURL
|
|
|
228 |
var url = requestURL + paramString;
|
|
|
229 |
|
|
|
230 |
//Create the xmlHttp object to use in the request
|
|
|
231 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
|
|
232 |
// This is non-blocking (asynchronous)
|
|
|
233 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
|
|
234 |
|
|
|
235 |
//Send the xmlHttp get to the specified url
|
|
|
236 |
xmlHttp_Get(xmlHttp, url);
|
|
|
237 |
}
|
|
|
238 |
}
|
|
|
239 |
|
|
|
240 |
//-->
|
|
|
241 |
</script>
|
|
|
242 |
<style type="text/css">
|
|
|
243 |
<!--
|
|
|
244 |
.style1 {
|
|
|
245 |
font-family: Arial, Helvetica, sans-serif;
|
|
|
246 |
font-size: 12px;
|
|
|
247 |
}
|
|
|
248 |
.style3 {
|
|
|
249 |
font-size: 11px;
|
|
|
250 |
font-family: tahoma, sans-serif;
|
|
|
251 |
}
|
|
|
252 |
-->
|
|
|
253 |
</style>
|
|
|
254 |
</head>
|
|
|
255 |
<!-- TIPS LAYERS -------------------------------------->
|
|
|
256 |
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10"> </div>
|
|
|
257 |
|
| 157 |
ghuddy |
258 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onLoad="login.user_name.focus();">
|
| 125 |
ghuddy |
259 |
<!-- MENU LAYERS -------------------------------------->
|
|
|
260 |
<div id="popmenu" class="menuskin" onmouseover="clearhidemenu();highlightmenu(event,'on')"
|
|
|
261 |
onmouseout="highlightmenu(event,'off');dynamichide(event)">
|
|
|
262 |
</div>
|
|
|
263 |
<!-- HEADER -->
|
| 2365 |
dpurdie |
264 |
<!--#include file="_header.asp"-->
|
| 125 |
ghuddy |
265 |
<!-- BODY ---->
|
|
|
266 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
267 |
<tr>
|
|
|
268 |
<td width="1%" background="images/bg_home_orange.gif" valign="top">
|
|
|
269 |
<!--#include file="_front_explorer.asp"-->
|
|
|
270 |
</td>
|
|
|
271 |
<td rowspan="2" width="1%" valign="top">
|
|
|
272 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
273 |
<tr>
|
|
|
274 |
<td width="1%">
|
|
|
275 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
276 |
<tr>
|
|
|
277 |
<td colspan="3">
|
|
|
278 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
279 |
<tr>
|
|
|
280 |
<td background="images/bg_comp_gear.gif"><img src="images/img_comp_gear_left.jpg" width="436" height="88"></td>
|
|
|
281 |
<td align="right" background="images/bg_comp_gear.gif"><img src="images/img_comp_gear_right.jpg" width="70" height="88"></td>
|
|
|
282 |
</tr>
|
|
|
283 |
</table>
|
|
|
284 |
</td>
|
|
|
285 |
<td background="images/bg_action_norm.gif"></td>
|
|
|
286 |
<td background="images/bg_action_norm.gif" valign="top" align="center"><img src="images/h_trsp_dot.gif" width="150" height="10"></td>
|
|
|
287 |
</tr>
|
|
|
288 |
<tr>
|
|
|
289 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="15" height="518"></td>
|
|
|
290 |
<td width="100%" valign="top" class="body_txt">
|
|
|
291 |
<br>
|
|
|
292 |
<!-- MESSAGE BOARD ---------------------------------------------->
|
|
|
293 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
294 |
<tr>
|
|
|
295 |
<td colspan="2" class="body_sect">Message Board</td>
|
|
|
296 |
</tr>
|
|
|
297 |
<tr>
|
|
|
298 |
<td align="center" width="1%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif">Due Date</td>
|
|
|
299 |
<td width="100%" background="images/bg_form_lightbluedark.gif" align="right">
|
|
|
300 |
<a href="javascript:;" onclick="MM_openBrWindow('_wform_schedule_add.asp','ReleaseManager','resizable=yes,width=400,height=300')"><img src="images/i_schedule.gif" width="16" height="15" border="0" hspace="4" vspace="2" alt="Schedule a Task" title="Schedule a Task"></a><a href="javascript:;" onclick="MM_openBrWindow('_wform_memo_add.asp','ReleaseManager','resizable=yes,width=400,height=300')"><img src="images/i_memo.gif" width="12" height="15" border="0" hspace="4" vspace="2" alt="Memo" title="Memo"></a>
|
|
|
301 |
</td>
|
|
|
302 |
</tr>
|
|
|
303 |
<%
|
|
|
304 |
Set rsTemp = OraDatabase.DbCreateDynaset( Get_Messages, cint(0))
|
|
|
305 |
If rsTemp.RecordCount < 1 Then Response.write "<tr><td colspan='2' class='msgb_item'> No messages at this time.</td></tr>"
|
|
|
306 |
While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
|
|
|
307 |
If rsTemp.Fields("due_date") <> "" Then
|
|
|
308 |
msgScript = "schedule"
|
|
|
309 |
Else
|
|
|
310 |
msgScript = "memo"
|
|
|
311 |
End If
|
|
|
312 |
%>
|
|
|
313 |
<tr>
|
|
|
314 |
<td align="center" valign="top" nowrap>
|
|
|
315 |
<%If rsTemp.Fields("due_date") <> "" Then%>
|
|
|
316 |
<a href="javascript:;" onClick="MM_openBrWindow('_wform_<%=msgScript%>_edit.asp?FRmsg_id=<%=rsTemp.Fields("msg_id")%>','ReleaseManager','resizable=yes,width=400,height=300')" class="msgb_item">
|
|
|
317 |
<%=EuroDate(rsTemp.Fields("due_date"))%>
|
|
|
318 |
<br>
|
|
|
319 |
<img src="images/i_clock.gif" width="14" height="14" border="0">
|
|
|
320 |
</a>
|
|
|
321 |
<%Else%>
|
|
|
322 |
<img src="images/h_trsp_dot.gif" width="1" height="25">
|
|
|
323 |
<%End If%>
|
|
|
324 |
</td>
|
|
|
325 |
<td valign="top"><a href="javascript:;" onClick="MM_openBrWindow('_wform_<%=msgScript%>_edit.asp?FRmsg_id=<%=rsTemp.Fields("msg_id")%>','ReleaseManager','resizable=yes,width=400,height=300')" class="msgb_item"><%=Replace(rsTemp.Fields("msg_details"), VBNewLine, "<br>")%></a>
|
|
|
326 |
</td>
|
|
|
327 |
</tr>
|
|
|
328 |
<tr>
|
|
|
329 |
<td colspan="2" background="images/bg_form_lightbluedark.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
330 |
</tr>
|
|
|
331 |
<%
|
|
|
332 |
rsTemp.MoveNext
|
|
|
333 |
WEnd
|
|
|
334 |
rsTemp.Close
|
|
|
335 |
Set rsTemp = nothing
|
|
|
336 |
%>
|
|
|
337 |
<tr>
|
|
|
338 |
<td><img src="images/h_trsp_dot.gif" width="80" height="1"></td>
|
|
|
339 |
<td align="right"></td>
|
|
|
340 |
</tr>
|
|
|
341 |
</table>
|
|
|
342 |
<!-- MESSAGE BOARD END ---------------------------------------------->
|
|
|
343 |
<br>
|
|
|
344 |
<br>
|
|
|
345 |
<!-- WORK IN PROGRESS ---------------------------------------------->
|
|
|
346 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
|
347 |
<tr>
|
|
|
348 |
<td colspan="4" class="body_sect">Work In Progress</td>
|
|
|
349 |
</tr>
|
|
|
350 |
<tr>
|
|
|
351 |
<td width="40%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> User</td>
|
|
|
352 |
<td width="50%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> Package Count</td>
|
|
|
353 |
<td width="1%" background="images/bg_form_lightbluedark.gif"><img src="images/h_trsp_dot.gif" width="1" height="17"></td>
|
|
|
354 |
</tr>
|
|
|
355 |
<!-- PERSONAL WORK IN PROGRESS -->
|
|
|
356 |
<%
|
|
|
357 |
If objAccessControl.UserLogedIn Then
|
|
|
358 |
|
|
|
359 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
360 |
|
|
|
361 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("WorkInProgressByUser.sql"), cint(0))
|
|
|
362 |
|
|
|
363 |
OraDatabase.Parameters.Remove "USER_ID"
|
|
|
364 |
|
|
|
365 |
userId = rsTemp("user_id")
|
|
|
366 |
%>
|
|
|
367 |
<tr>
|
|
|
368 |
<td nowrap>
|
|
|
369 |
<span id="IMG_EXPAND_WIP_<%=userId%>" style="display:block;">
|
|
|
370 |
<a href="javascript:;" class="txt_linked" onClick="RequestUserWip('?user_id=<%=userId%>', '<%=userId%>');"><img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_user.gif" border="0" align="absmiddle" hspace="3"><%=rsTemp("full_name")%></a>
|
|
|
371 |
</span>
|
|
|
372 |
<span id="IMG_COLLAPSE_WIP_<%=userId%>" style="display:none;">
|
|
|
373 |
<a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'DIVWIP_<%=userId%>', 'IMG_EXPAND_WIP_<%=userId%>', 'IMG_COLLAPSE_WIP_<%=userId%>');"><img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_user.gif" border="0" align="absmiddle" hspace="3"><%=rsTemp("full_name")%></a>
|
|
|
374 |
</span>
|
|
|
375 |
</td>
|
|
|
376 |
<td nowrap class="body_txt"><%=rsTemp("counter")%></td>
|
|
|
377 |
<td nowrap class="body_txt"><a href="mailto:<%=rsTemp("user_email")%>"><img src="images/bt_send_email.gif" width="36" height="13" border="0" alt="<%=rsTemp("user_email")%>"></a>
|
|
|
378 |
</td>
|
|
|
379 |
</tr>
|
|
|
380 |
<tr>
|
|
|
381 |
<td nowrap class="body_txt" colspan="3">
|
|
|
382 |
<div id="DIVWIP_<%=userId%>" style="display:none;"><%=enumLOADING%></div>
|
|
|
383 |
</td>
|
|
|
384 |
</tr>
|
|
|
385 |
<tr>
|
|
|
386 |
<td colspan="3" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
387 |
</tr>
|
|
|
388 |
<%
|
|
|
389 |
rsTemp.Close
|
|
|
390 |
Set rsTemp = nothing
|
|
|
391 |
End If%>
|
|
|
392 |
</table>
|
|
|
393 |
<!-- WORK IN PROGRESS END ------------------------------------------>
|
|
|
394 |
<br>
|
|
|
395 |
<br>
|
|
|
396 |
<!-- RELEASE METRICS -------------------------------------------------------->
|
|
|
397 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
398 |
<tr>
|
|
|
399 |
<td colspan="4" class="body_sect">Release Metrics</td>
|
|
|
400 |
</tr>
|
|
|
401 |
<tr>
|
|
|
402 |
<td colspan="2">
|
|
|
403 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
|
404 |
<tr>
|
|
|
405 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Project</td>
|
|
|
406 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Last Autobuilt<br>Release</td>
|
|
|
407 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Last Autobuild<br>Completed</td>
|
|
|
408 |
<td nowrap class="body_txt" valign="top" background="images/bg_form_lightbluedark.gif">Autobuilt Packages</td>
|
|
|
409 |
</tr>
|
|
|
410 |
<%
|
|
|
411 |
Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ProjectsWithMetrics.sql"), cint(0))
|
|
|
412 |
|
|
|
413 |
While ((NOT rsQry.BOF) AND (NOT rsQry.EOF))
|
|
|
414 |
OraDatabase.Parameters.Add "PROJ_ID", rsQry("proj_id"), ORAPARM_INPUT, ORATYPE_NUMBER
|
|
|
415 |
|
|
|
416 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("ReleaseMetrics.sql"), cint(0))
|
|
|
417 |
|
|
|
418 |
If rsTemp.RecordCount > 0 Then
|
|
|
419 |
Auto=FormatPercent(rsTemp("autobuilt")/rsTemp("total_packages"), 2)
|
|
|
420 |
End If
|
|
|
421 |
%>
|
|
|
422 |
<tr>
|
|
|
423 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt">
|
|
|
424 |
<span id="IMG_EXPAND_PROJ_<%=rsQry("proj_id")%>" style="display:block;">
|
|
|
425 |
<a href="javascript:;" class="txt_linked" onClick="RequestProjectRelease('?proj_id=<%=rsQry("proj_id")%>', '<%=rsQry("proj_id")%>');"><img src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3"><%=rsQry("proj_name")%></a>
|
|
|
426 |
</span>
|
|
|
427 |
<span id="IMG_COLLAPSE_PROJ_<%=rsQry("proj_id")%>" style="display:none;">
|
|
|
428 |
<a href="javascript:;" class="txt_linked" onClick="ToggleDisplay( 'DIVPROJ_<%=rsQry("proj_id")%>', 'IMG_EXPAND_PROJ_<%=rsQry("proj_id")%>', 'IMG_COLLAPSE_PROJ_<%=rsQry("proj_id")%>');"><img src="images/bt_minus.gif" border="0" align="absmiddle" hspace="3"><img src="images/i_world.gif" border="0" align="absmiddle" hspace="3"><%=rsQry("proj_name")%></a>
|
|
|
429 |
</span>
|
|
|
430 |
</td>
|
|
|
431 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt"><%=rsTemp("rtag_name")%></td>
|
|
|
432 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt"><%=rsTemp("last_build_time")%></td>
|
|
|
433 |
<%If rsTemp.RecordCount > 0 Then%>
|
|
|
434 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt"><%=rsTemp("autobuilt")%>/<%=rsTemp("total_packages")%>
|
|
|
435 |
(<%=Auto%>)</td>
|
|
|
436 |
<%Else%>
|
|
|
437 |
<td background="images/bg_form_lightgray.gif" nowrap class="body_txt"></td>
|
|
|
438 |
<%End If%>
|
|
|
439 |
</tr>
|
|
|
440 |
<tr>
|
|
|
441 |
<td nowrap class="body_txt" colspan="4">
|
|
|
442 |
<div id="DIVPROJ_<%=rsQry("proj_id")%>" style="display:none;"><%=enumLOADING%></div>
|
|
|
443 |
</td>
|
|
|
444 |
</tr>
|
|
|
445 |
<tr>
|
|
|
446 |
<td colspan="5" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
447 |
</tr>
|
|
|
448 |
<%
|
|
|
449 |
OraDatabase.Parameters.Remove "PROJ_ID"
|
|
|
450 |
rsTemp.Close()
|
|
|
451 |
Set rsTemp = Nothing
|
|
|
452 |
rsQry.MoveNext
|
|
|
453 |
Wend
|
|
|
454 |
|
|
|
455 |
rsQry.Close()
|
|
|
456 |
Set rsQry = Nothing
|
|
|
457 |
%>
|
|
|
458 |
</table>
|
|
|
459 |
</td>
|
|
|
460 |
</tr>
|
|
|
461 |
</table>
|
|
|
462 |
<!-- DASH BOARD END ---------------------------------------------------->
|
|
|
463 |
</td>
|
|
|
464 |
<td width="1%"><img src="images/h_trsp_dot.gif" width="15" height="10"></td>
|
|
|
465 |
<td background="images/bg_action_norm.gif" width="1%"><img src="images/h_trsp_dot.gif" width="5" height="10"></td>
|
|
|
466 |
<td background="images/bg_bage.gif" width="1%" valign="top" align="center">
|
|
|
467 |
<br>
|
|
|
468 |
<%If NOT objAccessControl.UserLogedIn Then%>
|
|
|
469 |
<table width="100" border="0" cellspacing="0" cellpadding="0">
|
|
|
470 |
<form name="login" method="post" action="Login.asp">
|
|
|
471 |
<tr>
|
|
|
472 |
<td class="form_field_lg">Members</td>
|
|
|
473 |
</tr>
|
|
|
474 |
<tr>
|
|
|
475 |
<td class="form_item">Username</td>
|
|
|
476 |
</tr>
|
|
|
477 |
<tr>
|
| 3959 |
dpurdie |
478 |
<td><input type="text" name="user_name" class="form_item" size="20"></td>
|
| 125 |
ghuddy |
479 |
</tr>
|
|
|
480 |
<tr>
|
|
|
481 |
<td class="form_item">Password</td>
|
|
|
482 |
</tr>
|
|
|
483 |
<tr>
|
|
|
484 |
<td>
|
| 3959 |
dpurdie |
485 |
<input type="password" name="user_password" class="form_item" size="20" <%If objAccessControl.isDevSystem Then Response.write"disabled"%>>
|
|
|
486 |
<input type="hidden" name="rfile" value="index.asp">
|
| 125 |
ghuddy |
487 |
<input type="hidden" name="action" value="true">
|
|
|
488 |
</td>
|
|
|
489 |
</tr>
|
|
|
490 |
<tr>
|
|
|
491 |
<td><img src="images/h_trsp_dot.gif" width="10" height="10"></td>
|
|
|
492 |
</tr>
|
|
|
493 |
<tr>
|
| 3959 |
dpurdie |
494 |
<td align="center">
|
|
|
495 |
<input type="submit" name="Submit" value="Login" class="form_btn" onclick="MM_validateForm('user_name','Username','R'<%If NOT objAccessControl.isDevSystem Then Response.write",'user_password','Password','R'"%>);return document.MM_returnValue">
|
| 125 |
ghuddy |
496 |
<br>
|
|
|
497 |
<br>
|
|
|
498 |
</td>
|
|
|
499 |
</tr>
|
|
|
500 |
<tr>
|
|
|
501 |
<td class="form_field_lg" bgcolor="#CAC5B8"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
502 |
</tr>
|
|
|
503 |
<tr>
|
|
|
504 |
<td class="form_field_lg"><br>New Members</td>
|
|
|
505 |
</tr>
|
|
|
506 |
<tr>
|
|
|
507 |
<td class="form_txt" align="center"><a href="mailto:<%=ADMIN_EMAIL%>?subject=Request for Release Manager Account" class="txt_linked"><img src="images/img_signup_here.gif" width="92" height="43" border="0" alt="New Members SignUp Here."></a><br>
|
|
|
508 |
<br>
|
|
|
509 |
</td>
|
|
|
510 |
</tr>
|
|
|
511 |
<tr>
|
|
|
512 |
<td class="form_field_lg" bgcolor="#CAC5B8"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
513 |
</tr>
|
|
|
514 |
</form>
|
|
|
515 |
</table>
|
|
|
516 |
<span class="style3">
|
|
|
517 |
Forgot your <a href="mailto:<%=ADMIN_EMAIL%>?subject=Request for Password Reset" class="body_link"> password</a>?<br><br>
|
|
|
518 |
</span>
|
|
|
519 |
<%Else%>
|
|
|
520 |
<table width="120" border="0" cellspacing="0" cellpadding="0">
|
|
|
521 |
<tr>
|
|
|
522 |
<td class="form_txt" nowrap>G'day <b><%=Format_Full_Name( objAccessControl.FullName )%></b>!</td>
|
|
|
523 |
</tr>
|
|
|
524 |
<tr>
|
|
|
525 |
<td><img src="images/h_trsp_dot.gif" width="10" height="10"></td>
|
|
|
526 |
</tr>
|
|
|
527 |
<tr>
|
|
|
528 |
<td class="form_field_lg" bgcolor="#CAC5B8"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
529 |
</tr>
|
|
|
530 |
<tr>
|
|
|
531 |
<td><img src="images/h_trsp_dot.gif" width="10" height="10"></td>
|
|
|
532 |
</tr>
|
|
|
533 |
<tr>
|
|
|
534 |
<td class="form_txt">Options below are shortcuts to your account.</td>
|
|
|
535 |
</tr>
|
|
|
536 |
<tr>
|
|
|
537 |
<td><img src="images/h_trsp_dot.gif" width="10" height="10"></td>
|
|
|
538 |
</tr>
|
|
|
539 |
</table>
|
|
|
540 |
<br>
|
|
|
541 |
<!--#include file="members_menu_def.asp"-->
|
|
|
542 |
<%Call Member_Menu( empty )%>
|
|
|
543 |
<%End If%>
|
|
|
544 |
<img src="images/h_trsp_dot.gif" width="140" height="10">
|
|
|
545 |
</td>
|
|
|
546 |
</tr>
|
|
|
547 |
</table>
|
|
|
548 |
</td>
|
|
|
549 |
</tr>
|
|
|
550 |
</table>
|
|
|
551 |
</td>
|
|
|
552 |
<td width="100%"> </td>
|
|
|
553 |
</tr>
|
|
|
554 |
<tr>
|
|
|
555 |
<td valign="bottom" align="center" background="images/bg_home_orange.gif"><img src="images/img_gear.gif" width="107" height="107" vspace="20" hspace="30"></td>
|
|
|
556 |
<td> </td>
|
|
|
557 |
</tr>
|
|
|
558 |
</table>
|
|
|
559 |
<!-- FOOTER -->
|
|
|
560 |
<div align="left">
|
|
|
561 |
<!--#include file="_footer.asp"-->
|
|
|
562 |
</div>
|
|
|
563 |
</body>
|
| 119 |
ghuddy |
564 |
</html>
|