Ignore:
Timestamp:
06/17/05 17:14:55 (18 years ago)
Author:
bastiaans
Message:

web/addons/toga/libtoga.php:

  • Small bugfixes
  • Added getRrdDirs and Files functions for graphs

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

  • Small rearrangement

web/addons/toga/index.php:

  • Outlining

web/addons/toga/search.php:

  • Fixed graphing output!


web/addons/toga/graph.php

  • Fixed to handle multiple RRD's from multiple timeperiods
File:
1 edited

Legend:

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

    r144 r145  
    6060<FORM NAME="archive_search_form" ACTION="./">
    6161
    62 <INPUT TYPE="hidden" NAME="c" VALUE="{cluster}">
    6362<INPUT TYPE="hidden" NAME="view" VALUE="search">
    6463
     
    260259   </FONT><BR>
    261260   <FONT SIZE="-1">
    262     <INPUT TYPE="HIDDEN" NAME="start" VALUE="{start}">
    263     <INPUT TYPE="HIDDEN" NAME="stop" VALUE="{stop}">
    264     Set graph timeperiod from
    265     <INPUT TYPE="text" NAME="period_start_pick" VALUE="{start}" ALT="Start time" DISABLED="TRUE">
     261    <INPUT TYPE="HIDDEN" NAME="start" VALUE="{j_start}">
     262    <INPUT TYPE="HIDDEN" NAME="stop" VALUE="{j_stop}">
     263    Graph timeperiod from
     264    <INPUT TYPE="text" NAME="period_start_pick" VALUE="{j_start}" ALT="Start time" DISABLED="TRUE">
    266265    <a href="javascript:show_calendar('document.archive_search_form.period_start_pick', document.archive_search_form.period_start_pick.value);" alt="Click to select a date/time" title="Click to select a date/time">
    267266    <img src="cal.gif" width="16" height="16" border="0"></a>
    268267    <a href="#" onClick="javascript: document.archive_search_form.period_start_pick.value=''" alt="Click here to clear field" title="Click here to clear field">
    269268    <IMG SRC="redcross.jpg" BORDER=0></A>
    270     to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{stop}" ALT="Stop time" DISABLED="TRUE">
     269    to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{j_stop}" ALT="Stop time" DISABLED="TRUE">
    271270    <a href="javascript:show_calendar('document.archive_search_form.period_stop_pick', document.archive_search_form.period_stop_pick.value);" alt="Click to select a date/time" title="Click to select a date/time">
    272271    <img src="cal.gif" width="16" height="16" border="0"></a>
    273     <a href="#" onClick="javascript: document.archive_search_form.period_to_pick.value=''" alt="Click here to clear field" title="Click here to clear field">
     272    <a href="#" onClick="javascript: document.archive_search_form.period_stop_pick.value=''" alt="Click here to clear field" title="Click here to clear field">
    274273    <IMG SRC="redcross.jpg" BORDER=0></A>
    275274    <INPUT TYPE="submit" onClick="setPeriodTimestamps();" VALUE="Refresh graphs">
     
    289288</TABLE>
    290289
    291 <p>
    292 (Nodes colored by 1-minute load) | <A HREF="../../node_legend.html" ALT="Node Image egend">Legend</A>
    293 
    294290</CENTER>
    295291
Note: See TracChangeset for help on using the changeset viewer.