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

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

  • First checkin of host_view template

web/addons/toga/host_view.php:

  • Modified host view for toga (archive)
  • Will parse same periods as search

web/addons/toga/templates/search.tpl, web/addons/toga/search.php, web/addons/toga/graph.php:

  • Renamed start and stop to period_start and period_stop

web/addons/toga/index.php:

  • Added inclusion of host_view if specified
File:
1 edited

Legend:

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

    r145 r149  
    5252        function setPeriodTimestamps() {
    5353
    54                 document.archive_search_form.start.value = document.archive_search_form.period_start_pick.value;
    55                 document.archive_search_form.stop.value = document.archive_search_form.period_stop_pick.value;
     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;
    5656        }
    5757
     
    258258   Columns  {cols_menu}
    259259   </FONT><BR>
    260    <FONT SIZE="-1">
    261     <INPUT TYPE="HIDDEN" NAME="start" VALUE="{j_start}">
    262     <INPUT TYPE="HIDDEN" NAME="stop" VALUE="{j_stop}">
     260<FONT SIZE="-1">
     261    <INPUT TYPE="HIDDEN" NAME="period_start" VALUE="{period_start}">
     262    <INPUT TYPE="HIDDEN" NAME="period_stop" VALUE="{period_stop}">
    263263    Graph timeperiod from
    264     <INPUT TYPE="text" NAME="period_start_pick" VALUE="{j_start}" ALT="Start time" DISABLED="TRUE">
     264    <INPUT TYPE="text" NAME="period_start_pick" VALUE="{period_start}" ALT="Start time" DISABLED="TRUE">
    265265    <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">
    266266    <img src="cal.gif" width="16" height="16" border="0"></a>
    267267    <a href="#" onClick="javascript: document.archive_search_form.period_start_pick.value=''" alt="Click here to clear field" title="Click here to clear field">
    268268    <IMG SRC="redcross.jpg" BORDER=0></A>
    269     to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{j_stop}" ALT="Stop time" DISABLED="TRUE">
     269    to <INPUT TYPE="text" NAME="period_stop_pick" VALUE="{period_stop}" ALT="Stop time" DISABLED="TRUE">
    270270    <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">
    271271    <img src="cal.gif" width="16" height="16" border="0"></a>
Note: See TracChangeset for help on using the changeset viewer.