Ignore:
Timestamp:
03/26/13 21:38:02 (10 years ago)
Author:
ramonb
Message:

index.php, overview.php:

header.php:

  • removed: was not used
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/templates/header.tpl

    r336 r753  
    22<HTML>
    33<HEAD>
    4 <TITLE>Ganglia :: {longpage_title}</TITLE>
     4<TITLE>Ganglia :: {$longpage_title}</TITLE>
    55<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}" >
    77<LINK rel="stylesheet" href="./styles.css" type="text/css">
    88<SCRIPT LANGUAGE="javascript" SRC="ts_picker.js"></SCRIPT>
     
    1111        function setPeriodTimestamps() {
    1212
    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;
    1515        }
    1616
     
    1919<BODY BGCOLOR="#FFFFFF">
    2020
    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}">
    2424<TABLE WIDTH="100%">
    2525<TR>
     
    3535     <TD BGCOLOR="#DDDDDD">
    3636     <FONT SIZE="+1">
    37      <B>{page_title} for {date}</B>
     37     <B>{$page_title} for {$date}</B>
    3838     </FONT>
    3939     </TD>
     
    4545  <TR>
    4646     <TD COLSPAN=1>
    47      {metric_menu} &nbsp;&nbsp;
    48      {range_menu}&nbsp;&nbsp;
    49      {sort_menu}&nbsp;&nbsp;
    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} &nbsp;&nbsp;
     48     {$range_menu}&nbsp;&nbsp;
     49     {$sort_menu}&nbsp;&nbsp;
     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}">
    5454    <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">
    5757    <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">
    5959    <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">
    6262    <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">
    6464    </B>
    6565    <IMG SRC="redcross.jpg" BORDER=0></A>
    6666
    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}
    7171    <INPUT TYPE="submit" onClick="setPeriodTimestamps();" VALUE="Refresh graphs">
    72 <!-- END BLOCK : timeperiod -->
     72{/if}
    7373     </TD>
    7474     <TD>
    75       <B>{alt_view}</B>
     75      <B>{$alt_view}</B>
    7676     </TD>
    7777
     
    7979  </TABLE>
    8080
    81 <!-- START BLOCK : search -->
     81{if "$search" == "yes"}
    8282     <TD align="right"><CENTER>
    83        <A HREF="./?c={cluster_url}&view=search">
     83       <A HREF="./?c={$cluster_url}&view=search">
    8484       <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>
    8686     </TD>
    87 <!-- END BLOCK : search -->
     87{/if}
    8888
    8989  </TD>
     
    9292
    9393<FONT SIZE="+1">
    94 {node_menu}
     94{$node_menu}
    9595</FONT>
    9696
Note: See TracChangeset for help on using the changeset viewer.