| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
' View project Level replication
|
4 |
' View Project Level replication
|
| 5 |
' form_project_replication.asp
|
5 |
' form_project_replication.asp
|
| 6 |
'=====================================================
|
6 |
'=====================================================
|
| 7 |
Option explicit
|
7 |
Option explicit
|
| 8 |
' Good idea to set when using redirect
|
8 |
' Good idea to set when using redirect
|
| 9 |
Response.Expires = 0 ' always load the page, dont store
|
9 |
Response.Expires = 0 ' always load the page, dont store
|
| 10 |
%>
|
10 |
%>
|
| 11 |
<!--#include file="common/conf.asp"-->
|
11 |
<!--#include file="common/conf.asp"-->
|
| 12 |
<!--#include file="common/globals.asp"-->
|
12 |
<!--#include file="common/globals.asp"-->
|
| 13 |
<!--#include file="common/formating.asp"-->
|
13 |
<!--#include file="common/formating.asp"-->
|
| 14 |
<!--#include file="common/qstr.asp"-->
|
14 |
<!--#include file="common/qstr.asp"-->
|
| 15 |
<!--#include file="common/common_subs.asp"-->
|
15 |
<!--#include file="common/common_subs.asp"-->
|
| 16 |
<!--#include file="common/_form_window_common.asp"-->
|
16 |
<!--#include file="common/_form_window_common.asp"-->
|
| 17 |
<%
|
17 |
<%
|
| 18 |
' Make sure rtag_id is always present
|
18 |
' Make sure proj_id is always present
|
| 19 |
If Request("proj_id") = "" Then
|
19 |
If Request("proj_id") = "" Then
|
| 20 |
Call Destroy_All_Objects
|
20 |
Call Destroy_All_Objects
|
| 21 |
Response.Redirect("index.asp")
|
21 |
Response.Redirect("index.asp")
|
| 22 |
End If
|
22 |
End If
|
| 23 |
|
- |
|
| 24 |
' Set rfile parameter. This is a return page after Login
|
- |
|
| 25 |
Call objPMod.StoreParameter ( "rfile", "dependencies.asp" )
|
- |
|
| 26 |
'------------ ACCESS CONTROL ------------------
|
23 |
'------------ ACCESS CONTROL ------------------
|
| 27 |
%>
|
24 |
%>
|
| 28 |
<!--#include file="_access_control_login.asp"-->
|
25 |
<!--#include file="_access_control_login.asp"-->
|
| 29 |
<!--#include file="_access_control_general.asp"-->
|
26 |
<!--#include file="_access_control_general.asp"-->
|
| 30 |
<%
|
27 |
<%
|
| 31 |
'------------ Variable Definition -------------
|
28 |
'------------ Variable Definition -------------
|
| 32 |
Dim sPrevPage
|
- |
|
| 33 |
Dim parProjId
|
29 |
Dim parProjId
|
| 34 |
Dim canModify
|
30 |
Dim canModify
|
| 35 |
'------------ Constants Declaration -----------
|
31 |
'------------ Constants Declaration -----------
|
| 36 |
|
- |
|
| 37 |
Const LIMG_NDEL = "<img src='icons/i_remove.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
|
- |
|
| 38 |
Const LIMG_NDEL_DISABLED = "<img src='icons/i_remove_dis.gif' width='16' height='16' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"
|
- |
|
| 39 |
|
- |
|
| 40 |
'------------ Variable Init -------------------
|
32 |
'------------ Variable Init -------------------
|
| 41 |
parProjId = Request("proj_id")
|
- |
|
| 42 |
sPrevPage = QStrParDefault("prevPage", Request.ServerVariables("HTTP_REFERER"))
|
- |
|
| 43 |
canModify = canActionControl("ConfigureReplication")
|
33 |
canModify = canActionControl("ConfigureReplication")
|
| - |
|
34 |
parProjId = Request("proj_id")
|
| 44 |
|
35 |
|
| 45 |
'--------------------------------------------------------------------------------------------------------------------------
|
36 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 46 |
' PV_ID_ListHTML
|
37 |
' PV_ID_ListHTML
|
| 47 |
'
|
38 |
'
|
| 48 |
' DESCRIPTION
|
39 |
' DESCRIPTION
|
| Line 141... |
Line 132... |
| 141 |
Set rsQry = nothing
|
132 |
Set rsQry = nothing
|
| 142 |
|
133 |
|
| 143 |
' return result
|
134 |
' return result
|
| 144 |
PV_ID_ListHTML = html_string
|
135 |
PV_ID_ListHTML = html_string
|
| 145 |
End Function
|
136 |
End Function
|
| - |
|
137 |
'----------------------------------------------------
|
| - |
|
138 |
' Insert scripts into the header section of the generated document
|
| - |
|
139 |
Sub InsertUserScripts
|
| - |
|
140 |
%>
|
| 146 |
|
141 |
|
| 147 |
'--------------------------------------------------------------------------------------------------------------------------
|
- |
|
| 148 |
'--------------------------------------------------------------------------------------------------------------------------
|
- |
|
| 149 |
'------------ RUN BEFORE PAGE RENDER ----------
|
- |
|
| 150 |
'----------------------------------------------
|
- |
|
| 151 |
%>
|
- |
|
| 152 |
<html>
|
- |
|
| 153 |
|
- |
|
| 154 |
<head>
|
- |
|
| 155 |
<title>Release Manager</title>
|
- |
|
| 156 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
- |
|
| 157 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
- |
|
| 158 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
- |
|
| 159 |
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
|
- |
|
| 160 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
- |
|
| 161 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
- |
|
| 162 |
<script language="JavaScript" src="scripts/remote_scripting.js?ver=<%=VixVerNum%>"></script>
|
- |
|
| 163 |
<!-- DROPDOWN MENUS -->
|
- |
|
| 164 |
<!--#include file="_jquery_includes.asp"-->
|
- |
|
| 165 |
<!--#include file="_menu_def.asp"-->
|
- |
|
| 166 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
- |
|
| 167 |
<!-- TIPS -->
|
- |
|
| 168 |
<script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
|
- |
|
| 169 |
<script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
|
- |
|
| 170 |
<script language="JavaScript" type="text/javascript">
|
- |
|
| 171 |
formTips.tips.activeReplica = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
|
- |
|
| 172 |
formTips.tips.enabledProject = stdTip(200, 'Enabled Project','Replication of this project has been enabled. This will only ' +
|
- |
|
| 173 |
'be effective if the replica is active');
|
- |
|
| 174 |
</script>
|
- |
|
| 175 |
<script language="javascript">
|
142 |
<script language="javascript">
|
| 176 |
$(document).ready(function () {
|
143 |
$(document).ready(function () {
|
| 177 |
|
144 |
|
| 178 |
// Add operation to all the delete buttons
|
145 |
// Add operation to all the delete buttons
|
| 179 |
$('.btn_delete').on('click', function(){
|
146 |
$('.btn_delete').on('click', function(){
|
| Line 265... |
Line 232... |
| 265 |
});
|
232 |
});
|
| 266 |
});
|
233 |
});
|
| 267 |
|
234 |
|
| 268 |
});
|
235 |
});
|
| 269 |
</script>
|
236 |
</script>
|
| 270 |
</head>
|
237 |
<%
|
| 271 |
<!-- HEADER -->
|
238 |
End Sub
|
| - |
|
239 |
|
| - |
|
240 |
|
| - |
|
241 |
'--------------------------------------------------------------------------------------------------------------------------
|
| - |
|
242 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 272 |
<!--#include file="_header.asp"-->
|
243 |
'------------ RUN BEFORE PAGE RENDER ----------
|
| - |
|
244 |
'
|
| - |
|
245 |
'----------------------------------------------------
|
| 273 |
<!-- BODY ---->
|
246 |
Sub LeftPanelContent
|
| 274 |
<table width="100%" border="0" cellspacing="0" cellpadding="0" style="table-layout: fixed;">
|
- |
|
| 275 |
<tr>
|
247 |
End Sub
|
| 276 |
<td width="146px" class="panel_bg" valign="top"> </td>
|
248 |
'----------------------------------------------------
|
| 277 |
<td align="center" valign="top" bgcolor="#EEEFEF" style="padding: 5px;">
|
- |
|
| 278 |
<!-- Main Pane -->
|
249 |
Sub MainPanelContent
|
| 279 |
<!-- Section Header ---->
|
- |
|
| 280 |
<div>
|
250 |
%>
|
| 281 |
<table class="rounded_box embedded_table">
|
251 |
<table class="rounded_box embedded_table">
|
| 282 |
<caption nowrap class="form_ttl tleft">Project Replication Details</caption>
|
252 |
<caption nowrap class="form_ttl tleft">Project Replication Details</caption>
|
| 283 |
<tr>
|
253 |
<tr>
|
| 284 |
<td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10"></td>
|
254 |
<td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10"></td>
|
| 285 |
<td bgcolor="#FFFFFF" valign="top">
|
255 |
<td bgcolor="#FFFFFF" valign="top">
|
| Line 296... |
Line 266... |
| 296 |
</tr>
|
266 |
</tr>
|
| 297 |
<%=PV_ID_ListHTML()%>
|
267 |
<%=PV_ID_ListHTML()%>
|
| 298 |
</table>
|
268 |
</table>
|
| 299 |
<table class="full_table">
|
269 |
<table class="full_table">
|
| 300 |
<tr>
|
270 |
<tr>
|
| 301 |
<td align="right" nowrap valign="bottom" class="abtnItem">
|
271 |
<td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
|
| 302 |
<%If canModify Then%>
|
272 |
<%If canModify Then%>
|
| 303 |
<a href="javascript:;" onClick="MM_openVixIFrame('wAddProjReplica.asp?proj_id=<%=parProjId%>','Add Project Replication')">
|
273 |
<a href="javascript:;" onClick="MM_openVixIFrame('wAddProjReplica.asp?proj_id=<%=parProjId%>','Add Project Replication')">
|
| 304 |
<img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Add New Replication Targets">
|
274 |
<img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
|
| 305 |
Add Project Replica
|
275 |
Add Project Replica
|
| 306 |
</a>
|
276 |
</a>
|
| 307 |
<%Else%>
|
277 |
<%Else%>
|
| 308 |
<img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Add New Replication Targets">
|
278 |
<img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Add New Replication Targets">
|
| 309 |
Add Project Replica
|
279 |
Add Project Replica
|
| Line 313... |
Line 283... |
| 313 |
</table>
|
283 |
</table>
|
| 314 |
</td>
|
284 |
</td>
|
| 315 |
<td background="images/lbox_bgside_white.gif"> </td>
|
285 |
<td background="images/lbox_bgside_white.gif"> </td>
|
| 316 |
</tr>
|
286 |
</tr>
|
| 317 |
</table>
|
287 |
</table>
|
| - |
|
288 |
<%End Sub%>
|
| - |
|
289 |
<html>
|
| - |
|
290 |
<head>
|
| - |
|
291 |
<title>Release Manager</title>
|
| - |
|
292 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| - |
|
293 |
<meta http-equiv="Pragma" content="no-cache">
|
| - |
|
294 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| - |
|
295 |
<link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
|
| - |
|
296 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
| - |
|
297 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
298 |
<!-- DROPDOWN MENUS -->
|
| - |
|
299 |
<!--#include file="_jquery_includes.asp"-->
|
| - |
|
300 |
<!--#include file="_menu_def.asp"-->
|
| - |
|
301 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
302 |
<!-- TIPS -->
|
| - |
|
303 |
<script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
304 |
<script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
305 |
<script language="JavaScript" type="text/JavaScript">
|
| - |
|
306 |
formTips.tips.activeReplica = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
|
| - |
|
307 |
formTips.tips.enabledProject = stdTip(200, 'Enabled Project','Replication of this project has been enabled. This will only ' +
|
| - |
|
308 |
'be effective if the replica is active');
|
| 318 |
</div>
|
309 |
</script>
|
| - |
|
310 |
<%Call InsertUserScripts%>
|
| - |
|
311 |
</head>
|
| - |
|
312 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
| - |
|
313 |
<!-- HEADER -->
|
| - |
|
314 |
<!--#include file="_header.asp"-->
|
| 319 |
<!-- End Main Pane -->
|
315 |
<!-- BODY ---->
|
| - |
|
316 |
<table class="full_table">
|
| - |
|
317 |
<tr>
|
| - |
|
318 |
<td width="146px" class="panel_bg" valign="top">
|
| - |
|
319 |
<%Call LeftPanelContent%>
|
| - |
|
320 |
</td>
|
| - |
|
321 |
<td width="90%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
|
| - |
|
322 |
<%Call MainPanelContent%>
|
| - |
|
323 |
</td>
|
| 320 |
</td>
|
324 |
</tr>
|
| - |
|
325 |
<tr>
|
| - |
|
326 |
<td class="panel_bg" valign="bottom" align="center" height="350"></td>
|
| 321 |
</tr>
|
327 |
</tr>
|
| 322 |
</table>
|
328 |
</table>
|
| 323 |
|
- |
|
| 324 |
<!-- FOOTER -->
|
329 |
<!-- FOOTER -->
|
| 325 |
<!--#include file="_footer.asp"-->
|
330 |
<!--#include file="_footer.asp"-->
|
| 326 |
</body>
|
331 |
</body>
|
| 327 |
</html>
|
332 |
</html>
|