| Line 48... |
Line 48... |
| 48 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
48 |
<script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
|
| 49 |
</head>
|
49 |
</head>
|
| 50 |
<body>
|
50 |
<body>
|
| 51 |
<!-- HEADER -->
|
51 |
<!-- HEADER -->
|
| 52 |
<!--#include file="_header.asp"-->
|
52 |
<!--#include file="_header.asp"-->
|
| 53 |
|
- |
|
| 54 |
<%
|
- |
|
| 55 |
'-- FROM START ---------------------------------------------------------------------------------------------------------
|
- |
|
| 56 |
objFormComponent.FormName = "BLAT_MACHINE"
|
- |
|
| 57 |
objFormComponent.Action = ScriptName
|
- |
|
| 58 |
objFormComponent.OnSubmit = "ShowProgress();"
|
- |
|
| 59 |
Call objFormComponent.FormStart()
|
- |
|
| 60 |
%>
|
- |
|
| 61 |
<div class="div_table">
|
53 |
<div class="div_table">
|
| 62 |
<table border="0" cellspacing="0" cellpadding="0" class="center_table form_field_bg rounded_box embedded_table"" style="padding:10px;padding-top:0px">
|
54 |
<table border="0" cellspacing="1" cellpadding="2" class='stdBrown center_table'>
|
| 63 |
<caption nowrap class="form_ttl tleft">List of Package Replicas</caption>
|
55 |
<caption>List of Package Replicas</caption>
|
| 64 |
<tr>
|
56 |
<thead>
|
| 65 |
<td>
|
57 |
<tr>
|
| 66 |
<table width="100%" border="0" cellspacing="1" cellpadding="2">
|
- |
|
| 67 |
<tr class="form_field_bg">
|
- |
|
| 68 |
<!-- BUILD_MACHINE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
58 |
<!-- BUILD_MACHINE DETAILS +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 69 |
<td nowrap class="form_field_hdr form_align">Enabled</td>
|
59 |
<th nowrap>Enabled</th>
|
| 70 |
<td nowrap class="form_field_hdr form_align">Server Name</td>
|
60 |
<th nowrap>Server Name</th>
|
| 71 |
<td nowrap class="form_field_hdr form_align">Display Name</td>
|
61 |
<th nowrap>Display Name</th>
|
| 72 |
<td nowrap class="form_field_hdr form_align">Replication Mode</td>
|
62 |
<th nowrap>Replication Mode</th>
|
| 73 |
<td nowrap class="form_field_hdr form_align" width=250>Description</td>
|
63 |
<th nowrap width=250>Description</th>
|
| 74 |
<td nowrap class="form_field_hdr form_align">Edit</td>
|
64 |
<th nowrap>Edit</th>
|
| 75 |
</tr>
|
65 |
</tr>
|
| - |
|
66 |
</thead>
|
| 76 |
|
67 |
|
| 77 |
<%
|
68 |
<%
|
| 78 |
' Load some action buttons
|
69 |
' Load some action buttons
|
| 79 |
Call objBtnControl.LoadActionButtons ( Array("btnEditBlatMachine", "btnDeleteBlatMachine"), OraDatabase )
|
70 |
Call objBtnControl.LoadActionButtons ( Array("btnEditBlatMachine", "btnDeleteBlatMachine"), OraDatabase )
|
| 80 |
objBtnControl.ButtonSpacer = 1
|
71 |
objBtnControl.ButtonSpacer = 1
|
| - |
|
72 |
|
| - |
|
73 |
If NOT bCanEdit Then
|
| - |
|
74 |
Call objBtnControl.Active ( "btnEditBlatMachine", "N" )
|
| - |
|
75 |
Call objBtnControl.Active ( "btnDeleteBlatMachine", "N" )
|
| - |
|
76 |
End If
|
| - |
|
77 |
|
| - |
|
78 |
Dim rsQry
|
| - |
|
79 |
Dim server_id,server_name,display_name, active, mode, description, replicationMode
|
| - |
|
80 |
Dim activeChecked
|
| - |
|
81 |
|
| - |
|
82 |
Set rsQry = OraDatabase.DbCreateDynaset( "select BLAT_ID, blat_server_name, blat_display_name,blat_enable, blat_mode, blat_description from BLAT_SERVERS order by UPPER(blat_server_name)", ORADYN_DEFAULT )
|
| - |
|
83 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
| - |
|
84 |
server_id = rsQry("BLAT_ID")
|
| - |
|
85 |
server_name = rsQry("blat_server_name")
|
| - |
|
86 |
display_name = rsQry("blat_display_name")
|
| - |
|
87 |
active = rsQry("blat_enable")
|
| - |
|
88 |
mode = rsQry("blat_mode")
|
| - |
|
89 |
description = rsQry("blat_description")
|
| - |
|
90 |
activeChecked = IIF( active = "Y", "checked", "")
|
| - |
|
91 |
|
| - |
|
92 |
Select Case mode
|
| - |
|
93 |
case "P" replicationMode = "All Projects"
|
| - |
|
94 |
case "E" replicationMode = "Entire Archive"
|
| - |
|
95 |
case "N" replicationMode = "Release/Package"
|
| - |
|
96 |
case else replicationMode = "Unknown"
|
| - |
|
97 |
End Select
|
| 81 |
|
98 |
|
| 82 |
If NOT bCanEdit Then
|
- |
|
| 83 |
Call objBtnControl.Active ( "btnEditBlatMachine", "N" )
|
- |
|
| 84 |
Call objBtnControl.Active ( "btnDeleteBlatMachine", "N" )
|
- |
|
| 85 |
End If
|
- |
|
| 86 |
|
- |
|
| 87 |
Dim rsQry
|
- |
|
| 88 |
Dim server_id,server_name,display_name, active, mode, description, replicationMode
|
- |
|
| 89 |
Dim activeChecked
|
- |
|
| 90 |
|
- |
|
| 91 |
Set rsQry = OraDatabase.DbCreateDynaset( "select BLAT_ID, blat_server_name, blat_display_name,blat_enable, blat_mode, blat_description from BLAT_SERVERS order by UPPER(blat_server_name)", ORADYN_DEFAULT )
|
- |
|
| 92 |
While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
|
- |
|
| 93 |
server_id = rsQry("BLAT_ID")
|
- |
|
| 94 |
server_name = rsQry("blat_server_name")
|
- |
|
| 95 |
display_name = rsQry("blat_display_name")
|
- |
|
| 96 |
active = rsQry("blat_enable")
|
- |
|
| 97 |
mode = rsQry("blat_mode")
|
- |
|
| 98 |
description = rsQry("blat_description")
|
- |
|
| 99 |
activeChecked = IIF( active = "Y", "checked", "")
|
- |
|
| 100 |
|
- |
|
| 101 |
Select Case mode
|
- |
|
| 102 |
case "P" replicationMode = "All Projects"
|
- |
|
| 103 |
case "E" replicationMode = "Entire Archive"
|
- |
|
| 104 |
case "N" replicationMode = "Release/Package"
|
- |
|
| 105 |
case else replicationMode = "Unknown"
|
- |
|
| 106 |
End Select
|
- |
|
| 107 |
|
- |
|
| 108 |
%>
|
- |
|
| 109 |
<tr style="vertical-align:top;" class=body_rowg2>
|
- |
|
| 110 |
<td nowrap><input type="checkbox" disabled <%=activeChecked%> ></td>
|
- |
|
| 111 |
<td nowrap><%=server_name%></td>
|
- |
|
| 112 |
<td nowrap><%=display_name%></td>
|
- |
|
| 113 |
<td nowrap><%=replicationMode%></td>
|
- |
|
| 114 |
<td wrap><%=description%></td>
|
- |
|
| 115 |
<td nowrap><%Call objBtnControl.Render( Array("btnEditBlatMachine", "btnDeleteBlatMachine"), objAccessControl )%></td>
|
- |
|
| 116 |
</tr>
|
- |
|
| 117 |
<%
|
- |
|
| 118 |
rsQry.MoveNext()
|
- |
|
| 119 |
Wend
|
- |
|
| 120 |
rsQry.Close()
|
- |
|
| 121 |
Set rsQry = nothing
|
- |
|
| 122 |
%>
|
99 |
%>
|
| - |
|
100 |
<tr style="vertical-align:top;">
|
| - |
|
101 |
<td nowrap><input type="checkbox" disabled <%=activeChecked%> ></td>
|
| - |
|
102 |
<td nowrap><%=server_name%></td>
|
| - |
|
103 |
<td nowrap><%=display_name%></td>
|
| - |
|
104 |
<td nowrap><%=replicationMode%></td>
|
| - |
|
105 |
<td wrap><%=description%></td>
|
| - |
|
106 |
<td nowrap><%Call objBtnControl.Render( Array("btnEditBlatMachine", "btnDeleteBlatMachine"), objAccessControl )%></td>
|
| - |
|
107 |
</tr>
|
| 123 |
|
108 |
<%
|
| 124 |
<tr class=body_rowg2>
|
109 |
rsQry.MoveNext()
|
| - |
|
110 |
Wend
|
| - |
|
111 |
rsQry.Close()
|
| - |
|
112 |
Set rsQry = nothing
|
| - |
|
113 |
%>
|
| - |
|
114 |
|
| - |
|
115 |
<tr>
|
| 125 |
<td nowrap colspan=6 align=right><%Call Action_Buttons_State("Add Package Replica", bCanEdit)%>
|
116 |
<td nowrap colspan=6 align=right><%Call Action_Buttons_State("Add Package Replica", bCanEdit)%>
|
| 126 |
</tr>
|
117 |
</tr>
|
| 127 |
|
118 |
|
| 128 |
</table>
|
119 |
</table>
|
| 129 |
<%=objPMod.ComposeHiddenTags()%>
|
- |
|
| 130 |
<input type="hidden" name="action" value="true">
|
- |
|
| 131 |
<%Call objFormComponent.FormEnd()%>
|
- |
|
| 132 |
</table>
|
- |
|
| 133 |
</div>
|
120 |
</div>
|
| 134 |
<!-- FOOTER -->
|
121 |
<!-- FOOTER -->
|
| 135 |
<!--#include file="_footer.asp"-->
|
122 |
<!--#include file="_footer.asp"-->
|
| 136 |
</body>
|
123 |
</body>
|
| 137 |
</html>
|
124 |
</html>
|