Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
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
%>
6181 dpurdie 26
<!--#include file="_access_control_login_optional.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">
6579 dpurdie 49
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
50
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
51
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
52
<script language="JavaScript" src="scripts/remote_scripting.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 53
<!--#include file="_jquery_includes.asp"-->
54
<!-- DROPDOWN MENUS -->
55
<!--#include file="_menu_def.asp"-->
6579 dpurdie 56
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
5357 dpurdie 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">&nbsp;</td>
81
          </tr>
82
		  <tr>
83
		    <td background="images/bg_lght_gray.gif">&nbsp;</td>
84
		    <td valign="bottom" background="images/bg_lght_gray.gif">
6873 dpurdie 85
		      <table width="100%" border="0" cellspacing="0" cellpadding="0">
5357 dpurdie 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">&nbsp;</td>
96
		  </tr>
6873 dpurdie 97
          <tr class='panel_bg' style="height:35px;">
98
            <td></td>
99
            <td>
100
            <!-- TAB ACTION BUTTONS ------------------------------------->
5357 dpurdie 101
			<%Call Action_Buttons ( "Add Process" )%> 
6873 dpurdie 102
            </td>
103
            <td></td>
104
          </tr>
5357 dpurdie 105
		  <tr>
106
		    <td></td>
107
		    <td valign="top">
108
			<!-- DETAILS ------------------------------------------------->
109
			<br> 					  
110
                        <span class="body_colb">Processes</span><br>
6790 dpurdie 111
                        <table width="100%" border="0" cellspacing="1" cellpadding="3" class="stdGrey">
112
                            <thead>
113
                              <tr> 
114
                                <th nowrap></th>
115
                                <th nowrap>Health Tag&nbsp;&nbsp;</th>
116
                                <th nowrap>Process Description&nbsp;&nbsp;</th>
117
                                <th nowrap>Command Interface</th>
118
                                <th nowrap>Interface</th>
119
                                <th nowrap>Owner</th>
120
                                <th nowrap></th>
121
                              </tr>
122
                            </thead>
5357 dpurdie 123
                          <%Set rsTemp = OraDatabase.DbCreateDynaset( Get_Processes ( parPv_id ), cint(0))%>
124
                          <%If rsTemp.RecordCount < 1 Then%>
125
                          <tr> 
6790 dpurdie 126
                            <td nowrap>&nbsp;</td>
127
                            <td nowrap>&nbsp;</td>
128
                            <td>&nbsp;</td>
129
							<td>&nbsp;</td>
130
							<td>&nbsp;</td>
131
							<td>&nbsp;</td>
132
                            <td>&nbsp;</td>
5357 dpurdie 133
                          </tr>
134
                          <%End If%>
135
                          <%While ((NOT rsTemp.BOF) AND (NOT rsTemp.EOF))%>
136
                          <tr>
6790 dpurdie 137
							<td align="center" nowrap></td>
138
                            <td nowrap valign="top"><%=rsTemp("proc_name")%></td>
139
							<td nowrap valign="top"><%=rsTemp("proc_description")%></td>
140
                            <td valign="top"><%=rsTemp("run_as")%></td>
141
							<td valign="top"><%=rsTemp("is_interface")%></td>
142
							<td nowrap valign="top"><%=rsTemp("pkg_owner")%></td>
5357 dpurdie 143
							<%If pkgInfoHash.Item("dlocked") = "N" OR (pkgInfoHash.Item("dlocked") = "R")  Then%>
6790 dpurdie 144
                            	<td align="center" 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>
5357 dpurdie 145
							<%Else%>
6790 dpurdie 146
								<td align="center" valign="top"><img src="images/i_delete_disable.gif" alt="Remove disabled." width="13" height="12" hspace="3" border="0"></td>
5357 dpurdie 147
							<%End If%>
148
                          </tr>
149
                          <%rsTemp.MoveNext
150
						  WEnd
151
						  rsTemp.Close
152
						  Set rsTemp = nothing%>
153
                        </table>
154
                        <!------------------------------------------------------------>
155
           <br><br>
156
			<!-- END DETAILS ------------------------------------------------->
157
			</td>
158
		    <td>&nbsp;</td>
159
		  </tr>
160
		</table>
161
		<!-- END MIDDLE -------->
162
		</td>
163
	</tr>
164
</table>
165
<!-- FOOTER -->
166
<!--#include file="_footer.asp"-->
167
</body>
168
</html>