Ignore:
Timestamp:
08/05/05 12:55:27 (18 years ago)
Author:
bastiaans
Message:

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

  • Removed graph timeperiod selection -> to be placed in header

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

  • Added graph timeperiod selection when browsing jobarchive
  • Now a user can change graphing timeperiods for the node detail graphs from the archive!

web/addons/toga/host_view.php:

  • Added correct parsing of timeperiod

web/addons/toga/index.php:

  • Added placement of graph timeperiod selection and variables

web/addons/toga/search.php:

  • Small cleanup
File:
1 edited

Legend:

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

    r157 r189  
    11<CENTER>
    22
    3 <SCRIPT LANGUAGE="javascript" SRC="ts_picker.js"></SCRIPT>
    43<SCRIPT LANGUAGE="javascript">
    54function setSort( sortbyval ) {
     
    5049        }
    5150
    52         function setPeriodTimestamps() {
    53 
    54                 document.archive_search_form.period_start.value = document.archive_search_form.period_start_pick.value;
    55                 document.archive_search_form.period_stop.value = document.archive_search_form.period_stop_pick.value;
    56         }
    57 
    5851</SCRIPT>
    5952
    60 <FORM NAME="archive_search_form" ACTION="./">
    61 
    62 <INPUT TYPE="hidden" NAME="view" VALUE="search">
     53<!-- <FORM NAME="archive_search_form" ACTION="./"> -->
     54
     55<!-- <INPUT TYPE="hidden" NAME="view" VALUE="search"> -->
    6356
    6457<BR><BR>
     
    258251   Columns&nbsp;&nbsp;{cols_menu}
    259252   </FONT><BR>
    260 <FONT SIZE="-1">
    261     <INPUT TYPE="HIDDEN" NAME="period_start" VALUE="{period_start}">
    262     <INPUT TYPE="HIDDEN" NAME="period_stop" VALUE="{period_stop}">
    263     Graph timeperiod from
    264     <INPUT TYPE="text" NAME="period_start_pick" VALUE="{period_start}" ALT="Start time" DISABLED="TRUE">
    265     <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">
    266     <img src="cal.gif" width="16" height="16" border="0"></a>
    267     <a href="#" onClick="javascript: document.archive_search_form.period_start_pick.value=''" alt="Click here to clear field" title="Click here to clear field">
    268     <IMG SRC="redcross.jpg" BORDER=0></A>
    269     to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{period_stop}" ALT="Stop time" DISABLED="TRUE">
    270     <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">
    271     <img src="cal.gif" width="16" height="16" border="0"></a>
    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">
    273     <IMG SRC="redcross.jpg" BORDER=0></A>
    274     <INPUT TYPE="submit" onClick="setPeriodTimestamps();" VALUE="Refresh graphs">
    275    </FONT>
    276253  </TD>
    277254</TR>
Note: See TracChangeset for help on using the changeset viewer.