PageRenderTime 4767ms CodeModel.GetById 59ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 4705ms

/hobbit/web/maint_form

http://github.com/brinkman83/bashrc
#! | 134 lines | 117 code | 17 blank | 0 comment | 0 complexity | 1a5ad876e1e60e8ff8b20f14d18adf33 MD5 | raw file
  1<TABLE SUMMARY="Maintenance data" WIDTH="100%" BORDER=0>
  2
  3<TR><TH ALIGN=LEFT><I>Current Status</I></TH><TH ALIGN=LEFT><I>Select what to Disable</I></TH></TR>
  4
  5<TR>
  6
  7<TD WIDTH="55%" VALIGN=TOP>
  8   <TABLE SUMMARY="Status table" BORDER=0 WIDTH="90%" ALIGN=LEFT>
  9      <TR><TD>
 10         <TABLE SUMMARY="Disabled tests" BORDER=1 WIDTH="100%">
 11            <TR><TH COLSPAN=3>Currently disabled tests</TH></TR>
 12            &DISABLELIST
 13         </TABLE>
 14      </TD></TR>
 15      <TR><TD>&nbsp;</TD></TR>
 16      <TR><TD>
 17         <TABLE SUMMARY="Scheduled actions" BORDER=1 WIDTH="100%">
 18            <TR><TH COLSPAN=3>Scheduled actions</TH></TR>
 19            &SCHEDULELIST
 20         </TABLE>
 21      </TD></TR>
 22   </TABLE>
 23</TD>
 24
 25<TD WIDTH="40%" VALIGN=TOP>
 26  <FORM METHOD="POST" NAME=selectionform ACTION="&SCRIPT_NAME">
 27    <TABLE SUMMARY="Selection table" BORDER=0 WIDTH="100%">
 28        <TR><TD WIDTH="100%" VALIGN=TOP>
 29            <TABLE SUMMARY="Maintenance input" BORDER=0>
 30              <TR><TH ALIGN=LEFT>Hosts</TH><TH ALIGN=LEFT>Tests</TH><TH>&nbsp;<TH></TR>
 31              <TR>
 32                 <TD WIDTH="50%" ALIGN=LEFT>
 33                    <SELECT MULTIPLE NAME=hostname SIZE=15 onChange="updateOptions(window.document.selectionform.hostname.options[selectedIndex].text);">
 34                       &HOSTLIST
 35                    </SELECT>
 36                 </TD>
 37   
 38                 <TD WIDTH="20%" ALIGN=LEFT>
 39                     <SELECT MULTIPLE NAME=disabletest SIZE=15>
 40                       <OPTION VALUE="">-- Select a host --</OPTION>
 41                     </SELECT>
 42                 </TD>
 43              </TR>
 44
 45              <TR><TD>&nbsp;</TD></TR>
 46
 47              <TR><TD WIDTH="100%" COLSPAN=2>
 48                 <TABLE SUMMARY="Host filters" BORDER=1 WIDTH="100%">
 49                    <TR><TH COLSPAN=2><FONT SIZE=-1><I>Filter hostlist</I></FONT></TH></TR>
 50                    <TR>
 51                       <TD>
 52                          <FONT SIZE=-1>Hostname pattern</FONT><BR>
 53                          <INPUT TYPE=TEXT NAME=hostpattern VALUE="&HOSTFILTER" SIZE=20 MAXLENGTH=80>
 54                      </TD>
 55                      <TD ROWSPAN=3 ALIGN=CENTER>
 56                          <INPUT TYPE=SUBMIT NAME=go VALUE="Apply filters" ALT="Submit">
 57                      </TD>
 58                    </TR>
 59                    <TR>
 60                       <TD>
 61                          <FONT SIZE=-1>Pagename pattern</FONT><BR>
 62                          <INPUT TYPE=TEXT NAME=pagepattern VALUE="&PAGEFILTER" SIZE=20 MAXLENGTH=80>
 63                      </TD>
 64                    </TR>
 65                    <TR>
 66                       <TD>
 67                          <FONT SIZE=-1>IP address pattern</FONT><BR>
 68                          <INPUT TYPE=TEXT NAME=ippattern VALUE="&IPFILTER" SIZE=20 MAXLENGTH=80>
 69                      </TD>
 70                    </TR>
 71                 </TABLE>
 72              </TD></TR>
 73
 74              <TR><TD>&nbsp;</TD></TR>
 75
 76              <TR>
 77	         <td COLSPAN=3>Cause:&nbsp;<input name=cause type=text size=50 maxlength=80></td>
 78              </TR>
 79
 80              <TR>
 81                 <TD COLSPAN=3>
 82                     Duration:&nbsp;<INPUT NAME=duration TYPE=TEXT SIZE=5 MAXLENGTH=5 value="4">&nbsp;
 83	             <select name=scale>
 84	                <option value=1>minutes</option>
 85                        <option value=60 selected>hours</option>
 86			<option value=1440>days</option>
 87			<option value=10080>weeks</option>
 88		     </select>
 89                     &nbsp;&nbsp;-&nbsp;OR&nbsp;-&nbsp;until&nbsp;OK:<input name="untilok" type=checkbox>
 90                 </td>
 91              </TR>
 92
 93              <TR><TD>&nbsp;</TD></TR>
 94
 95              <TR>
 96                 <td COLSPAN=3 ALIGN=LEFT>
 97                     <table summary="When to disable" border=1 width="100%">
 98                       <tr>
 99	                   <td align="left">
100                              <input name=go type=radio value="Disable now" checked> Disable now
101                           </td>
102                       </tr>
103                       <tr>
104	                   <td align="left">
105                              <input name=go type=radio value="Schedule disable"> Schedule disable at
106                              <br>
107	                      <SELECT NAME=month onClick="setcheck(this.form.go,true)"> &REPMONLIST </SELECT>
108	                      <SELECT NAME=day onClick="setcheck(this.form.go,true)"> &REPDAYLIST </SELECT>
109	                      <SELECT NAME=year onClick="setcheck(this.form.go,true)"> &FUTUREYEARLIST </SELECT> &nbsp;
110	                      <SELECT NAME=hour onClick="setcheck(this.form.go,true)"> &REPHOURLIST </SELECT>
111	                      <SELECT NAME=minute onClick="setcheck(this.form.go,true)"> &REPMINLIST </SELECT>
112                           </td>
113                       </tr>
114                     </table>
115                 </td>
116              </TR>
117
118
119              <TR>
120	         <td align=center colspan=3>
121                     <input name=apply type="button" onClick="validateDisable(this.form)" value="Apply">
122                     &nbsp;&nbsp;<INPUT TYPE="CHECKBOX" NAME=preview>&nbsp;Preview
123                 </td>
124              </TR>
125            </TABLE>
126        </TD></TR>
127    </TABLE>
128  </FORM>
129</TD>
130
131</TR>
132
133</TABLE>
134