Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
119 ghuddy 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|		           Processes Dependant	             |
6
'|                                                   |
7
'=====================================================
8
%>
9
<%
10
Option explicit
11
' Good idea to set when using redirect
12
Response.Expires = 0	' always load the page, dont store
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
<!--#include file="common/common_dbedit.asp"-->
20
<!--#include file="_tabs.asp"-->
21
<!--#include file="_action_buttons.asp"-->
22
<!--#include file="common/_package_common.asp"-->
23
<%
24
'------------ ACCESS CONTROL ------------------
25
%>
26
<!--#include file="_access_control_general.asp"-->
27
<%
28
'------------ Variable Definition -------------
29
Dim rsTemp
30
Dim	rsQry
31
'------------ Constants Declaration -----------
32
'------------ Variable Init -------------------
33
'----------------------------------------------
34
%>
35
<%
36
Function Get_Processes ( NNpv_id )
37
	Get_Processes = _
38
	" SELECT * FROM PACKAGE_PROCESSES pp, PROCESSES p WHERE pp.PROC_ID = p.PROC_ID AND PV_ID ="&NNpv_id&"ORDER BY p.PROC_NAME"
39
End Function
40
%>
41
 
42
<html>
43
<head>
44
<title><%=Title(Request("rtag_id"))%></title>
45
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
46
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
47
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
48
<link rel="stylesheet" href="images/navigation.css" type="text/css">
49
<script language="JavaScript" src="images/common.js"></script>
50
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
51
 
52
<!-- DROPDOWN MENUS -->
53
<!--#include file="_menu_def.asp"-->
54
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
55
</head>
56
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
57
<!-- MENU LAYERS -------------------------------------->
58
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
59
  <!----------------------------------------------------->
60
</div>
61
<!-- HEADER -->
62
<!--#include file="_header.asp"-->
63
<!-- BODY ---->
64
<table width="100%" border="0" cellspacing="0" cellpadding="0">
65
	<tr> 
66
		<td valign="top" width="1" background="images/bg_bage.gif">
67
		<!-- LEFT -->
68
		<!--#include file="_environment.asp"-->
69
		</td>
70
		<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
71
		<td valign="top" width="100%">
72
		<!-- MIDDLE -->
73
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
74
		  <tr>
75
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
76
		    <td width="100%" background="images/bg_action_norm.gif"><!--#include file="_pkg_action_buttons.asp"--></td>
77
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
78
		  </tr>
79
		  <!-- PACKAGE PROPERTIES ----------------------------  -->
80
  		  <%Call RenderPackageProperties ()%>
81
		  <tr>
82
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
83
		    <td valign="bottom" background="images/bg_lght_gray.gif">
84
		      <table width="100" border="0" cellspacing="0" cellpadding="0">
85
		        <tr>
86
		          <td><IMG height=1 src="images/spacer.gif" width=50></td>
87
		          <td>
88
				  <!-- TABS ------------------------------------->
89
				  <%Call Generate_Tab_Menu ( TABarray1, "Processes", "orange" )%>
90
				  </td>
91
		        </tr>
92
		      </table>
93
		    </td>
94
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
95
		  </tr>
96
		  <tr>
97
		    <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
98
		    <td background="images/lbox_bg_orange.gif">
99
			<!-- TAB ACTION BUTTONS ------------------------------------->
100
			<%Call Action_Buttons ( "Add Process" )%> 
101
			</td>
102
		    <td background="images/lbox_bg_orange.gif">&nbsp;</td>
103
		  </tr>
104
		  <tr>
105
		    <td></td>
106
		    <td valign="top">
107
			<!-- DETAILS ------------------------------------------------->
108
			<br> 					  
109
                        <span class="body_colb">Processes</span><br>
110
                        <table width="100%" border="0" cellspacing="1" cellpadding="3">
111
                          <tr> 
112
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"></td>
113
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Health Tag&nbsp;&nbsp;</td>
114
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Process Description&nbsp;&nbsp;</td>
115
							<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Command Interface</td>
116
							<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Interface</td>
117
							<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Owner</td>
118
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"></td>
119
                          </tr>
120
                          <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Processes ( parPv_id ), cint(0))%>
121
                          <%If rsTemp.RecordCount < 1 Then%>
122
                          <tr> 
123
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
124
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
125
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
126
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
127
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
128
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
129
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
130
                          </tr>
131
                          <%End If%>
132
                          <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
133
                          <tr>
134
							<td align="center" nowrap background="images/bg_form_lightgray.gif"></td>
135
                            <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("proc_name")%></td>
136
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("proc_description")%></td>
137
                            <td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("run_as")%></td>
138
							<td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("is_interface")%></td>
139
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("pkg_owner")%></td>
140
							<%If pkgInfoHash.Item("dlocked") = "N" OR (pkgInfoHash.Item("dlocked") = "R")  Then%>
141
                            	<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><a href="_remove_process.asp?pv_id=<%=parPv_id%>&rtag_id=<%=parRtag_id%>&proc_id=<%=rsTemp("proc_id")%>" onClick="return confirmDelete('this process');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a></td>
142
							<%Else%>
143
								<td align="center" background="images/bg_form_lightgray.gif" class="form_item" valign="top"><img src="images/i_delete_disable.gif" alt="Remove disabled." width="13" height="12" hspace="3" border="0"></td>
144
							<%End If%>
145
                          </tr>
146
                          <%rsTemp.MoveNext
147
						  WEnd
148
						  rsTemp.Close
149
						  Set rsTemp = nothing%>
150
                        </table>
151
                        <!------------------------------------------------------------>
152
           <br><br>
153
			<!-- END DETAILS ------------------------------------------------->
154
			</td>
155
		    <td>&nbsp;</td>
156
		  </tr>
157
		</table>
158
		<!-- END MIDDLE -------->
159
		</td>
160
	</tr>
161
</table>
162
<!-- FOOTER -->
163
<!--#include file="_footer.asp"-->
164
</body>
165
</html>			
166
<%
167
Call Destroy_All_Objects
168
%>