Rev 6873 | Rev 6877 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<%@LANGUAGE="VBSCRIPT"%><%'=====================================================' build_replication_status.asp'' Display the replication configuration'=====================================================%><%Option explicit' Good idea to set when using redirectResponse.Expires = 0 ' always load the page, dont store%><!--#include file="common/conf.asp"--><!--#include file="common/globals.asp"--><!--#include file="common/formating.asp"--><!--#include file="common/qstr.asp"--><!--#include file="common/common_subs.asp"--><!--#include file="common/_form_window_common.asp"--><!--#include file="common/common_daemon.asp"--><% '------------ ACCESS CONTROL ------------------ %><!--#include file="_access_control_login_optional.asp"--><!--#include file="_access_control_general.asp"--><%'------------ Variable Definition -------------Dim rsQry'------------ RUN BEFORE PAGE RENDER ----------'------------------------------------------------------------------------------Sub SidePanelContent%><%End Sub'------------------------------------------------------------------------------Sub ShowMainPanel%><table width="10" class="embedded_table" style="margin-bottom:10px"><tr><td><table class="rounded_box rounded_box_std embedded_table" width="100%" ><caption>Package Replication Summary</caption><tr><td><!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ --><!--#include file="messages/_msg_inline.asp"--><!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --><table width="100%" border="0" cellspacing="1" cellpadding="1" class=stdGrey><thead><!-- Status Table Header --><th>Target</th><th>Enabled</th><th>Mode</th><th>Project</th><th>Release</th></thead><!-- Status Table Body --><%Set rsQry = OraDatabase.DbCreateDynaset( GetQuery("ReplicaStatus.sql"), cint(0))Dim showWarn, showWarnText, hasProjectReplicationWhile ((NOT rsQry.BOF) AND (NOT rsQry.EOF))%><tr class="body_rowg2"><%Dim enabledControlenabledControl = "<input type='checkbox' disabled "& IIF(rsQry("ENABLED") = "Y", "checked","") &" >"Select Case rsQry("etype")' Server entryCase 0Dim replicationModeIf rsQry("BLAT_MODE") = "P" ThenreplicationMode = "All Projects"showWarn = trueshowWarnText = "Covered by replication of All Projects"ElseIf rsQry("BLAT_MODE") = "E" ThenreplicationMode = "Entire Archive"showWarnText = "Covered by replication of Entie Archive"showWarn = trueElsereplicationMode = "Normal"showWarn = falseEnd IfhasProjectReplication = false%><td class="body_row" nowrap><a href=admin_blat_machines.asp?server_id=<%=rsQry("blat_id")%>><%=rsQry("blat_display_name")%></a></td><td><%=enabledControl%></td><td class="body_row" nowrap colspan=3><%=replicationMode%></td><%' No longer usedCase 1%><td></td><td><%=enabledControl%></td><td class="body_row" nowrap colspan=3>Full Archive Replication</td><%' Project EntryCase 2hasProjectReplication = true%><td></td><td><%=enabledControl%></td><td class="body_row" nowrap>Project<%If showWarn Then%><img src='images/s_warning.gif' width='14' height='13' border='0' title='<%=showWarnText%>' style='vertical-align: bottom;'><%End If%></td><td class="body_row" nowrap><a href=form_project_replication.asp?proj_id=<%=rsQry("PROJ_ID")%>><%=rsQry("PROJ_NAME")%></a></td><td class="body_row" nowrap></td><%' Release Entry - has xref to containing projectCase 3Dim noReplicaTxt : noReplicaTxt = ""If rsQry("OFFICIAL") = "A" ThennoReplicaTxt = "Release is in a state that will not be replicated"End If%><td></td><td><%=enabledControl%></td><td class="body_row" nowrap>Release<%If showWarn Then%><img src='images/s_warning.gif' width='14' height='13' border='0' title='<%=showWarnText%>' style='vertical-align: bottom;'><%End If%><%If noReplicaTxt <> "" Then%><img src='images/s_warning.gif' width='14' height='13' border='0' title='<%=noReplicaTxt%>' style='vertical-align: bottom;'><%End If%><%If hasProjectReplication Then%><img src='images/s_warning.gif' width='14' height='13' border='0' title='Covered by Project Replication' style='vertical-align: bottom;'><%End If%></td><td class="body_row" nowrap><a href=form_project_replication.asp?proj_id=<%=rsQry("PROJ_ID")%>><%=rsQry("PROJ_NAME")%></a></td><td class="body_row" nowrap><%=ReleaseIcon(rsQry("OFFICIAL"))%><a href=form_release_replication.asp?rtag_id=<%=rsQry("RTAG_ID")%>><%=rsQry("RTAG_NAME")%></a></td><%End Select%></tr><%rsQry.MoveNextWEndrsQry.CloseSet rsQry = Nothing%></table></td></tr></table></td></tr></table><%End Sub%><html><head><title>Release Manager</title><link rel="shortcut icon" href="<%=FavIcon%>"/><meta http-equiv="Pragma" content="no-cache"><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" href="images/release_manager_style.css?ver=<%=VixVerNum%>" type="text/css"><link rel="stylesheet" href="images/navigation.css?ver=<%=VixVerNum%>" type="text/css"><script language="JavaScript" src="images/common.js?ver=<%=VixVerNum%>"></script><!--#include file="_jquery_includes.asp"--><!-- DROPDOWN MENUS --><!--#include file="_menu_def.asp"--><script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script></head><body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0"><!-- HEADER --><!--#include file="_header.asp"--><!-- BODY ----><table class="full_table"><tr><td width="146px" class="panel_bg" valign="top"><%Call SidePanelContent%></td><td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF"><%Call ShowMainPanel%></td></tr><tr><td class="panel_bg" valign="bottom" align="center" height="350"><img src="images/img_gears.png" vspace="20" hspace="30"></td></tr></table><!-- FOOTER --><!--#include file="_footer.asp"--></body></html>