Subversion Repositories DevTools

Rev

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

Rev 6267 Rev 6268
Line 287... Line 287...
287
                     <%End If%>
287
                     <%End If%>
288
                     <td valign="top">
288
                     <td valign="top">
289
                  </tr>
289
                  </tr>
290
                  <%
290
                  <%
291
 
291
 
292
                  query_string = "select rcon_id, display_name, rc.bmcon_id, daemon_mode, gbe_value, gbe_buildfilter, active " &_
292
                  query_string = "select rcon_id, display_name, rc.bmcon_id, daemon_mode, gbe_value, gbe_buildfilter, NVL(active, 'U') as ACTIVE " &_
293
                                 " from release_manager.release_config rc," &_
293
                                 " from release_manager.release_config rc," &_
294
                                 "      release_manager.build_machine_config bm," &_
294
                                 "      release_manager.build_machine_config bm," &_
295
                                 "      release_manager.gbe_machtype gbe" &_
295
                                 "      release_manager.gbe_machtype gbe" &_
296
                                 " where rc.rtag_id=" & parRtagId &_
296
                                 " where rc.rtag_id=" & parRtagId &_
297
                                 "      and rc.bmcon_id=bm.bmcon_id(+)" &_
297
                                 "      and rc.bmcon_id=bm.bmcon_id(+)" &_
Line 318... Line 318...
318
                        daemon_mode = "MASTER"
318
                        daemon_mode = "MASTER"
319
                     Else
319
                     Else
320
                        daemon_mode = "SLAVE"
320
                        daemon_mode = "SLAVE"
321
                     End If
321
                     End If
322
 
322
 
323
                    dClass = ""
-
 
324
                    If IsNull(rsQry("active"))  Then
323
                     bActive = rsQry("active")
325
                      bActive = "U"
324
                     dClass = ""
326
                    Else
-
 
327
                      bActive = rsQry("active")
-
 
328
                      If bActive = "N" Then
325
                     If bActive = "N" Then
329
                          bInactiveMachine = true
326
                        bInactiveMachine = true
330
                          dClass = " err_alert strike"
327
                        dClass = " err_alert strike"
331
                      End If
328
                     End If
332
                    End If
-
 
333
 
329
 
334
                     %>
330
                     %>
335
                     <tr>
331
                     <tr>
336
                        <td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
332
                        <td colspan="5" background="images/bg_rep_line.gif"><img src="images/spacer.gif" width="1" height="1"></td>
337
                     </tr>
333
                     </tr>
338
                     <tr>
334
                     <tr>
339
                        <td valign="top" align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>"></td>
335
                        <td valign="top" align="center"><input type=<%=cbtype%> name="rcon_id_list" value="<%=rsQry("rcon_id")%>"></td>
340
                        <td valign="top"    nowrap class="body_rowg<%=dClass%>"><%=daemon%></td>
336
                        <td valign="top"    nowrap class="body_rowg<%=dClass%>"><%=daemon%></td>
341
                        <td valign="top"    nowrap class="body_rowg"><%=rsQry("gbe_value")%></td>
337
                        <td valign="top"    nowrap class="body_rowg"><%=rsQry("gbe_value")%></td>
342
                        <td valign="top"    nowrap class="body_rowg"><%=daemon_mode%></td>
338
                        <td valign="top"    nowrap class="body_rowg"><%=daemon_mode%></td>
343
                        <td valign="top"      wrap class="body_rowg"><%=rsQry("gbe_buildfilter")%><%=bActive%></td>
339
                        <td valign="top"      wrap class="body_rowg"><%=rsQry("gbe_buildfilter")%></td>
344
                        <%If canActionControlInProject("BuildConfiguration") Then%>
340
                        <%If canActionControlInProject("BuildConfiguration") Then%>
345
                           <td valign="top" nowrap class="body_rowg"><%Call objBtnControl.Render  ( Array("btnEditDaemon", "btnRemoveDaemon", "btnDeleteDaemon"), objAccessControl )%></td>
341
                           <td valign="top" nowrap class="body_rowg"><%Call objBtnControl.Render  ( Array("btnEditDaemon", "btnRemoveDaemon", "btnDeleteDaemon"), objAccessControl )%></td>
346
                        <%End If%>
342
                        <%End If%>
347
                     </tr>
343
                     </tr>
348
                     <%
344
                     <%
Line 353... Line 349...
353
                  %>
349
                  %>
354
               </table>
350
               </table>
355
            </td>
351
            </td>
356
            <td background="images/lbox_bgside_white.gif">&nbsp;</td>
352
            <td background="images/lbox_bgside_white.gif">&nbsp;</td>
357
         </tr>
353
         </tr>
358
        <%If masterCount <> 1 OR toolsetWarning Then %>
354
        <%If masterCount <> 1 OR toolsetWarning OR bInactiveMachine Then %>
359
          <tr class="form_error form_btn">
355
          <tr class="form_error form_btn">
360
            <td></td>
356
            <td></td>
361
            <td style="padding: 10px;">
357
            <td style="padding: 10px;">
362
            <table class="full_table form_error">
358
            <table class="full_table form_error">
363
                <%If masterCount <> 1 Then %>
359
                <%If masterCount <> 1 Then %>
Line 367... Line 363...
367
                 </tr>
363
                 </tr>
368
                <%End If%>
364
                <%End If%>
369
                <%If bInactiveMachine Then %>
365
                <%If bInactiveMachine Then %>
370
                 <tr>
366
                 <tr>
371
                    <td nowrap class="err_alert">Error
367
                    <td nowrap class="err_alert">Error
372
                    <td class="body_rowg">One or more of the build machine are no longer available for use.
368
                    <td class="body_rowg">One or more of the Build Machines have been deprecated and are no longer available for use.
373
                 </tr>
369
                 </tr>
374
                <%End If%>
370
                <%End If%>
375
                <%If toolsetWarning Then %>
371
                <%If toolsetWarning Then %>
376
                 <tr>
372
                 <tr>
377
                    <td nowrap class="err_alert">Warning
373
                    <td nowrap class="err_alert">Warning