Subversion Repositories DevTools

Rev

Rev 155 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 155 Rev 161
Line 225... Line 225...
225
                     </td>
225
                     </td>
226
                     <td width="9%" valign="top"></td>
226
                     <td width="9%" valign="top"></td>
227
                  </tr>
227
                  </tr>
228
                  <tr>
228
                  <tr>
229
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"></td>
229
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col"></td>
230
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON HOSTNAME</td>
-
 
231
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON MODE</td>
230
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON HOST</td>
232
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">GBE_MACHTYPE</td>
231
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">GBE_MACHTYPE</td>
-
 
232
                     <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">DAEMON MODE</td>
233
                     <td valign="top"   wrap background="images/bg_table_col.gif" class="body_col">GBE_BUILDFILTER</td>
233
                     <td valign="top"   wrap background="images/bg_table_col.gif" class="body_col">GBE_BUILDFILTER</td>
234
                     <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
234
                     <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
235
                        <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">ACTION</td>
235
                        <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">ACTION</td>
236
                     <%End If%>
236
                     <%End If%>
237
                     <td valign="top">
237
                     <td valign="top">
238
                  </tr>
238
                  </tr>
239
                  <%
239
                  <%
-
 
240
 
240
                  query_string = "select * from release_config rc, gbe_machtype gbe "&_
241
                  query_string = "select * from release_config rc, build_machine_config bm, gbe_machtype gbe "&_
241
                  " where rc.rtag_id = "& parRtagId &" and gbe.gbe_id = rc.gbe_id order by daemon_mode"
242
                  " where rc.rtag_id = "& parRtagId &" and rc.daemon_hostname = bm.machine_hostname(+) and rc.gbe_id = gbe.gbe_id order by daemon_mode, bm.display_name"
242
                  Set rsQry = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
243
                  Set rsQry = OraDatabase.DbCreateDynaset( query_string, ORADYN_DEFAULT )
243
 
244
 
244
                  Dim daemon_mode, daemon
245
                  Dim daemon_mode, daemon
245
                  Dim cbtype
246
                  Dim cbtype
246
 
247
 
Line 250... Line 251...
250
                  End If
251
                  End If
251
 
252
 
252
                  '--- Render rows ---
253
                  '--- Render rows ---
253
                  Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
254
                  Do While (NOT rsQry.BOF) AND (NOT rsQry.EOF)
254
                     rcon_id = rsQry("rcon_id")
255
                     rcon_id = rsQry("rcon_id")
255
                     daemon  = rsQry("daemon_hostname")
256
                     daemon  = rsQry("display_name")
256
 
257
 
257
                     If rsQry("daemon_mode") = "M" Then
258
                     If rsQry("daemon_mode") = "M" Then
258
                        daemon_mode = "MASTER"
259
                        daemon_mode = "MASTER"
259
                     Else
260
                     Else
260
                        daemon_mode = "SLAVE"
261
                        daemon_mode = "SLAVE"
Line 267... Line 268...
267
                        <%If rsQry("daemon_mode") = "M" AND rsQry.RecordCount <> 1 Then%>
268
                        <%If rsQry("daemon_mode") = "M" AND rsQry.RecordCount <> 1 Then%>
268
                           <td valign="top" align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>" disabled></td>
269
                           <td valign="top" align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>" disabled></td>
269
                        <%Else%>
270
                        <%Else%>
270
                           <td valign="top" align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>"></td>
271
                           <td valign="top" align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>"></td>
271
                        <%End If%>
272
                        <%End If%>
272
                        <td valign="top"    nowrap class="body_rowg"><%=rsQry("daemon_hostname")%></td>
273
                        <td valign="top"    nowrap class="body_rowg"><%=rsQry("display_name")%></td>
273
                        <td valign="top"    nowrap class="body_rowg"><%=daemon_mode%></td>
-
 
274
                        <td valign="top"    nowrap class="body_rowg"><%=rsQry("gbe_value")%></td>
274
                        <td valign="top"    nowrap class="body_rowg"><%=rsQry("gbe_value")%></td>
-
 
275
                        <td valign="top"    nowrap class="body_rowg"><%=daemon_mode%></td>
275
                        <td valign="top"      wrap class="body_rowg"><%=rsQry("gbe_buildfilter")%></td>
276
                        <td valign="top"      wrap class="body_rowg"><%=rsQry("gbe_buildfilter")%></td>
276
                        <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
277
                        <%If objAccessControl.IsVisible("ConfigureRelease") Then%>
277
                           <td valign="top" nowrap class="body_rowg"><%Call objBtnControl.Render  ( Array("btnEditDaemon", "btnDeleteDaemon"), objAccessControl )%></td>
278
                           <td valign="top" nowrap class="body_rowg"><%Call objBtnControl.Render  ( Array("btnEditDaemon", "btnDeleteDaemon"), objAccessControl )%></td>
278
                        <%End If%>
279
                        <%End If%>
279
                     </tr>
280
                     </tr>