Subversion Repositories DevTools

Rev

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

Rev 6777 Rev 6783
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
'=====================================================
3
'=====================================================
-
 
4
'   View Release Level replication
4
'   form_release_replication.asp
5
'   form_project_replication.asp
5
'=====================================================
6
'=====================================================
6
%>
-
 
7
<%
-
 
8
Option explicit
7
Option explicit
9
' Good idea to set when using redirect
8
' Good idea to set when using redirect
10
Response.Expires = 0   ' always load the page, dont store
9
Response.Expires = 0   ' always load the page, dont store
11
%>
10
%>
12
<!--#include file="common/conf.asp"-->
11
<!--#include file="common/conf.asp"-->
13
<!--#include file="common/globals.asp"-->
12
<!--#include file="common/globals.asp"-->
14
<!--#include file="common/formating.asp"-->
13
<!--#include file="common/formating.asp"-->
15
<!--#include file="common/qstr.asp"-->
14
<!--#include file="common/qstr.asp"-->
16
<!--#include file="common/common_subs.asp"-->
15
<!--#include file="common/common_subs.asp"-->
17
<!--#include file="common/_form_window_common.asp"-->
16
<!--#include file="common/_form_window_common.asp"-->
-
 
17
<%
18
<!--#include file="_action_buttons.asp"-->
18
' Make sure rtag_id is always present
-
 
19
If Request("rtag_id") = "" Then
-
 
20
    Call Destroy_All_Objects
19
<!--#include file="class/classActionButtonControl.asp"-->
21
	Response.Redirect("index.asp")
-
 
22
End If
20
<% '------------ ACCESS CONTROL ------------------ %>
23
'------------ ACCESS CONTROL ------------------
-
 
24
%>
21
<!--#include file="_access_control_login.asp"-->
25
<!--#include file="_access_control_login.asp"-->
22
<!--#include file="_access_control_general.asp"-->
26
<!--#include file="_access_control_general.asp"-->
23
<!--#include file="_access_control_action_project.asp"-->
-
 
24
<%
27
<%
25
'------------ Variable Definition -------------
28
'------------ Variable Definition -------------
26
Dim parRtagId
29
Dim parRtagId
27
Dim canModify
30
Dim canModify
28
'------------ Constants Declaration -----------
31
'------------ Constants Declaration -----------
29
 
-
 
30
Const LIMG_NDEL          = "<img src='icons/i_remove.gif' width='16' height='16' hspace='2' border='0' align='absmiddle'>"
-
 
31
Const LIMG_NDEL_DISABLED = "<img src='icons/i_remove_dis.gif' width='16' height='16' hspace='2' border='0' align='absmiddle' class='lessOpacity'>"
-
 
32
 
-
 
33
'------------ Variable Init -------------------
32
'------------ Variable Init -------------------
34
canModify = canActionControl("ConfigureReplication")
33
canModify = canActionControl("ConfigureReplication")
35
'------------ Variable Init -------------------
-
 
-
 
34
 
36
parRtagId = Request("rtag_id")
35
parRtagId = Request("rtag_id")
37
objPMod.PersistInQryString("rtag_id")
-
 
38
'--------------------------------------------------------------------------------------------------------------------------
36
'--------------------------------------------------------------------------------------------------------------------------
39
'  PV_ID_ListHTML
37
'  PV_ID_ListHTML
40
'
38
'
41
'  DESCRIPTION
39
'  DESCRIPTION
42
'     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
Line 247... Line 245...
247
 
245
 
248
});
246
});
249
</script>
247
</script>
250
<%
248
<%
251
End Sub
249
End Sub
252
%>
250
 
253
<%
251
 
-
 
252
'--------------------------------------------------------------------------------------------------------------------------
-
 
253
'--------------------------------------------------------------------------------------------------------------------------
254
'------------ RUN BEFORE PAGE RENDER ----------
254
'------------ RUN BEFORE PAGE RENDER ----------
255
'
255
'
256
'----------------------------------------------------
256
'----------------------------------------------------
257
Sub LeftPanelContent
257
Sub LeftPanelContent
258
End Sub
258
End Sub
259
'----------------------------------------------------
259
'----------------------------------------------------
260
Sub MainPanelContent
260
Sub MainPanelContent
261
%>
261
%>
262
   <table class="embedded_table" style="margin-bottom:20px">
-
 
263
      <tr>
-
 
264
         <td>
-
 
265
            <!-- Box Title -->
-
 
266
            <div class="form_ttl nowrap" align="left">
262
          <table class="rounded_box embedded_table">
267
                 Release Replication Details
263
          <caption nowrap class="form_ttl tleft">Release Replication Details</caption>
268
            </div>
264
              <tr>
269
         </td>
-
 
270
      </tr>
-
 
271
      <tr>
-
 
272
         <td>
-
 
273
            <!-- Box Content -->
265
                    <td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10"></td>
274
            <div class="rounded_box">
266
                    <td bgcolor="#FFFFFF" valign="top">
275
               <div style="background-color: white;border-left: white solid 10px;border-right: white solid 10px;">
-
 
276
                    <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
267
                        <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
277
                    <!--#include file="messages/_msg_inline.asp"-->
268
                        <!--#include file="messages/_msg_inline.asp"-->
278
                    <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
269
                        <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
279
                    <table width="100%"  border="0" cellspacing="2" cellpadding="0">
270
                        <table width="100%"  border="0" cellspacing="2" cellpadding="0">
280
                        <tr>
271
                            <tr>
281
                           <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Active<%=Quick_Help("activeReplica")%></td>
272
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Active<%=Quick_Help("activeReplica")%></td>
282
                           <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Replica</td>
273
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Replica</td>
283
                           <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Enabled<%=Quick_Help("enabledRelease")%></td>
274
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Enabled<%=Quick_Help("enabledRelease")%></td>
284
                           <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Relication Mode</td>
275
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Relication Mode</td>
285
                           <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Opr</td>
276
                               <td width="1%" valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Opr</td>
286
                        </tr>
277
                            </tr>
287
                        <%=PV_ID_ListHTML()%>
278
                            <%=PV_ID_ListHTML()%>
288
                  </table>
279
                      </table>
289
                  <table class="full_table">
280
                      <table class="full_table">
290
                     <tr>
281
                         <tr>
291
                        <td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
282
                        <td align="right" nowrap valign="bottom" class="abtnItem" title="Add New Replication Targets">
292
                        <%If canModify Then%>
283
                            <%If canModify Then%>
293
                           <a href="javascript:;" onClick="MM_openVixIFrame('wAddReleaseReplica.asp?rtag_id=<%=DB_RTAG_ID%>','Add Release Replication')">
284
                               <a href="javascript:;" onClick="MM_openVixIFrame('wAddReleaseReplica.asp?rtag_id=<%=DB_RTAG_ID%>','Add Release Replication')">
294
                              <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" >
285
                                  <img src="icons/btn_add.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
295
                              Add Release Replica
286
                                  Add Release Replica
296
                           </a>
287
                               </a>
297
                        <%Else%>
288
                        <%Else%>
298
                             <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3">
289
                                 <img src="icons/btn_add_dis.gif" width="13" height="13" align="absmiddle" border="0" hspace="3" title="Add New Replication Targets">
299
                              Add Release Replica
290
                              Add Release Replica
300
                        <%End If%>
291
                            <%End If%>
301
                        </td>
292
                            </td>
302
                     </tr>
293
                         </tr>
303
                  </table>
294
                      </table>
304
               </div>
295
                  </td>
305
            </div>
296
                  <td background="images/lbox_bgside_white.gif">&nbsp;</td>
306
         </td>
297
              </tr>
307
      </tr>
-
 
308
   </table>
298
          </table>
309
<%
-
 
310
End Sub
299
<%End Sub%>
311
%>
-
 
312
<html>
300
<html>
313
   <head>
301
   <head>
314
      <title>Release Manager</title>
302
      <title>Release Manager</title>
315
      <link rel="shortcut icon" href="<%=FavIcon%>"/>
303
      <link rel="shortcut icon" href="<%=FavIcon%>"/>
316
      <meta http-equiv="Pragma" content="no-cache">
304
      <meta http-equiv="Pragma" content="no-cache">
317
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
305
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
318
      <link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
306
      <link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css">
319
      <link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
307
      <link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css">
320
      <script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
308
      <script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script>
321
      <!-- DROPDOWN MENUS -->
309
      <!-- DROPDOWN MENUS -->
322
      <%bJqueryDataTables = TRUE%>
-
 
323
      <!--#include file="_jquery_includes.asp"-->
310
      <!--#include file="_jquery_includes.asp"-->
324
      <!--#include file="_menu_def.asp"-->
311
      <!--#include file="_menu_def.asp"-->
325
      <script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
312
      <script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
-
 
313
      <!-- TIPS -->
326
      <script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
314
      <script language="JavaScript" src="images/tipster.js?ver=<%=VixVerNum%>"></script>
327
      <script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
315
      <script language="JavaScript" src="images/_help_tips.js?ver=<%=VixVerNum%>"></script>
328
      <script language="JavaScript" type="text/JavaScript">
316
      <script language="JavaScript" type="text/JavaScript">
329
      formTips.tips.activeReplica   = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
317
      formTips.tips.activeReplica   = stdTip(200, 'Active Replica', 'This package replica has been marked as active.');
330
      formTips.tips.enabledRelease  = stdTip(200, 'Enabled Release','Replication of this release has been enabled. This will only ' +
318
      formTips.tips.enabledRelease  = stdTip(200, 'Enabled Release','Replication of this release has been enabled. This will only ' +