| Line 32... |
Line 32... |
| 32 |
'------------ Variable Init -------------------
|
32 |
'------------ Variable Init -------------------
|
| 33 |
canModify = canActionControl("ConfigureReplication")
|
33 |
canModify = canActionControl("ConfigureReplication")
|
| 34 |
parProjId = Request("proj_id")
|
34 |
parProjId = Request("proj_id")
|
| 35 |
|
35 |
|
| 36 |
'--------------------------------------------------------------------------------------------------------------------------
|
36 |
'--------------------------------------------------------------------------------------------------------------------------
|
| 37 |
' PV_ID_ListHTML
|
37 |
' GenerateTableBody
|
| 38 |
'
|
38 |
'
|
| 39 |
' DESCRIPTION
|
39 |
' DESCRIPTION
|
| 40 |
' Constructs the HTML to render the rows of package names, and other information
|
40 |
' Constructs the HTML to render the rows of package names, and other information
|
| 41 |
'
|
41 |
'
|
| 42 |
Function PV_ID_ListHTML
|
42 |
Function GenerateTableBody
|
| 43 |
Dim rsQry
|
43 |
Dim rsQry
|
| 44 |
Dim html_string
|
44 |
Dim html_string
|
| 45 |
Dim sQry
|
45 |
Dim sQry
|
| 46 |
|
46 |
|
| 47 |
SQry = _
|
47 |
SQry = _
|
| Line 130... |
Line 130... |
| 130 |
' destroy objects
|
130 |
' destroy objects
|
| 131 |
rsQry.Close()
|
131 |
rsQry.Close()
|
| 132 |
Set rsQry = nothing
|
132 |
Set rsQry = nothing
|
| 133 |
|
133 |
|
| 134 |
' return result
|
134 |
' return result
|
| 135 |
PV_ID_ListHTML = html_string
|
135 |
GenerateTableBody = html_string
|
| 136 |
End Function
|
136 |
End Function
|
| 137 |
'----------------------------------------------------
|
137 |
'----------------------------------------------------
|
| - |
|
138 |
' Insert Includes and scripts associated with TIPS
|
| - |
|
139 |
Sub InsertTips
|
| - |
|
140 |
%>
|
| - |
|
141 |
<!-- TIPS -->
|
| - |
|
142 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
143 |
<script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
144 |
<script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
|
| - |
|
145 |
<script language="JavaScript" type="text/JavaScript">
|
| - |
|
146 |
formTips.tips.activeReplica = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
|
| - |
|
147 |
formTips.tips.enabledProject = stdTip(200, 'Enabled Project','Replication of this project has been enabled. This will only ' +
|
| - |
|
148 |
'be effective if the replica is active');
|
| - |
|
149 |
</script>
|
| - |
|
150 |
<%
|
| - |
|
151 |
End Sub
|
| - |
|
152 |
'----------------------------------------------------
|
| 138 |
' Insert scripts into the header section of the generated document
|
153 |
' Insert scripts into the header section of the generated document
|
| 139 |
Sub InsertUserScripts
|
154 |
Sub InsertUserScripts
|
| 140 |
%>
|
155 |
%>
|
| 141 |
|
- |
|
| - |
|
156 |
<!-- JQUERY SCRIPTS -->
|
| 142 |
<script language="javascript">
|
157 |
<script language="javascript">
|
| 143 |
$(document).ready(function () {
|
158 |
$(document).ready(function () {
|
| 144 |
|
159 |
|
| 145 |
// Add operation to all the delete buttons
|
160 |
// Add operation to all the delete buttons
|
| 146 |
$('.btn_delete').on('click', function(){
|
161 |
$('.btn_delete').on('click', function(){
|
| Line 249... |
Line 264... |
| 249 |
Sub MainPanelContent
|
264 |
Sub MainPanelContent
|
| 250 |
%>
|
265 |
%>
|
| 251 |
<table class="rounded_box embedded_table">
|
266 |
<table class="rounded_box embedded_table">
|
| 252 |
<caption nowrap class="form_ttl tleft">Project Replication Details</caption>
|
267 |
<caption nowrap class="form_ttl tleft">Project Replication Details</caption>
|
| 253 |
<tr>
|
268 |
<tr>
|
| 254 |
<td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10"></td>
|
269 |
<td>
|
| 255 |
<td bgcolor="#FFFFFF" valign="top">
|
270 |
<div class='round_box_pad'>
|
| 256 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
271 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 257 |
<!--#include file="messages/_msg_inline.asp"-->
|
272 |
<!--#include file="messages/_msg_inline.asp"-->
|
| 258 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
273 |
<!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 259 |
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
274 |
<table width="100%" border="0" cellspacing="2" cellpadding="0">
|
| 260 |
<tr>
|
275 |
<tr>
|
| Line 262... |
Line 277... |
| 262 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Replica</td>
|
277 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Replica</td>
|
| 263 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Enabled<%=Quick_Help("enabledProject")%></td>
|
278 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Enabled<%=Quick_Help("enabledProject")%></td>
|
| 264 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Relication Mode</td>
|
279 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Relication Mode</td>
|
| 265 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Opr</td>
|
280 |
<td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Opr</td>
|
| 266 |
</tr>
|
281 |
</tr>
|
| 267 |
<%=PV_ID_ListHTML()%>
|
282 |
<%=GenerateTableBody()%>
|
| 268 |
</table>
|
283 |
</table>
|
| 269 |
<table class="full_table">
|
284 |
<table class="full_table">
|
| 270 |
<tr>
|
285 |
<tr>
|
| 271 |
<td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
|
286 |
<td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
|
| 272 |
<%If canModify Then%>
|
287 |
<%If canModify Then%>
|
| 273 |
<a href="javascript:;" onClick="MM_openVixIFrame('wAddProjReplica.asp?proj_id=<%=parProjId%>','Add Project Replication')">
|
288 |
<a href="javascript:;" onClick="MM_openVixIFrame('wAddProjReplica.asp?proj_id=<%=parProjId%>','Add Project Replication')">
|
| 274 |
<img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
|
289 |
<img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
|
| 275 |
Add Project Replica
|
290 |
Add Project Replica
|
| 276 |
</a>
|
291 |
</a>
|
| Line 279... |
Line 294... |
| 279 |
Add Project Replica
|
294 |
Add Project Replica
|
| 280 |
<%End If%>
|
295 |
<%End If%>
|
| 281 |
</td>
|
296 |
</td>
|
| 282 |
</tr>
|
297 |
</tr>
|
| 283 |
</table>
|
298 |
</table>
|
| 284 |
</td>
|
299 |
</div>
|
| 285 |
<td background="images/lbox_bgside_white.gif"> </td>
|
300 |
</td>
|
| 286 |
</tr>
|
301 |
</tr>
|
| 287 |
</table>
|
302 |
</table>
|
| 288 |
<%End Sub%>
|
303 |
<%End Sub%>
|
| 289 |
<html>
|
304 |
<html>
|
| 290 |
<head>
|
305 |
<head>
|
| Line 296... |
Line 311... |
| 296 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
311 |
<link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
|
| 297 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
312 |
<script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
|
| 298 |
<!-- DROPDOWN MENUS -->
|
313 |
<!-- DROPDOWN MENUS -->
|
| 299 |
<!--#include file="_jquery_includes.asp"-->
|
314 |
<!--#include file="_jquery_includes.asp"-->
|
| 300 |
<!--#include file="_menu_def.asp"-->
|
315 |
<!--#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');
|
- |
|
| 309 |
</script>
|
- |
|
| 310 |
<%Call InsertUserScripts%>
|
316 |
<%Call InsertUserScripts%>
|
| - |
|
317 |
<%Call InsertTips%>
|
| 311 |
</head>
|
318 |
</head>
|
| 312 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
319 |
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
|
| 313 |
<!-- HEADER -->
|
320 |
<!-- HEADER -->
|
| 314 |
<!--#include file="_header.asp"-->
|
321 |
<!--#include file="_header.asp"-->
|
| 315 |
<!-- BODY ---->
|
322 |
<!-- BODY ---->
|