Changeset 189 for trunk/web/addons/toga/templates/header.tpl
- Timestamp:
- 08/05/05 12:55:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/toga/templates/header.tpl
r187 r189 6 6 <META http-equiv="refresh" content="{refresh}{redirect}" > 7 7 <LINK rel="stylesheet" href="./styles.css" type="text/css"> 8 <SCRIPT LANGUAGE="javascript" SRC="ts_picker.js"></SCRIPT> 9 <SCRIPT LANGUAGE="javascript"> 10 11 function setPeriodTimestamps() { 12 13 document.{form_name}.period_start.value = document.{form_name}.period_start_pick.value; 14 document.{form_name}.period_stop.value = document.{form_name}.period_stop_pick.value; 15 } 16 17 </SCRIPT> 8 18 </HEAD> 9 19 <BODY BGCOLOR="#FFFFFF"> 10 20 11 <FORM ACTION="./?c={cluster}&view={view}" METHOD="GET" NAME="{form_name}"> 21 <FORM ACTION="./" METHOD="GET" NAME="{form_name}"> 22 <INPUT TYPE="HIDDEN" NAME="c" VALUE="{cluster}"> 23 <INPUT TYPE="HIDDEN" NAME="view" VALUE="{view}"> 12 24 <TABLE WIDTH="100%"> 13 25 <TR> … … 35 47 {metric_menu} 36 48 {range_menu} 37 {sort_menu} 49 {sort_menu} 50 <!-- START BLOCK : timeperiod --> 51 <INPUT TYPE="HIDDEN" NAME="period_start" VALUE="{period_start}"> 52 <INPUT TYPE="HIDDEN" NAME="period_stop" VALUE="{period_stop}"> 53 <INPUT TYPE="HIDDEN" NAME="h" VALUE="{hostname}"> 54 <BR><BR><B>Graph timeperiod/ from 55 <INPUT TYPE="text" NAME="period_start_pick" VALUE="{period_start}" ALT="Start time" DISABLED="TRUE"> 56 <a href="javascript:show_calendar('document.{form_name}.period_start_pick', document.{form_name}.period_start_pick.value);" alt="Click to select a date/time" title="Click to select a date/time"> 57 <img src="cal.gif" width="16" height="16" border="0"></a> 58 <a href="#" onClick="javascript: document.{form_name}.period_start_pick.value=''" alt="Click here to clear field" title="Click here to clear field"> 59 <IMG SRC="redcross.jpg" BORDER=0></A> 60 to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{period_stop}" ALT="Stop time" DISABLED="TRUE"> 61 <a href="javascript:show_calendar('document.{form_name}.period_stop_pick', document.{form_name}.period_stop_pick.value);" alt="Click to select a date/time" title="Click to select a date/time"> 62 <img src="cal.gif" width="16" height="16" border="0"></a> 63 <a href="#" onClick="javascript: document.{form_name}.period_stop_pick.value=''" alt="Click here to clear field" title="Click here to clear field"> 64 </B> 65 <IMG SRC="redcross.jpg" BORDER=0></A> 66 67 <!-- START BLOCK : hostview --> 68 <INPUT TYPE="HIDDEN" NAME="job_start" VALUE="{job_start}"> 69 <INPUT TYPE="HIDDEN" NAME="job_stop" VALUE="{job_stop}"> 70 <!-- END BLOCK : hostview --> 71 <INPUT TYPE="submit" onClick="setPeriodTimestamps();" VALUE="Refresh graphs"> 72 <!-- END BLOCK : timeperiod --> 38 73 </TD> 39 74 <TD>
Note: See TracChangeset
for help on using the changeset viewer.