PageRenderTime 119ms CodeModel.GetById 115ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/hobbit/web/notify_form

http://github.com/brinkman83/bashrc
#! | 116 lines | 105 code | 11 blank | 0 comment | 0 complexity | 74f31187049b56d9723f8203effcacee MD5 | raw file
  1<CENTER>
  2<FORM METHOD="GET" ACTION="&SCRIPT_NAME">
  3   <TABLE BORDER=0 SUMMARY="Notification time period">
  4     <TR>
  5       <TD><TABLE BORDER=0>
  6         <TR>
  7           <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Starting </B></FONT></TD>
  8           <TD><INPUT TYPE=TEXT NAME="MAXTIME" SIZE=40></TD>
  9           <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B> minutes ago </B>( Default 1440 )</FONT></TD> 
 10         </TR>
 11         <TR>
 12           <TD COLSPAN=3 ALIGN=CENTER><FONT FACE="Arial, Helvetica" COLOR="silver"><B>&nbsp;- OR -&nbsp;</B></FONT></TD>
 13         </TR>
 14         <TR>
 15           <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>From: </B></FONT></TD> 
 16           <TD><INPUT TYPE=TEXT NAME="FROMTIME" SIZE=40 ID="starttime"></TD>
 17           <TD><FONT FACE="Arial, Helvetica" COLOR="silver">(ccyy/mm/dd@hh:mm:ss)</FONT></TD>
 18         </TR>
 19         <TR>
 20           <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>To: </B></FONT></TD> 
 21           <TD><INPUT TYPE=TEXT NAME="TOTIME" SIZE=40 ID="endtime"></TD>
 22           <TD><FONT FACE="Arial, Helvetica" COLOR="silver">(ccyy/mm/dd@hh:mm:ss)</FONT></TD>
 23         </TR>
 24       </TABLE></TD>
 25     </TR>
 26     <TR><TD>
 27        <button onclick="document.getElementById('starttime').value='&EVENTLASTYEARBEGIN'; document.getElementById('endtime').value='&EVENTCURRYEARBEGIN'; return false">Last year</button>
 28        <button onclick="document.getElementById('starttime').value='&EVENTLASTMONTHBEGIN'; document.getElementById('endtime').value='&EVENTCURRMONTHBEGIN'; return false">Last month</button>
 29        <button onclick="document.getElementById('starttime').value='&EVENTLASTWEEKBEGIN'; document.getElementById('endtime').value='&EVENTCURRWEEKBEGIN'; return false">Last week</button>
 30        <button onclick="document.getElementById('starttime').value='&EVENTCURRYEARBEGIN'; document.getElementById('endtime').value=''; return false">This year</button>
 31        <button onclick="document.getElementById('starttime').value='&EVENTCURRMONTHBEGIN'; document.getElementById('endtime').value=''; return false">This month</button>
 32        <button onclick="document.getElementById('starttime').value='&EVENTCURRWEEKBEGIN'; document.getElementById('endtime').value=''; return false">This week</button>
 33        <button onclick="document.getElementById('starttime').value='&EVENTYESTERDAY'; document.getElementById('endtime').value='&EVENTTODAY'; return false">Yesterday</button>
 34        <button onclick="document.getElementById('starttime').value='&EVENTTODAY'; document.getElementById('endtime').value='&EVENTNOW'; return false">Today</button>
 35     </TD></TR>
 36   </TABLE>
 37
 38   <BR><BR>
 39
 40   <TABLE BORDER=0 SUMMARY="Notification criteria">
 41     <TR>
 42       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Max # of notifications</B></FONT></TD>
 43       <TD WIDTH=10>&nbsp;</TD>
 44       <TD><INPUT TYPE=TEXT NAME="MAXCOUNT" SIZE=40 VALUE=100></TD>
 45       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( Default 100 )</FONT></TD>
 46     </TR>
 47
 48     <TR>
 49       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Hosts to match</B></FONT></TD>
 50       <TD WIDTH=10>&nbsp;</TD>
 51       <TD><INPUT TYPE=TEXT NAME="HOSTMATCH" SIZE=40></TD>
 52       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: ^host.*$ )</FONT></TD>
 53     </TR>
 54
 55     <TR>
 56       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Hosts to skip</B></FONT></TD>
 57       <TD WIDTH=10>&nbsp;</TD>
 58       <TD><INPUT TYPE=TEXT NAME="EXHOSTMATCH" SIZE=40></TD>
 59       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: ^host.*$ )</FONT></TD>
 60     </TR>
 61
 62     <TR>
 63       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Pages to match</B></FONT></TD>
 64       <TD WIDTH=10>&nbsp;</TD>
 65       <TD><INPUT TYPE=TEXT NAME="PAGEMATCH" ID="PAGEMATCH" SIZE=40></TD>
 66       <td>
 67          <select name="PATHLIST" ID="PATHLIST" onChange="document.getElementById('PAGEMATCH').value=document.getElementById('PATHLIST').value; return false">
 68	  &PAGEPATH_DROPDOWN
 69	  </select>
 70       </td>
 71     </TR>
 72
 73     <TR>
 74       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Pages to skip</B></FONT></TD>
 75       <TD WIDTH=10>&nbsp;</TD>
 76       <TD><INPUT TYPE=TEXT NAME="EXPAGEMATCH" SIZE=40></TD>
 77       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: ^webservers/.*$ )</FONT></TD>
 78     </TR>
 79
 80     <TR>
 81       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Tests to match</B></FONT></TD>
 82       <TD WIDTH=10>&nbsp;</TD>
 83       <TD><INPUT TYPE=TEXT NAME="TESTMATCH" SIZE=40></TD>
 84       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: cpu|vmstat )</FONT></TD>
 85     </TR>
 86
 87     <TR>
 88       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Tests to skip</B></FONT></TD>
 89       <TD WIDTH=10>&nbsp;</TD>
 90       <TD><INPUT TYPE=TEXT NAME="EXTESTMATCH" SIZE=40></TD>
 91       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: cpu|vmstat )</FONT></TD>
 92     </TR>
 93
 94     <TR>
 95       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Recipients to match</B></FONT></TD>
 96       <TD WIDTH=10>&nbsp;</TD>
 97       <TD><INPUT TYPE=TEXT NAME="RCPTMATCH" SIZE=40></TD>
 98       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: admin@test.com )</FONT></TD>
 99     </TR>
100
101     <TR>
102       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"><B>Recipients to skip</B></FONT></TD>
103       <TD WIDTH=10>&nbsp;</TD>
104       <TD><INPUT TYPE=TEXT NAME="EXRCPTMATCH" SIZE=40></TD>
105       <TD><FONT FACE="Arial, Helvetica" COLOR="silver"> ( ex: admin@test.com )</FONT></TD>
106     </TR>
107
108     <TR>
109        <TD COLSPAN=3 ALIGN=CENTER>
110          <BR><BR>
111          <INPUT TYPE="SUBMIT" NAME="Send" VALUE="View log" ALT="View log">
112        </TD>
113     </TR>
114   </TABLE>
115</FORM>
116</CENTER>