Subversion Repositories DevTools

Rev

Rev 6783 | Rev 6827 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6783 Rev 6784
Line 32... Line 32...
32
'------------ Variable Init -------------------
32
'------------ Variable Init -------------------
33
canModify = canActionControl("ConfigureReplication")
33
canModify = canActionControl("ConfigureReplication")
34
 
34
 
35
parRtagId = Request("rtag_id")
35
parRtagId = Request("rtag_id")
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 142... Line 142...
142
   ' destroy objects
142
   ' destroy objects
143
   rsQry.Close()
143
   rsQry.Close()
144
   Set rsQry = nothing
144
   Set rsQry = nothing
145
 
145
 
146
   ' return result
146
   ' return result
147
   PV_ID_ListHTML = html_string
147
   GenerateTableBody = html_string
148
End Function
148
End Function
149
'----------------------------------------------------
149
'----------------------------------------------------
-
 
150
'   Insert Includes and scripts associated with TIPS
-
 
151
Sub InsertTips
-
 
152
 %>
-
 
153
<!-- TIPS -->
-
 
154
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
-
 
155
<script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
-
 
156
<script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
-
 
157
<script language="JavaScript" type="text/JavaScript">
-
 
158
formTips.tips.activeReplica   = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
-
 
159
formTips.tips.enabledRelease  = stdTip(200, 'Enabled Release','Replication of this release has been enabled. This will only ' +
-
 
160
                                            'be effective if the replica is active');
-
 
161
 
-
 
162
</script>
-
 
163
<%
-
 
164
End Sub
-
 
165
'----------------------------------------------------
150
'   Insert scripts into the header section of the generated document
166
'   Insert scripts into the header section of the generated document
151
Sub InsertUserScripts
167
Sub InsertUserScripts
152
 %>
168
 %>
-
 
169
<!-- JQUERY SCRIPTS -->
153
<script language="javascript">
170
<script language="javascript">
154
$(document).ready(function () {
171
$(document).ready(function () {
155
 
172
 
156
    //  Add operation to all the delete buttons
173
    //  Add operation to all the delete buttons
157
    $('.btn_delete').on('click', function(){
174
    $('.btn_delete').on('click', function(){
Line 260... Line 277...
260
Sub MainPanelContent
277
Sub MainPanelContent
261
%>
278
%>
262
          <table class="rounded_box embedded_table">
279
          <table class="rounded_box embedded_table">
263
          <caption nowrap class="form_ttl tleft">Release Replication Details</caption>
280
          <caption nowrap class="form_ttl tleft">Release Replication Details</caption>
264
              <tr>
281
              <tr>
265
                    <td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10"></td>
282
                <td>
266
                    <td bgcolor="#FFFFFF" valign="top">
283
                    <div class='round_box_pad'>
267
                        <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
284
                        <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
268
                        <!--#include file="messages/_msg_inline.asp"-->
285
                        <!--#include file="messages/_msg_inline.asp"-->
269
                        <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
286
                        <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
270
                        <table width="100%"  border="0" cellspacing="2" cellpadding="0">
287
                        <table width="100%"  border="0" cellspacing="2" cellpadding="0">
271
                            <tr>
288
                            <tr>
Line 273... Line 290...
273
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Replica</td>
290
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Replica</td>
274
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Enabled<%=Quick_Help("enabledRelease")%></td>
291
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Enabled<%=Quick_Help("enabledRelease")%></td>
275
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Relication Mode</td>
292
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Relication Mode</td>
276
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Opr</td>
293
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Opr</td>
277
                            </tr>
294
                            </tr>
278
                            <%=PV_ID_ListHTML()%>
295
                            <%=GenerateTableBody()%>
279
                      </table>
296
                      </table>
280
                      <table class="full_table">
297
                      <table class="full_table">
281
                         <tr>
298
                         <tr>
282
                        <td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
299
                        <td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
283
                            <%If canModify Then%>
300
                            <%If canModify Then%>
Line 290... Line 307...
290
                              Add Release Replica
307
                              Add Release Replica
291
                            <%End If%>
308
                            <%End If%>
292
                            </td>
309
                            </td>
293
                         </tr>
310
                         </tr>
294
                      </table>
311
                      </table>
295
                  </td>
312
                    </div>
296
                  <td background="images/lbox_bgside_white.gif">&nbsp;</td>
313
                </td>
297
              </tr>
314
              </tr>
298
          </table>
315
          </table>
299
<%End Sub%>
316
<%End Sub%>
300
<html>
317
<html>
301
   <head>
318
   <head>
Line 307... Line 324...
307
      <link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
324
      <link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
308
      <script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
325
      <script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
309
      <!-- DROPDOWN MENUS -->
326
      <!-- DROPDOWN MENUS -->
310
      <!--#include file="_jquery_includes.asp"-->
327
      <!--#include file="_jquery_includes.asp"-->
311
      <!--#include file="_menu_def.asp"-->
328
      <!--#include file="_menu_def.asp"-->
312
      <script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
-
 
313
      <!-- TIPS -->
-
 
314
      <script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
-
 
315
      <script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
-
 
316
      <script language="JavaScript" type="text/JavaScript">
-
 
317
      formTips.tips.activeReplica   = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
-
 
318
      formTips.tips.enabledRelease  = stdTip(200, 'Enabled Release','Replication of this release has been enabled. This will only ' +
-
 
319
                                            'be effective if the replica is active');
-
 
320
      </script>
-
 
321
      <%Call InsertUserScripts%>
329
      <%Call InsertUserScripts%>
-
 
330
      <%Call InsertTips%>
322
   </head>
331
   </head>
323
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
332
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
324
      <!-- HEADER -->
333
      <!-- HEADER -->
325
      <!--#include file="_header.asp"-->
334
      <!--#include file="_header.asp"-->
326
      <!-- BODY ---->
335
      <!-- BODY ---->