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>
5085 dpurdie 51
<!--#include file="_jquery_includes.asp"-->
119 ghuddy 52
 
53
<!-- DROPDOWN MENUS -->
54
<!--#include file="_menu_def.asp"-->
55
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
56
</head>
57
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
58
<!-- MENU LAYERS -------------------------------------->
59
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)"> 
60
  <!----------------------------------------------------->
61
</div>
62
<!-- HEADER -->
63
<!--#include file="_header.asp"-->
64
<!-- BODY ---->
65
<table width="100%" border="0" cellspacing="0" cellpadding="0">
66
	<tr> 
67
		<td valign="top" width="1" background="images/bg_bage.gif">
68
		<!-- LEFT -->
69
		<!--#include file="_environment.asp"-->
70
		</td>
71
		<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
72
		<td valign="top" width="100%">
73
		<!-- MIDDLE -->
74
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
75
		  <tr>
76
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
185 brianf 77
		    <td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
119 ghuddy 78
		    <td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
79
		  </tr>
183 brianf 80
          <tr>
81
            <td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
187 brianf 82
            <td background="images/bg_lght_gray.gif"><%Call RenderStatus(parRtag_id,parPv_id)%></td>
183 brianf 83
            <td background="images/bg_lght_gray.gif">&nbsp;</td>
84
          </tr>
119 ghuddy 85
		  <tr>
86
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
87
		    <td valign="bottom" background="images/bg_lght_gray.gif">
88
		      <table width="100" border="0" cellspacing="0" cellpadding="0">
89
		        <tr>
4687 dpurdie 90
		          <td><IMG height="1" src="images/spacer.gif" width="0" alt="tab-left-margin" ></td>
119 ghuddy 91
		          <td>
92
				  <!-- TABS ------------------------------------->
93
				  <%Call Generate_Tab_Menu ( TABarray1, "Processes", "orange" )%>
94
				  </td>
95
		        </tr>
96
		      </table>
97
		    </td>
98
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
99
		  </tr>
100
		  <tr>
101
		    <td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
102
		    <td background="images/lbox_bg_orange.gif">
103
			<!-- TAB ACTION BUTTONS ------------------------------------->
104
			<%Call Action_Buttons ( "Add Process" )%> 
105
			</td>
106
		    <td background="images/lbox_bg_orange.gif">&nbsp;</td>
107
		  </tr>
108
		  <tr>
109
		    <td></td>
110
		    <td valign="top">
111
			<!-- DETAILS ------------------------------------------------->
112
			<br> 					  
113
                        <span class="body_colb">Processes</span><br>
114
                        <table width="100%" border="0" cellspacing="1" cellpadding="3">
115
                          <tr> 
116
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"></td>
117
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Health Tag&nbsp;&nbsp;</td>
118
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Process Description&nbsp;&nbsp;</td>
119
							<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Command Interface</td>
120
							<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Interface</td>
121
							<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Owner</td>
122
                            <td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"></td>
123
                          </tr>
124
                          <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Processes ( parPv_id ), cint(0))%>
125
                          <%If rsTemp.RecordCount < 1 Then%>
126
                          <tr> 
127
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
128
                            <td background="images/bg_form_lightgray.gif" nowrap>&nbsp;</td>
129
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
130
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
131
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
132
							<td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
133
                            <td background="images/bg_form_lightgray.gif" class="form_item">&nbsp;</td>
134
                          </tr>
135
                          <%End If%>
136
                          <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
137
                          <tr>
138
							<td align="center" nowrap background="images/bg_form_lightgray.gif"></td>
139
                            <td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("proc_name")%></td>
140
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("proc_description")%></td>
141
                            <td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("run_as")%></td>
142
							<td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("is_interface")%></td>
143
							<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("pkg_owner")%></td>
144
							<%If pkgInfoHash.Item("dlocked") = "N" OR (pkgInfoHash.Item("dlocked") = "R")  Then%>
145
                            	<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>
146
							<%Else%>
147
								<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>
148
							<%End If%>
149
                          </tr>
150
                          <%rsTemp.MoveNext
151
						  WEnd
152
						  rsTemp.Close
153
						  Set rsTemp = nothing%>
154
                        </table>
155
                        <!------------------------------------------------------------>
156
           <br><br>
157
			<!-- END DETAILS ------------------------------------------------->
158
			</td>
159
		    <td>&nbsp;</td>
160
		  </tr>
161
		</table>
162
		<!-- END MIDDLE -------->
163
		</td>
164
	</tr>
165
</table>
166
<!-- FOOTER -->
167
<!--#include file="_footer.asp"-->
168
</body>
169
</html>			
170
<%
171
Call Destroy_All_Objects
172
%>