Ignore:
Timestamp:
06/06/05 16:12:33 (19 years ago)
Author:
bastiaans
Message:

web/addons/toga/templates/header.tpl:

  • Changed form action to /

web/addons/toga/templates/overview.tpl:

  • Added showhosts HTML

web/addons/toga/index.php:

  • Header will now show metricmenu
  • Form changed to 1 global form

web/addons/toga/overview.php:

  • Setup for different pie graphs for filters
  • Added showhosts code for a job

web/addons/toga/libtoga.php:

  • Some extra global ganglia vars we need
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/toga/templates/overview.tpl

    r124 r126  
    1717<BR><BR>
    1818
     19<SCRIPT TYPE="text/javascript" SRC="ts_picker.js"></SCRIPT>
    1920<SCRIPT TYPE="text/javascript">
    2021        function setSort( sortbyval ) {
     
    5152</SCRIPT>
    5253
    53 <FORM NAME="toga_form" ACTION="./" METHOD="GET">
    54 
    5554<INPUT TYPE="HIDDEN" NAME="sortby" VALUE="{sortby}">
    5655<INPUT TYPE="HIDDEN" NAME="sortorder" VALUE="{sortorder}">
     
    6059<INPUT TYPE="HIDDEN" NAME="user" VALUE="{f_user}">
    6160<INPUT TYPE="HIDDEN" NAME="id" VALUE="{f_id}">
    62 
    63 </FORM>
    6461
    6562<TABLE WIDTH="90%" CELLPADDING="8" CELLSPACING="3" BORDER=0>
     
    9390</TABLE>
    9491</CENTER>
     92
     93<!-- START BLOCK : showhosts -->
     94<TABLE BORDER="0" WIDTH="100%">
     95<TR>
     96  <TD CLASS=title COLSPAN="2">
     97  <FONT SIZE="-1">
     98  Show Hosts:
     99  yes<INPUT type=radio name="sh" value="1" OnClick="toga_form.submit();" {checked1}>
     100  no<INPUT type=radio name="sh" value="0" OnClick="toga_form.submit();" {checked0}>
     101  </FONT>
     102  |
     103  job <strong>{id}</strong> metric <strong>{metric}</strong>
     104  |
     105   <FONT SIZE="-1">
     106   Columns&nbsp;&nbsp;{cols_menu}
     107   </FONT><!-- <BR>
     108   <FONT SIZE="-1">
     109    Set graph timeperiod from <INPUT TYPE="text" NAME="start" VALUE="{start}" SIZE=12 ALT="Start time"><a href="javascript:show_calendar('document.toga_form.start', document.toga_form.start.value);"><img src="cal.gif" width="16" height="16" border="0"></a> to <INPUT TYPE="text" NAME="stop" VALUE="{stop}" SIZE=12 ALT="Stop time"><a href="javascript:show_calendar('document.toga_form.stop', document.toga_form.stop.value);"><img src="cal.gif" width="16" height="16" border="0"></a><INPUT TYPE="submit" VALUE="Refresh graphs">
     110   </FONT> -->
     111  </TD>
     112</TR>
     113   
     114</TABLE>
     115
     116<CENTER>
     117<TABLE>
     118<TR>
     119<!-- START BLOCK : sorted_list -->
     120{metric_image}{br}
     121<!-- END BLOCK : sorted_list -->
     122</TR>
     123</TABLE>
     124
     125<p>
     126(Nodes colored by 1-minute load) | <A HREF="../../node_legend.html" ALT="Node Image egend">Legend</A>
     127
     128</CENTER>
     129
     130<!-- END BLOCK : showhosts -->
Note: See TracChangeset for help on using the changeset viewer.