Changeset 1256


Ignore:
Timestamp:
12/20/06 11:02:53 (6 years ago)
Author:
ckb6
Message:

This is the web interface for Configuring graphs. This commit of it is at a working state. There is still many more options to add to it at a later stage. Not all graph part types are implemented in the template yet also.

Location:
ccsweb/trunk/ccs_mods/graphs
Files:
8 added
3 edited

Legend:

Unmodified
Added
Removed
  • ccsweb/trunk/ccs_mods/graphs/graphs.php

    r1224 r1256  
    2525/* Setup the bottom menu */ 
    2626ccs_menu_bottom_add(array(mk_menu_item("Graph Viewer", "/mods/graphs/graphs.php"), 
    27     mk_menu_item("SNMP Discovery log", "/mods/graphs/snmp-log.php") 
     27    mk_menu_item("SNMP Discovery log", "/mods/graphs/snmp-log.php"), 
     28    mk_menu_item("Configure Graphs", "/mods/graphs/config-graphs.php") 
    2829    )); 
    2930 
  • ccsweb/trunk/ccs_mods/graphs/index.tpl

    r1224 r1256  
    7272        </select> 
    7373        Graph of {$graph.host_name} - {if $graph.description != ''}{$graph.description}-{$graph.ip_address}{else}{$graph.ip_address}{/if}<br /> 
    74         <img id="img{$i++}" src="http://puck.crc.net.nz:6061/graphs/{$graph.host_name}/{$time_id}/{$graph.graph_id}?number={$graph.num}"><br /> 
     74        <img id="img{$i++}" src="http://puck.crc.net.nz:6061/graphs/{$graph.host_name}/{$time_id}/{$graph.graph_id}?number={$graph.num}&force=1"><br /> 
    7575    </td><td> 
    7676        {if $graph.num2 != ''} 
    7777            Graph of {$graph.host_name2} - {if $graph.description != ''}{$graph.description}-{$graph.ip_address2}{else}{$graph.ip_address2}{/if}<br /> 
    78             <img src="http://puck.crc.net.nz:6061/graphs/{$graph.host_name2}/{$time_id}/{$graph.graph_id}?number={$graph.num2}"><br /> 
     78            <img src="http://puck.crc.net.nz:6061/graphs/{$graph.host_name2}/{$time_id}/{$graph.graph_id}?number={$graph.num2}&force=1"><br /> 
    7979        {/if} 
    8080    </td></tr> 
  • ccsweb/trunk/ccs_mods/graphs/snmp-log.php

    r1226 r1256  
    2525/* Setup the bottom menu */ 
    2626ccs_menu_bottom_add(array(mk_menu_item("Graph Viewer", "/mods/graphs/graphs.php"), 
    27     mk_menu_item("SNMP Discovery log", "/mods/graphs/snmp-log.php") 
     27    mk_menu_item("SNMP Discovery log", "/mods/graphs/snmp-log.php"), 
     28    mk_menu_item("Configure Graphs", "/mods/graphs/config-graphs.php") 
    2829    )); 
    2930 
Note: See TracChangeset for help on using the changeset viewer.