source: trunk/web/addons/job_monarch/templates/header.tpl @ 336

Last change on this file since 336 was 336, checked in by bastiaans, 16 years ago

web/addons/job_monarch/templates/header.tpl,
web/addons/job_monarch/jobmonarch.gif:

  • changed logo, thanks to Robin Day
File size: 3.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<TITLE>Ganglia :: {longpage_title}</TITLE>
5<META http-equiv="Content-type" content="text/html; charset=utf-8">
6<META http-equiv="refresh" content="{refresh}{redirect}" >
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>
18</HEAD>
19<BODY BGCOLOR="#FFFFFF">
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}">
24<TABLE WIDTH="100%">
25<TR>
26  <TD ROWSPAN="2" WIDTH="150">
27  <A HREF="https://subtrac.sara.nl/oss/jobmonarch/">
28  <IMG SRC="./jobmonarch.gif"
29      ALT="Ganglia" BORDER="0"></A>
30  </TD>
31  <TD VALIGN="TOP">
32
33  <TABLE WIDTH="100%" CELLPADDING="8" CELLSPACING="0" BORDER=0>
34  <TR BGCOLOR="#DDDDDD">
35     <TD BGCOLOR="#DDDDDD">
36     <FONT SIZE="+1">
37     <B>{page_title} for {date}</B>
38     </FONT>
39     </TD>
40     <TD BGCOLOR="#DDDDDD" ALIGN="RIGHT">
41     <INPUT TYPE="SUBMIT" VALUE="Get Fresh Data">
42     </TD>
43     <TD></TD>
44  </TR>
45  <TR>
46     <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}">
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">
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 -->
73     </TD>
74     <TD>
75      <B>{alt_view}</B>
76     </TD>
77
78  </TR>
79  </TABLE>
80
81<!-- START BLOCK : search -->
82     <TD align="right"><CENTER>
83       <A HREF="./?c={cluster_url}&view=search">
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>
86     </TD>
87<!-- END BLOCK : search -->
88
89  </TD>
90</TR>
91</TABLE>
92
93<FONT SIZE="+1">
94{node_menu}
95</FONT>
96
97<HR SIZE="1" NOSHADE>
Note: See TracBrowser for help on using the repository browser.