Subversion Repositories DevTools

Rev

Rev 6618 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5950 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'   DanglingVersions.asp
5
'=====================================================
6
%>
7
<%
8
Option explicit
9
' Good idea to set when using redirect
10
Response.Expires = 0   ' always load the page, dont store
11
%>
12
<!--#include file="common/conf.asp"-->
13
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/formating.asp"-->
15
<!--#include file="common/qstr.asp"-->
16
<!--#include file="common/common_subs.asp"-->
17
<%
18
'------------ ACCESS CONTROL ------------------
19
%>
6181 dpurdie 20
<!--#include file="_access_control_login_optional.asp"-->
5950 dpurdie 21
<!--#include file="_access_control_general.asp"-->
22
<%
23
'------------ Variable Definition -------------
24
Dim userId
25
Dim pkgCount
26
Dim rsQry
27
Dim Query_String
28
Dim divId
29
'------------ Constants Declaration -----------
30
'------------ Variable Init -------------------
31
'----------------------------------------------
32
%>
33
<html>
34
   <head>
35
      <title>Release Manager</title>
36
      <link rel="shortcut icon" href="<%=FavIcon%>"/>
37
      <meta http-equiv="Pragma" content="no-cache">
38
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6579 dpurdie 39
      <link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
40
      <link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
41
      <script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
42
      <script language="JavaScript" src="scripts/remote_scripting.js?ver=<%=VixVerNum%>"></script>
5950 dpurdie 43
      <!--#include file="_jquery_includes.asp"-->
44
      <!-- TIPS -->
6579 dpurdie 45
      <script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
46
      <script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
5950 dpurdie 47
      <!-- DROPDOWN MENUS -->
48
      <!--#include file="_menu_def.asp"-->
6579 dpurdie 49
      <script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5950 dpurdie 50
      <script language="JavaScript" type="text/javascript">
51
      <!--
52
        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.' +
53
                                                                  '<p>These are commonly caused by "Removing" a WIP instead of "Destroying" it.' + 
54
                                                                  '<p>Please consider destroying these versions.' 
55
                                                                  );
56
      //-->
57
      </script>
58
   </head>
59
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
60
      <!-- HEADER -->
61
      <!--#include file="_header.asp"-->
62
      <!-- BODY ---->
63
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
64
         <tr>
6876 dpurdie 65
            <td class='bg_panel'>
5950 dpurdie 66
            <!--#include file="_front_explorer.asp"-->
67
            </td>
68
            <td rowspan="2" width="1%" valign="top">
69
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
70
                  <tr>
71
                     <td width="1%">
72
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
73
                           <tr>
74
                              <td colspan="3">
75
                                 <table width="100%" border="0" cellspacing="0" cellpadding="0">
76
                                    <tr>
77
                                       <td background="images/bg_comp_gear.gif"><img src="images/img_comp_gear_left.jpg" width="436" height="88"></td>
78
                                       <td align="right" background="images/bg_comp_gear.gif"><img src="images/img_comp_gear_right.jpg" width="70" height="88"></td>
79
                                    </tr>
80
                                 </table>
81
                              </td>
82
                              <td background="images/bg_action_norm.gif"></td>
83
                           </tr>
84
                           <tr>
85
                              <td width="1%"><img src="images/h_trsp_dot.gif" width="15" height="518"></td>
86
                              <td width="100%" valign="top" class="body_txt">
87
                                 <br>
88
                                 <!-- DANGLING PACKAGES ---------------------------------------------->
89
                                <%
90
                                pkgCount = 0
91
                                Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("WorkNotInProgressSummary.sql"), cint(0))
92
                                %>
93
                                 <table width="100%" border="0" cellspacing="1" cellpadding="1">
94
                                    <tr>
95
                                       <td colspan="4" class="body_sect">Dangling Package Versions by User
96
                                       <%=Quick_Help("h_dangling")%>
97
                                       </td>
98
                                    </tr>
99
                                    <tr>
100
                                       <td width="40%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif">&nbsp;User</td>
101
                                       <td width="50%" nowrap class="body_txt" background="images/bg_form_lightbluedark.gif">&nbsp;Package Count</td>
102
                                    </tr>
103
 
104
                                    <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))
105
                                    userId = rsTemp("user_id")
106
                                    divId = "userId_" & userId
107
                                   pkgCount = rsTemp("counter")
108
                                    %>
109
                                    <tr>
110
                                       <td nowrap class="form_item">
6613 dpurdie 111
                                          <span class="txt_linked" onClick="ToggleLoadControl('<%=divId%>','RequestUserDangle.asp?user_id=<%=userId%>');">
6610 dpurdie 112
                                                <img id=IMG_<%=divId%> src="images/bt_plus.gif" border="0" align="absmiddle" hspace="3"></span>
6612 dpurdie 113
                                                <%=emailField(enum_imgUserLg & rsTemp("full_name"), rsTemp("user_email"))%>
5950 dpurdie 114
                                       </td>
115
                                       <td nowrap class="body_txt"><%=pkgCount%></td>
116
                                    </tr>
117
                                    <tr>
118
                                        <td nowrap class="body_txt" colspan="3">
6618 dpurdie 119
                                             <div class='subSectionIndent' id=<%=divId%> style="display:none;"><%=enumLOADING%></div>
5950 dpurdie 120
                                         </td>
121
                                    </tr>
122
                                    <%rsTemp.MoveNext
123
                                 WEnd
124
                                 rsTemp.Close
125
                                 Set rsTemp = nothing%>
126
                                 </table>
127
                                 <!-- DANGLING PACKAGES END ------------------------------------------>
128
                              </td>
129
                              <td width="1%"><img src="images/h_trsp_dot.gif" width="15" height="10"></td>
130
                           </tr>
131
                        </table>
132
                     </td>
133
                  </tr>
134
               </table>
135
            </td>
136
            <td width="100%">&nbsp;</td>
137
         </tr>
138
         <tr>
6876 dpurdie 139
            <td class='bg_panel_btm'><img src="images/img_gear.gif" width="107" height="107" vspace="20" hspace="30"></td>
5950 dpurdie 140
            <td>&nbsp;</td>
141
         </tr>
142
      </table>
143
      <!-- FOOTER -->
5957 dpurdie 144
      <!--#include file="_footer.asp"-->
5950 dpurdie 145
   </body>
146
</html>