| Line 23... |
Line 23... |
| 23 |
<%
|
23 |
<%
|
| 24 |
'------------ Variable Definition -------------
|
24 |
'------------ Variable Definition -------------
|
| 25 |
Dim parMsg
|
25 |
Dim parMsg
|
| 26 |
Dim msgScript, msgTitle
|
26 |
Dim msgScript, msgTitle
|
| 27 |
Dim userId
|
27 |
Dim userId
|
| - |
|
28 |
Dim pkgCount
|
| 28 |
Dim rsQry
|
29 |
Dim rsQry
|
| 29 |
Dim rsLastRelease
|
30 |
Dim rsLastRelease
|
| 30 |
Dim AutomatedPackages, TotalPackages
|
31 |
Dim AutomatedPackages, TotalPackages
|
| 31 |
Dim Query_String
|
32 |
Dim Query_String
|
| 32 |
Dim Auto
|
33 |
Dim Auto
|
| Line 60... |
Line 61... |
| 60 |
<!-- DROPDOWN MENUS -->
|
61 |
<!-- DROPDOWN MENUS -->
|
| 61 |
<!--#include file="_menu_def.asp"-->
|
62 |
<!--#include file="_menu_def.asp"-->
|
| 62 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
63 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
| 63 |
<script language="JavaScript" type="text/javascript">
|
64 |
<script language="JavaScript" type="text/javascript">
|
| 64 |
<!--
|
65 |
<!--
|
| - |
|
66 |
formTips.tips.h_wip = stdTip(300, 'Work In Progress', 'These are versions of packages that have not yet been Released.' +
|
| - |
|
67 |
'<p>The versions are associated with a Release and are considered to be a "Work In Progress".' +
|
| - |
|
68 |
'<p>Consider Releasing or Deleting these versions.'
|
| - |
|
69 |
);
|
| - |
|
70 |
formTips.tips.h_dangling = stdTip(300, 'Dangling Versions', 'Dangling package versions are versions of a package that have not been released and are not associated with any Release.' +
|
| - |
|
71 |
'<p>These are commonly caused by "Removing" a WIP instead of "Deleting" it.' +
|
| - |
|
72 |
'<p>Please consider deleting these versions.'
|
| - |
|
73 |
);
|
| 65 |
|
74 |
|
| 66 |
function RequestUserWip( paramString, rowId ){
|
75 |
function RequestUserWip( paramString, rowId ){
|
| 67 |
var requestURL = 'RequestUserWip.asp';
|
76 |
var requestURL = 'RequestUserWip.asp';
|
| 68 |
|
77 |
|
| 69 |
// Show div
|
78 |
// Show div
|
| Line 85... |
Line 94... |
| 85 |
//Send the xmlHttp get to the specified url
|
94 |
//Send the xmlHttp get to the specified url
|
| 86 |
xmlHttp_Get(xmlHttp, url);
|
95 |
xmlHttp_Get(xmlHttp, url);
|
| 87 |
}
|
96 |
}
|
| 88 |
}
|
97 |
}
|
| 89 |
|
98 |
|
| - |
|
99 |
function RequestUserDangle( paramString, rowId ){
|
| - |
|
100 |
var requestURL = 'RequestUserDangle.asp';
|
| - |
|
101 |
|
| - |
|
102 |
// Show div
|
| - |
|
103 |
ToggleDisplay( 'DIVDANGLE_'+ rowId, 'IMG_EXPAND_DANGLE_' + rowId, 'IMG_COLLAPSE_DANGLE_' + rowId );
|
| - |
|
104 |
|
| - |
|
105 |
// Set ajax divname
|
| - |
|
106 |
ajaxdivname = 'DIVDANGLE_'+ rowId;
|
| - |
|
107 |
|
| - |
|
108 |
if ( MM_findObj( ajaxdivname ).innerHTML == '<%=enumLOADING%>')
|
| - |
|
109 |
{
|
| - |
|
110 |
//Append the name to search for to the requestURL
|
| - |
|
111 |
var url = requestURL + paramString;
|
| - |
|
112 |
|
| - |
|
113 |
//Create the xmlHttp object to use in the request
|
| - |
|
114 |
//stateChangeHandler will fire when the state has changed, i.e. data is received back
|
| - |
|
115 |
// This is non-blocking (asynchronous)
|
| - |
|
116 |
xmlHttp = GetXmlHttpObject(stateChangeHandler);
|
| - |
|
117 |
|
| - |
|
118 |
//Send the xmlHttp get to the specified url
|
| - |
|
119 |
xmlHttp_Get(xmlHttp, url);
|
| - |
|
120 |
}
|
| - |
|
121 |
else
|
| - |
|
122 |
{
|
| - |
|
123 |
//Destroy the data when closed
|
| - |
|
124 |
//This will force a fresh when its redisplayed
|
| - |
|
125 |
MM_findObj( ajaxdivname ).innerHTML = '<%=enumLOADING%>'
|
| - |
|
126 |
}
|
| - |
|
127 |
}
|
| - |
|
128 |
|
| 90 |
function RequestProjectRelease( paramString, rowId ){
|
129 |
function RequestProjectRelease( paramString, rowId ){
|
| 91 |
var requestURL = 'RequestProjectRelease.asp';
|
130 |
var requestURL = 'RequestProjectRelease.asp';
|
| 92 |
|
131 |
|
| 93 |
// Show div
|
132 |
// Show div
|
| 94 |
ToggleDisplay( 'DIVPROJ_'+ rowId, 'IMG_EXPAND_PROJ_' + rowId, 'IMG_COLLAPSE_PROJ_' + rowId );
|
133 |
ToggleDisplay( 'DIVPROJ_'+ rowId, 'IMG_EXPAND_PROJ_' + rowId, 'IMG_COLLAPSE_PROJ_' + rowId );
|
| Line 343... |
Line 382... |
| 343 |
<br>
|
382 |
<br>
|
| 344 |
<br>
|
383 |
<br>
|
| 345 |
<!-- WORK IN PROGRESS ---------------------------------------------->
|
384 |
<!-- WORK IN PROGRESS ---------------------------------------------->
|
| 346 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
385 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| 347 |
<tr>
|
386 |
<tr>
|
| 348 |
<td colspan="4" class="body_sect">Work In Progress</td>
|
387 |
<td colspan="4" class="body_sect">Work In Progress<%=Quick_Help("h_wip")%>
|
| - |
|
388 |
</td>
|
| 349 |
</tr>
|
389 |
</tr>
|
| 350 |
<tr>
|
390 |
<tr>
|
| 351 |
<td width="40%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> User</td>
|
391 |
<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>
|
392 |
<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>
|
393 |
<td width="1%" background="images/bg_form_lightbluedark.gif"><img src="images/h_trsp_dot.gif" width="1" height="17"></td>
|
| Line 389... |
Line 429... |
| 389 |
rsTemp.Close
|
429 |
rsTemp.Close
|
| 390 |
Set rsTemp = nothing
|
430 |
Set rsTemp = nothing
|
| 391 |
End If%>
|
431 |
End If%>
|
| 392 |
</table>
|
432 |
</table>
|
| 393 |
<!-- WORK IN PROGRESS END ------------------------------------------>
|
433 |
<!-- WORK IN PROGRESS END ------------------------------------------>
|
| - |
|
434 |
<!-- DANGLING PACKAGES ---------------------------------------------->
|
| - |
|
435 |
<%
|
| - |
|
436 |
pkgCount = 0
|
| - |
|
437 |
If objAccessControl.UserLogedIn Then
|
| - |
|
438 |
OraDatabase.Parameters.Add "USER_ID", objAccessControl.UserId, ORAPARM_INPUT, ORATYPE_NUMBER
|
| - |
|
439 |
Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("WorkNotInProgressByUser.sql"), cint(0))
|
| - |
|
440 |
OraDatabase.Parameters.Remove "USER_ID"
|
| - |
|
441 |
userId = rsTemp("user_id")
|
| - |
|
442 |
pkgCount = rsTemp("counter")
|
| - |
|
443 |
End If
|
| - |
|
444 |
%>
|
| - |
|
445 |
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
| - |
|
446 |
<tr>
|
| - |
|
447 |
<td colspan="4" class="body_sect">Dangling Package Versions
|
| - |
|
448 |
<%=Quick_Help("h_dangling")%>
|
| - |
|
449 |
<%If pkgCount > 10 Then%>
|
| - |
|
450 |
<img src='images/a_warning.gif' width='21' height='21' border='0' title='Unreleased packages that are not in use.'>
|
| - |
|
451 |
<%End If%>
|
| - |
|
452 |
</td>
|
| - |
|
453 |
</tr>
|
| - |
|
454 |
<tr>
|
| - |
|
455 |
<td width="40%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> User
|
| - |
|
456 |
</td>
|
| - |
|
457 |
<td width="50%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif"> Package Count</td>
|
| - |
|
458 |
<td width="1%" background="images/bg_form_lightbluedark.gif"><img src="images/h_trsp_dot.gif" width="1" height="17"></td>
|
| - |
|
459 |
</tr>
|
| - |
|
460 |
<%If objAccessControl.UserLogedIn Then %>
|
| - |
|
461 |
<tr>
|
| - |
|
462 |
<td nowrap>
|
| - |
|
463 |
<span id="IMG_EXPAND_DANGLE_<%=userId%>" style="display:block;">
|
| - |
|
464 |
<a href="javascript:;" class="txt_linked" onClick="RequestUserDangle('?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>
|
| - |
|
465 |
</span>
|
| - |
|
466 |
<span id="IMG_COLLAPSE_DANGLE_<%=userId%>" style="display:none;">
|
| - |
|
467 |
<a href="javascript:;" class="txt_linked" onClick="RequestUserDangle('?user_id=<%=userId%>', '<%=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>
|
| - |
|
468 |
</span>
|
| - |
|
469 |
</td>
|
| - |
|
470 |
<td nowrap class="body_txt"><%=pkgCount%></td>
|
| - |
|
471 |
<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>
|
| - |
|
472 |
</td>
|
| - |
|
473 |
</tr>
|
| - |
|
474 |
<tr>
|
| - |
|
475 |
<td nowrap class="body_txt" colspan="3">
|
| - |
|
476 |
<div id="DIVDANGLE_<%=userId%>" style="display:none;"><%=enumLOADING%></div>
|
| - |
|
477 |
</td>
|
| - |
|
478 |
</tr>
|
| - |
|
479 |
<tr>
|
| - |
|
480 |
<td colspan="3" background="images/bg_form_lightbluedark_line.gif"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
| - |
|
481 |
</tr>
|
| - |
|
482 |
<%
|
| - |
|
483 |
rsTemp.Close
|
| - |
|
484 |
Set rsTemp = nothing
|
| - |
|
485 |
End If%>
|
| - |
|
486 |
</table>
|
| - |
|
487 |
<!-- DANGLING PACKAGES END ------------------------------------------>
|
| 394 |
<br>
|
488 |
<br>
|
| 395 |
<br>
|
489 |
<br>
|
| 396 |
<!-- RELEASE METRICS -------------------------------------------------------->
|
490 |
<!-- RELEASE METRICS -------------------------------------------------------->
|
| 397 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
491 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
| 398 |
<tr>
|
492 |
<tr>
|