Changeset 753 for branches/0.4/web/addons/job_monarch/templates/header.tpl
- Timestamp:
- 03/26/13 21:38:02 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.4/web/addons/job_monarch/templates/header.tpl
r336 r753 2 2 <HTML> 3 3 <HEAD> 4 <TITLE>Ganglia :: { longpage_title}</TITLE>4 <TITLE>Ganglia :: {$longpage_title}</TITLE> 5 5 <META http-equiv="Content-type" content="text/html; charset=utf-8"> 6 <META http-equiv="refresh" content="{ refresh}{redirect}" >6 <META http-equiv="refresh" content="{$refresh}{$redirect}" > 7 7 <LINK rel="stylesheet" href="./styles.css" type="text/css"> 8 8 <SCRIPT LANGUAGE="javascript" SRC="ts_picker.js"></SCRIPT> … … 11 11 function setPeriodTimestamps() { 12 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;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 15 } 16 16 … … 19 19 <BODY BGCOLOR="#FFFFFF"> 20 20 21 <FORM ACTION="./" METHOD="GET" NAME="{ form_name}">22 <INPUT TYPE="HIDDEN" NAME="c" VALUE="{ cluster}">23 <INPUT TYPE="HIDDEN" NAME="view" VALUE="{ view}">21 <FORM ACTION="./" METHOD="GET" NAME="{$form_name}"> 22 <INPUT TYPE="HIDDEN" NAME="c" VALUE="{$cluster}"> 23 <INPUT TYPE="HIDDEN" NAME="view" VALUE="{$view}"> 24 24 <TABLE WIDTH="100%"> 25 25 <TR> … … 35 35 <TD BGCOLOR="#DDDDDD"> 36 36 <FONT SIZE="+1"> 37 <B>{ page_title} for {date}</B>37 <B>{$page_title} for {$date}</B> 38 38 </FONT> 39 39 </TD> … … 45 45 <TR> 46 46 <TD COLSPAN=1> 47 { metric_menu} 48 { range_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}">47 {$metric_menu} 48 {$range_menu} 49 {$sort_menu} 50 {if "$timeperiod" == "yes"} 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 54 <BR><BR><B>Graph/ 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">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 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">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 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">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 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">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 64 </B> 65 65 <IMG SRC="redcross.jpg" BORDER=0></A> 66 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 --> 67 {if "$hostview" == "yes"} 68 <INPUT TYPE="HIDDEN" NAME="job_start" VALUE="{$job_start}"> 69 <INPUT TYPE="HIDDEN" NAME="job_stop" VALUE="{$job_stop}"> 70 {/if} 71 71 <INPUT TYPE="submit" onClick="setPeriodTimestamps();" VALUE="Refresh graphs"> 72 <!-- END BLOCK : timeperiod --> 72 {/if} 73 73 </TD> 74 74 <TD> 75 <B>{ alt_view}</B>75 <B>{$alt_view}</B> 76 76 </TD> 77 77 … … 79 79 </TABLE> 80 80 81 <!-- START BLOCK : search --> 81 {if "$search" == "yes"} 82 82 <TD align="right"><CENTER> 83 <A HREF="./?c={ cluster_url}&view=search">83 <A HREF="./?c={$cluster_url}&view=search"> 84 84 <B><I>Jobarchive</I></B><BR> 85 <IMG SRC="./document_archive.jpg" HEIGHT=100 ALT="Search the archive for { cluster}" TITLE="Search the archive for {cluster}" BORDER=0></A></CENTER>85 <IMG SRC="./document_archive.jpg" HEIGHT=100 ALT="Search the archive for {$cluster}" TITLE="Search the archive for {$cluster}" BORDER=0></A></CENTER> 86 86 </TD> 87 <!-- END BLOCK : search --> 87 {/if} 88 88 89 89 </TD> … … 92 92 93 93 <FONT SIZE="+1"> 94 { node_menu}94 {$node_menu} 95 95 </FONT> 96 96
Note: See TracChangeset
for help on using the changeset viewer.