Subversion Repositories DevTools

Rev

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

Rev 5623 Rev 5814
Line 419... Line 419...
419
   Dim pr_arr
419
   Dim pr_arr
420
   pr_arr = Split(param_refresh,",")
420
   pr_arr = Split(param_refresh,",")
421
   param_refreshPeriod = pr_arr(0)
421
   param_refreshPeriod = pr_arr(0)
422
 
422
 
423
   ' Range check and end-stop the refresh period if necessary
423
   ' Range check and end-stop the refresh period if necessary
424
   If CInt(param_refreshPeriod)  < Min_Refresh_Time Then
424
   If NiceInt(param_refreshPeriod, 0)  < Min_Refresh_Time Then
425
      param_refreshPeriod  = CStr(Min_Refresh_Time)
425
      param_refreshPeriod  = CStr(Min_Refresh_Time)
426
   End If
426
   End If
427
 
427
 
428
   ' determine checkbox state
428
   ' determine checkbox state
429
   If UBound(pr_arr) >= 1 Then
429
   If UBound(pr_arr) >= 1 Then
Line 818... Line 818...
818
      <!--#include file="_header.asp"-->
818
      <!--#include file="_header.asp"-->
819
      <% getBuildStatus() %>
819
      <% getBuildStatus() %>
820
      <!-- BODY ---->
820
      <!-- BODY ---->
821
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
821
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
822
         <tr>
822
         <tr>
823
            <td width="1" background="images/bg_home_orange.gif" valign="top"></td>
823
            <td width="1" background="images/bg_home_orange.gif" valign="top">
-
 
824
                <!-- Monitoring Options Selection Box ---->
-
 
825
                 <fieldset style="padding:3px">
-
 
826
                    <legend class="body_scol">Display Options</legend>
-
 
827
                     <fieldset class="body_rowg">
-
 
828
                        <legend class="body_scol">Auto Refresh</legend>
-
 
829
                             <div class=nowrap>
-
 
830
                             <input name="autoRefresh" id="autoRefresh" type="checkbox" <%If param_refreshEnabled Then%>checked<%End If%> value="1" onclick='toggle_refresh()'>
-
 
831
                                 <input class="body_txt" style="width:3em" name="refreshPeriod" id="refreshPeriod" type="input" maxlength="3" value="<%=param_refreshPeriod%>" onchange='toggle_refresh()' > Seconds
-
 
832
                             </div>
-
 
833
                     </fieldset>
-
 
834
                     <fieldset class="body_rowg">
-
 
835
                        <legend class="body_scol">Filter</legend>
-
 
836
                            <div>
-
 
837
                                 <input name="activeBuilds" id="activeBuilds" type="checkbox" <%=Filter_Checked("activeBuilds")%> value="activeBuilds" onclick='update_Display_Filter()'>Active
-
 
838
                            </div>
-
 
839
                            <div>
-
 
840
                                 <input name="idleBuilds" id="idleBuilds" type="checkbox" <%=Filter_Checked("idleBuilds")%> value="idleBuilds" onclick='update_Display_Filter()'>Idle
-
 
841
                            </div>
-
 
842
                            <div>
-
 
843
                                 <input name="pausedBuilds" id="pausedBuilds" type="checkbox" <%=Filter_Checked("pausedBuilds")%> value="paused" onclick='update_Display_Filter()'>Paused
-
 
844
                            </div>
-
 
845
                            <div>
-
 
846
                                 <input name="disabledDaemons"  id="disabledDaemons"  type="checkbox" <%=Filter_Checked("disabledDaemons")%>  value="disabledDaemons"  onclick='update_Display_Filter()'>Disabled
-
 
847
                            </div>
-
 
848
                            <div class=nowrap>
-
 
849
                                 <input name="problemBuilds"  id="problemBuilds"  type="checkbox" <%=Filter_Checked("problemBuilds")%>  value="problemBuilds"  onclick='update_Display_Filter()'>Problem&nbsp;Daemon&nbsp;Sets
-
 
850
                            </div>
-
 
851
                     </fieldset>
-
 
852
                     <fieldset class="body_rowg">
-
 
853
                        <legend  class="body_scol">Inactivity</legend>
-
 
854
                                 <input class="body_txt" style="width:3em" name="inactivity" id="inactivity" type="input" maxlength="3" value="<%=param_inactivity%>" onchange='toggle_inactivity()' > Days
-
 
855
                     </fieldset>
-
 
856
                </fieldset>
-
 
857
            </td>
824
            <td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
858
            <td width="100%" rowspan="2" align="center" valign="top" bgcolor="#EEEFEF">
825
 
859
 
826
               <table width="10" border="0" cellspacing="0" cellpadding="0">
860
               <table width="10" border="0" cellspacing="0" cellpadding="0">
827
                  <tr>
861
                  <tr>
828
                     <td width="1%"></td>
862
                     <td width="1%"></td>
829
                     <td width="100%">
863
                     <td width="100%">
830
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
864
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
831
                           <tr>
865
                           <tr>
832
                              <td nowrap class="form_ttl"><p>&nbsp;</p>
866
                              <td nowrap class="form_ttl">
833
                                 <p>BUILD DAEMON STATUS INFORMATION</p>
867
                                 <p>BUILD DAEMON STATUS INFORMATION</p>
834
                              </td>
868
                              </td>
835
                              <td align="right" valign="bottom"></td>
869
                              <td align="right" valign="bottom"></td>
836
                           </tr>
870
                           </tr>
837
 
871
 
838
                           <tr>
-
 
839
                              <!-- Monitoring Options Selection Box ---->
-
 
840
                              <td width="100%">
-
 
841
                                 <fieldset style="width:700px;">
-
 
842
                                    <legend><a href="javascript:;" class="body_scol" >&nbsp;Monitoring&nbsp;Options</a></legend>
-
 
843
                                    <table width="100%" border="0" cellspacing="1" cellpadding="3">
-
 
844
                                       <tr>
-
 
845
                                          <td valign="top" width="200px" nowrap background="images/bg_table_col.gif" class="body_col">Auto Refresh</td>
-
 
846
                                          <td valign="top" width="200px" nowrap background="images/bg_table_col.gif" class="body_col">Filter Options</td>
-
 
847
                                          <td valign="top" nowrap background="images/bg_table_col.gif" class="body_col">Inactivity</td>
-
 
848
                                       </tr>
-
 
849
 
-
 
850
                                       <tr>
-
 
851
                                          <td class="body_rowg">
-
 
852
                                             <input name="autoRefresh" id="autoRefresh" type="checkbox" <%If param_refreshEnabled Then%>checked<%End If%> value="1" onclick='toggle_refresh()'>
-
 
853
                                             <input style="width:3em" name="refreshPeriod" id="refreshPeriod" type="input" maxlength="3" value="<%=param_refreshPeriod%>" onchange='toggle_refresh()' > Seconds (min. 10)
-
 
854
                                          </td>
-
 
855
                                          <td class="body_rowg">
-
 
856
                                             <input name="activeBuilds" id="activeBuilds" type="checkbox" <%=Filter_Checked("activeBuilds")%> value="activeBuilds" onclick='update_Display_Filter()'>Active
-
 
857
                                             <input name="idleBuilds" id="idleBuilds" type="checkbox" <%=Filter_Checked("idleBuilds")%> value="idleBuilds" onclick='update_Display_Filter()'>Idle
-
 
858
                                             <input name="pausedBuilds" id="pausedBuilds" type="checkbox" <%=Filter_Checked("pausedBuilds")%> value="paused" onclick='update_Display_Filter()'>Paused
-
 
859
                                             <input name="disabledDaemons"  id="disabledDaemons"  type="checkbox" <%=Filter_Checked("disabledDaemons")%>  value="disabledDaemons"  onclick='update_Display_Filter()'>Disabled
-
 
860
                                             <input name="problemBuilds"  id="problemBuilds"  type="checkbox" <%=Filter_Checked("problemBuilds")%>  value="problemBuilds"  onclick='update_Display_Filter()'>Problem Daemon Sets
-
 
861
 
-
 
862
                                          <td class="body_rowg">
-
 
863
                                             <input style="width:3em" name="inactivity" id="inactivity" type="input" maxlength="3" value="<%=param_inactivity%>" onchange='toggle_inactivity()' > Days
-
 
864
                                          </td>
-
 
865
                                       </tr>
-
 
866
                                    </table>
-
 
867
                                 </fieldset>
-
 
868
                              </td>
-
 
869
                           </tr>
-
 
870
                           <%If bIndefinitelyPaused Then%>
872
                           <%If bIndefinitelyPaused Then%>
871
                              <tr>
873
                              <tr>
872
                                 <td>
874
                                 <td>
873
                                    <span class='err_alert'>
875
                                    <span class='err_alert'>
874
                                       <font size='2'><b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b></font>
876
                                       <font size='2'><b>WARNING: Indefinite Pause, Build Daemons are all stopped - please contact an administrator</b></font>