Changeset 571 for trunk/web2/addons/job_monarch/js
- Timestamp:
- 01/26/09 16:03:50 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web2/addons/job_monarch/js/jobgrid.js
r570 r571 595 595 {name: 'c', type: 'string', mapping: 'c'}, 596 596 {name: 'h', type: 'string', mapping: 'h'}, 597 {name: 'x', type: 'string', mapping: 'x'}, 597 598 {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'} 599 602 ]), 600 603 listeners: { … … 634 637 tpl: new Ext.XTemplate( 635 638 '<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>', 637 640 '</tpl>' 638 641 ) … … 641 644 var images = new Ext.Panel({ 642 645 id:'images', 643 title:'My Images',646 //title:'My Images', 644 647 region:'center', 645 648 bodyStyle: 'background: transparent', 646 margins: '5 5 50',649 //margins: '2 2 2 0', 647 650 layout:'fit', 648 651 items: GraphView … … 655 658 height : 300, 656 659 closeAction :'hide', 660 title: 'Node graph details', 657 661 layout: 'fit', 658 662 tbar: new Ext.form.ComboBox({ … … 668 672 selectOnFocus:true, 669 673 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 671 682 }), 672 683 items: [ images ]
Note: See TracChangeset
for help on using the changeset viewer.