<TABLE SUMMARY="Maintenance data" WIDTH="100%" BORDER=0>

<TR><TH ALIGN=LEFT><I>Current Status</I></TH><TH ALIGN=LEFT><I>Select what to Disable</I></TH></TR>

<TR>

<TD WIDTH="55%" VALIGN=TOP>
   <TABLE SUMMARY="Status table" BORDER=0 WIDTH="90%" ALIGN=LEFT>
      <TR><TD>
         <TABLE SUMMARY="Disabled tests" BORDER=1 WIDTH="100%">
            <TR><TH COLSPAN=3>Currently disabled tests</TH></TR>
            &DISABLELIST
         </TABLE>
      </TD></TR>
      <TR><TD>&nbsp;</TD></TR>
      <TR><TD>
         <TABLE SUMMARY="Scheduled actions" BORDER=1 WIDTH="100%">
            <TR><TH COLSPAN=3>Scheduled actions</TH></TR>
            &SCHEDULELIST
         </TABLE>
      </TD></TR>
   </TABLE>
</TD>

<TD WIDTH="40%" VALIGN=TOP>
  <FORM METHOD="POST" NAME=selectionform ACTION="&SCRIPT_NAME">
    <TABLE SUMMARY="Selection table" BORDER=0 WIDTH="100%">
        <TR><TD WIDTH="100%" VALIGN=TOP>
            <TABLE SUMMARY="Maintenance input" BORDER=0>
              <TR><TH ALIGN=LEFT>Hosts</TH><TH ALIGN=LEFT>Tests</TH><TH>&nbsp;<TH></TR>
              <TR>
                 <TD WIDTH="50%" ALIGN=LEFT>
                    <SELECT MULTIPLE NAME=hostname SIZE=15 onChange="updateOptions(window.document.selectionform.hostname.options[selectedIndex].text);">
                       &HOSTLIST
                    </SELECT>
                 </TD>
   
                 <TD WIDTH="20%" ALIGN=LEFT>
                     <SELECT MULTIPLE NAME=disabletest SIZE=15>
                       <OPTION VALUE="">-- Select a host --</OPTION>
                     </SELECT>
                 </TD>
              </TR>

              <TR><TD>&nbsp;</TD></TR>

              <TR><TD WIDTH="100%" COLSPAN=2>
                 <TABLE SUMMARY="Host filters" BORDER=1 WIDTH="100%">
                    <TR><TH COLSPAN=2><FONT SIZE=-1><I>Filter hostlist</I></FONT></TH></TR>
                    <TR>
                       <TD>
                          <FONT SIZE=-1>Hostname pattern</FONT><BR>
                          <INPUT TYPE=TEXT NAME=hostpattern VALUE="&HOSTFILTER" SIZE=20 MAXLENGTH=80>
                      </TD>
                      <TD ROWSPAN=4 ALIGN=CENTER>
                          <INPUT TYPE=SUBMIT NAME=go VALUE="Apply filters" ALT="Submit">
                      </TD>
                    </TR>
                    <TR>
                       <TD>
                          <FONT SIZE=-1>Pagename pattern</FONT><BR>
                          <INPUT TYPE=TEXT NAME=pagepattern VALUE="&PAGEFILTER" SIZE=20 MAXLENGTH=80>
                      </TD>
                    </TR>
                    <TR>
                       <TD>
                          <FONT SIZE=-1>IP address pattern</FONT><BR>
                          <INPUT TYPE=TEXT NAME=ippattern VALUE="&IPFILTER" SIZE=20 MAXLENGTH=80>
                      </TD>
                    </TR>
                    <TR>
                       <TD>
                          <FONT SIZE=-1>Class pattern</FONT><BR>
                          <INPUT TYPE=TEXT NAME=classpattern VALUE="&CLASSFILTER" SIZE=20 MAXLENGTH=80>
                      </TD>
                    </TR>
                 </TABLE>
              </TD></TR>

              <TR><TD>&nbsp;</TD></TR>

              <TR>
	         <td COLSPAN=3>Cause:&nbsp;<input name=cause type=text size=50 maxlength=80></td>
              </TR>

              <TR>
                 <TD COLSPAN=3>
		<table summary="Until when to disable" border=1>
                    <tr><td align=left><input name=go2 type=radio value="Disable for" checked> Disable for&nbsp;
		<INPUT NAME=duration TYPE=TEXT SIZE=5 MAXLENGTH=5 value="4">&nbsp;
	             <select name=scale>
	                <option value=1>minutes</option>
                        <option value=60 selected>hours</option>
			<option value=1440>days</option>
			<option value=10080>weeks</option>
		     </select></td>
		 </tr>
                  <tr><td align=left><input name=go2 type=radio value="Disable until"> Disable until
                       <br>
	                      <SELECT NAME=endmonth onClick="setcheck(this.form.go2,true)"> &REPMONLIST </SELECT>
	                      <SELECT NAME=endday onClick="setcheck(this.form.go2,true)"> &REPDAYLIST </SELECT>
	                      <SELECT NAME=endyear onClick="setcheck(this.form.go2,true)"> &FUTUREYEARLIST </SELECT> &nbsp;
	                      <SELECT NAME=endhour onClick="setcheck(this.form.go2,true)"> &REPHOURLIST </SELECT>
	                      <SELECT NAME=endminute onClick="setcheck(this.form.go2,true)"> &REPMINLIST </SELECT>
                     &nbsp;&nbsp;-&nbsp;OR&nbsp;-&nbsp;until&nbsp;OK:<input name="untilok" type=checkbox onClick="setcheck(this.form.go2,true)">
                 </td>
              </TR></table>

              <TR><TD>&nbsp;</TD></TR>

              <TR>
                 <td COLSPAN=3 ALIGN=LEFT>
                     <table summary="When to disable" border=1 width="100%">
                       <tr>
	                   <td align="left">
                              <input name=go type=radio value="Disable now" checked> Disable now
                           </td>
                       </tr>
                       <tr>
	                   <td align="left">
                              <input name=go type=radio value="Schedule disable"> Schedule disable at
                              <br>
	                      <SELECT NAME=month onClick="setcheck(this.form.go,true)"> &REPMONLIST </SELECT>
	                      <SELECT NAME=day onClick="setcheck(this.form.go,true)"> &REPDAYLIST </SELECT>
	                      <SELECT NAME=year onClick="setcheck(this.form.go,true)"> &FUTUREYEARLIST </SELECT> &nbsp;
	                      <SELECT NAME=hour onClick="setcheck(this.form.go,true)"> &REPHOURLIST </SELECT>
	                      <SELECT NAME=minute onClick="setcheck(this.form.go,true)"> &REPMINLIST </SELECT>
                           </td>
                       </tr>
                     </table>
                 </td>
              </TR>


              <TR>
	         <td align=center colspan=3>
                     <input name=apply type="button" onClick="validateDisable(this.form)" value="Apply">
                     &nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME=preview>&nbsp;Preview
                 </td>
              </TR>
            </TABLE>
        </TD></TR>
    </TABLE>
  </FORM>
</TD>

</TR>

</TABLE>

