Ignore:
Timestamp:
08/26/09 12:15:10 (15 years ago)
Author:
ramonb
Message:

job_monarch/templates/header.tpl:

job_monarch/image.php:

  • cache XML data during jobmond's polling interval

job_monarch/jobstore.php:

  • cache XML data during jobmond's polling interval
  • set host link

job_monarch/js/monarch.js:

  • small changes to nodes popup window
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/js/monarch.js

    r645 r646  
    764764JobsColumnModel = new Ext.grid.ColumnModel(
    765765{
    766         //CheckJobs,
    767766        defaults:
    768767        {
     
    773772        columns:
    774773        [
     774                CheckJobs,
    775775                {
    776776                        header:         '#',
     
    926926                        },[
    927927                                {name: 'jid', type: 'string', mapping: 'jid'},
    928                                 {name: 'ga', type: 'string', mapping: 'ga'}
     928                                {name: 'ga', type: 'string', mapping: 'ga'},
     929                                {name: 'nodename', type: 'string', mapping: 'nodename'},
     930                                {name: 'hostlink', type: 'string', mapping: 'hostlink'}
    929931                        ]),
    930932                        listeners:
     
    976978                                        '<tpl for=".">',
    977979                                        //'<div class="rrd-float"><a href="./graph.php?z=large&{ga}" border="0" rel="lightbox[{jid}.{[globalWindowCount]}]"><img src="./graph.php?z=small&{ga}" border="0"></a></div>',
    978                                         '<div class="rrd-float"><img src="./graph.php?z=small&{ga}" border="0" style="cursor:pointer" onclick="nodeWindow(\'node x\', \'{ga}\');"></a></div>',
     980                                        '<div class="rrd-float"><img src="./graph.php?z=small&{ga}" border="0" style="cursor:pointer" onclick="nodeWindow(\'{nodename}\', \'{hostlink}\');"></a></div>',
    979981                                        '</tpl>')
    980982                });
Note: See TracChangeset for help on using the changeset viewer.