| 5357 |
dpurdie |
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 |
%>
|
| 6048 |
dpurdie |
26 |
<!--#include file="_access_control_login.asp"-->
|
| 5357 |
dpurdie |
27 |
<!--#include file="_access_control_general.asp"-->
|
|
|
28 |
<%
|
|
|
29 |
'------------ Variable Definition -------------
|
|
|
30 |
Dim rsTemp
|
|
|
31 |
Dim rsQry
|
|
|
32 |
'------------ Constants Declaration -----------
|
|
|
33 |
'------------ Variable Init -------------------
|
|
|
34 |
'----------------------------------------------
|
|
|
35 |
%>
|
|
|
36 |
<%
|
|
|
37 |
Function Get_Processes ( NNpv_id )
|
|
|
38 |
Get_Processes = _
|
|
|
39 |
" SELECT * FROM PACKAGE_PROCESSES pp, PROCESSES p WHERE pp.PROC_ID = p.PROC_ID AND PV_ID ="&NNpv_id&"ORDER BY p.PROC_NAME"
|
|
|
40 |
End Function
|
|
|
41 |
%>
|
|
|
42 |
|
|
|
43 |
<html>
|
|
|
44 |
<head>
|
|
|
45 |
<title><%=Title(Request("rtag_id"))%></title>
|
|
|
46 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
|
|
47 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
|
|
48 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
49 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
|
|
50 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
|
|
51 |
<script language="JavaScript" src="images/common.js"></script>
|
|
|
52 |
<script language="JavaScript" src="scripts/remote_scripting.js"></script>
|
|
|
53 |
<!--#include file="_jquery_includes.asp"-->
|
|
|
54 |
<!-- DROPDOWN MENUS -->
|
|
|
55 |
<!--#include file="_menu_def.asp"-->
|
|
|
56 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
|
|
57 |
</head>
|
|
|
58 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
|
|
|
59 |
<!-- HEADER -->
|
|
|
60 |
<!--#include file="_header.asp"-->
|
|
|
61 |
<!-- BODY ---->
|
|
|
62 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
63 |
<tr>
|
|
|
64 |
<td valign="top" width="1" background="images/bg_bage.gif">
|
|
|
65 |
<!-- LEFT -->
|
|
|
66 |
<!--#include file="_environment.asp"-->
|
|
|
67 |
</td>
|
|
|
68 |
<td width="1" bgcolor="#999999"><img src="images/h_trsp_dot.gif" width="1" height="1"></td>
|
|
|
69 |
<td valign="top" width="100%">
|
|
|
70 |
<!-- MIDDLE -->
|
|
|
71 |
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
|
72 |
<tr>
|
|
|
73 |
<td width="1%" background="images/bg_action_norm.gif"><IMG height=35 src="images/spacer.gif" width=15></td>
|
|
|
74 |
<td width="100%" background="images/bg_action_norm.gif"><%Call RenderActionBar(parRtag_id,parPv_id)%></td>
|
|
|
75 |
<td width="1%" background="images/bg_action_norm.gif"><IMG height=1 src="images/spacer.gif" width=15></td>
|
|
|
76 |
</tr>
|
|
|
77 |
<tr>
|
|
|
78 |
<td background="images/bg_lght_gray.gif"><IMG height="45" src="images/spacer.gif" width=1></td>
|
|
|
79 |
<td background="images/bg_lght_gray.gif"><%Call RenderStatus(parRtag_id,parPv_id)%></td>
|
|
|
80 |
<td background="images/bg_lght_gray.gif"> </td>
|
|
|
81 |
</tr>
|
|
|
82 |
<tr>
|
|
|
83 |
<td background="images/bg_lght_gray.gif"> </td>
|
|
|
84 |
<td valign="bottom" background="images/bg_lght_gray.gif">
|
|
|
85 |
<table width="100" border="0" cellspacing="0" cellpadding="0">
|
|
|
86 |
<tr>
|
|
|
87 |
<td><IMG height="1" src="images/spacer.gif" width="0" alt="tab-left-margin" ></td>
|
|
|
88 |
<td>
|
|
|
89 |
<!-- TABS ------------------------------------->
|
|
|
90 |
<%Call Generate_Tab_Menu ( TABarray1, "Processes", "orange" )%>
|
|
|
91 |
</td>
|
|
|
92 |
</tr>
|
|
|
93 |
</table>
|
|
|
94 |
</td>
|
|
|
95 |
<td background="images/bg_lght_gray.gif"> </td>
|
|
|
96 |
</tr>
|
|
|
97 |
<tr>
|
|
|
98 |
<td background="images/lbox_bg_orange.gif"><IMG height=35 src="images/spacer.gif" width=1></td>
|
|
|
99 |
<td background="images/lbox_bg_orange.gif">
|
|
|
100 |
<!-- TAB ACTION BUTTONS ------------------------------------->
|
|
|
101 |
<%Call Action_Buttons ( "Add Process" )%>
|
|
|
102 |
</td>
|
|
|
103 |
<td background="images/lbox_bg_orange.gif"> </td>
|
|
|
104 |
</tr>
|
|
|
105 |
<tr>
|
|
|
106 |
<td></td>
|
|
|
107 |
<td valign="top">
|
|
|
108 |
<!-- DETAILS ------------------------------------------------->
|
|
|
109 |
<br>
|
|
|
110 |
<span class="body_colb">Processes</span><br>
|
|
|
111 |
<table width="100%" border="0" cellspacing="1" cellpadding="3">
|
|
|
112 |
<tr>
|
|
|
113 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"></td>
|
|
|
114 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Health Tag </td>
|
|
|
115 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Process Description </td>
|
|
|
116 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Command Interface</td>
|
|
|
117 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Interface</td>
|
|
|
118 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field">Owner</td>
|
|
|
119 |
<td background="images/bg_form_lightbluedark.gif" nowrap class="form_field"></td>
|
|
|
120 |
</tr>
|
|
|
121 |
<%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Processes ( parPv_id ), cint(0))%>
|
|
|
122 |
<%If rsTemp.RecordCount < 1 Then%>
|
|
|
123 |
<tr>
|
|
|
124 |
<td background="images/bg_form_lightgray.gif" nowrap> </td>
|
|
|
125 |
<td background="images/bg_form_lightgray.gif" nowrap> </td>
|
|
|
126 |
<td background="images/bg_form_lightgray.gif" class="form_item"> </td>
|
|
|
127 |
<td background="images/bg_form_lightgray.gif" class="form_item"> </td>
|
|
|
128 |
<td background="images/bg_form_lightgray.gif" class="form_item"> </td>
|
|
|
129 |
<td background="images/bg_form_lightgray.gif" class="form_item"> </td>
|
|
|
130 |
<td background="images/bg_form_lightgray.gif" class="form_item"> </td>
|
|
|
131 |
</tr>
|
|
|
132 |
<%End If%>
|
|
|
133 |
<%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
|
|
|
134 |
<tr>
|
|
|
135 |
<td align="center" nowrap background="images/bg_form_lightgray.gif"></td>
|
|
|
136 |
<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("proc_name")%></td>
|
|
|
137 |
<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("proc_description")%></td>
|
|
|
138 |
<td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("run_as")%></td>
|
|
|
139 |
<td background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("is_interface")%></td>
|
|
|
140 |
<td nowrap background="images/bg_form_lightgray.gif" class="form_item" valign="top"><%=rsTemp("pkg_owner")%></td>
|
|
|
141 |
<%If pkgInfoHash.Item("dlocked") = "N" OR (pkgInfoHash.Item("dlocked") = "R") Then%>
|
|
|
142 |
<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 vixConfirmDelete('this process');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a></td>
|
|
|
143 |
<%Else%>
|
|
|
144 |
<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>
|
|
|
145 |
<%End If%>
|
|
|
146 |
</tr>
|
|
|
147 |
<%rsTemp.MoveNext
|
|
|
148 |
WEnd
|
|
|
149 |
rsTemp.Close
|
|
|
150 |
Set rsTemp = nothing%>
|
|
|
151 |
</table>
|
|
|
152 |
<!------------------------------------------------------------>
|
|
|
153 |
<br><br>
|
|
|
154 |
<!-- END DETAILS ------------------------------------------------->
|
|
|
155 |
</td>
|
|
|
156 |
<td> </td>
|
|
|
157 |
</tr>
|
|
|
158 |
</table>
|
|
|
159 |
<!-- END MIDDLE -------->
|
|
|
160 |
</td>
|
|
|
161 |
</tr>
|
|
|
162 |
</table>
|
|
|
163 |
<!-- FOOTER -->
|
|
|
164 |
<!--#include file="_footer.asp"-->
|
|
|
165 |
</body>
|
|
|
166 |
</html>
|