Ignore:
Timestamp:
01/26/09 16:03:50 (15 years ago)
Author:
ramonb
Message:

job_monarch/css/styles.css:

  • changed padding for rrds

job_monarch/js/jobgrid.js:

  • parse more rrds args

job_monarch/jobstore.php:

  • also supply jobrange, start and load
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web2/addons/job_monarch/js/jobgrid.js

    r570 r571  
    595595        {name: 'c', type: 'string', mapping: 'c'},
    596596        {name: 'h', type: 'string', mapping: 'h'},
     597        {name: 'x', type: 'string', mapping: 'x'},
    597598        {name: 'v', type: 'string', mapping: 'v'},
    598         {name: 'x', type: 'string', mapping: 'x'}
     599        {name: 'l', type: 'string', mapping: 'l'},
     600        {name: 'jr', type: 'string', mapping: 'jr'},
     601        {name: 'js', type: 'string', mapping: 'js'}
    599602      ]),
    600603      listeners: {
     
    634637        tpl: new Ext.XTemplate(
    635638            '<tpl for=".">',
    636             '<div class="rrd-float"><img src="../../graph.php?z=small&h={h}&x={x}&v={v}&c={c}" border="0"></div>',
     639            '<div class="rrd-float"><img src="../../graph.php?z=small&c={c}&h={h}&l={l}&v={v}&x={x}&r=job&jr={jr}&js={js}" border="0"></div>',
    637640            '</tpl>'
    638641        )
     
    641644    var images = new Ext.Panel({
    642645        id:'images',
    643         title:'My Images',
     646        //title:'My Images',
    644647        region:'center',
    645648        bodyStyle: 'background: transparent',
    646         margins: '5 5 5 0',
     649        //margins: '2 2 2 0',
    647650        layout:'fit',
    648651        items: GraphView
     
    655658                        height      : 300,
    656659                        closeAction :'hide',
     660                        title:  'Node graph details',
    657661                        layout: 'fit',
    658662                        tbar:   new Ext.form.ComboBox({
     
    668672                                        selectOnFocus:true,
    669673                                        xtype: 'combo',
    670                                         width:190
     674                                        width:190,
     675                                        listeners: {
     676                                                select: function(combo, record, index){
     677                                                        var metric = record.data.name;
     678                                                        // doe iets
     679                                                }
     680                                        }
     681                                       
    671682                                }),
    672683                        items:  [ images ]
Note: See TracChangeset for help on using the changeset viewer.