Changeset 636 for trunk/web/addons/job_monarch/js/monarch.js
- Timestamp:
- 08/03/09 18:17:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/addons/job_monarch/js/monarch.js
r635 r636 688 688 filter_str = myparams.c + ' Jobs Overview' + makeFilterString(); 689 689 JobListingWindow.setTitle( filter_str ); 690 } 691 } 692 }, 693 'load': 694 { 695 scope: this, 696 fn: 697 698 function( store, records, options ) 699 { 700 if( records.length == 1 ) 701 { 702 jobid = records[0].get('jid'); 703 704 myPanel = createGraphPanel(); 705 nodeDatastore = createNodesDataStore( myparams.c, jobid ); 706 graphView = createGraphView( nodeDatastore, jobid ); 707 708 //graphView.autoShow = true; 709 710 newtab = myPanel.add( graphView ); 711 myPanel.setActiveTab( newtab ); 712 myPanel.doLayout(); 713 714 //nodeDatastore.removeAll(); 715 716 Ext.getCmp('preview-pane').removeAll(); 717 Ext.getCmp('preview-pane').add( myPanel ); 718 Ext.getCmp('preview-pane').doLayout(); 719 } 720 else 721 { 722 Ext.getCmp('preview-pane').removeAll(); 723 Ext.getCmp('preview-pane').doLayout(); 690 724 } 691 725 } … … 991 1025 selectOnFocus: true, 992 1026 xtype: 'combo', 993 width: 1 90,1027 width: 100, 994 1028 myview: view, 995 1029 listeners: … … 1129 1163 { 1130 1164 id: 'JobListingEditorGrid', 1165 region: 'center', 1131 1166 store: JobsDataStore, 1132 1167 cm: JobsColumnModel, … … 1231 1266 id: 'monarchlogo', 1232 1267 cls: 'monarch', 1233 bodyStyle: 'background: transparent', 1234 //html: '<A HREF="https://subtrac.sara.nl/oss/jobmonarch/" TARGET="_blank"><IMG SRC="./jobmonarch.gif" ALT="Job Monarch" BORDER="0"></A>' 1235 //colspan: 2 1268 bodyStyle: 'background: transparent' 1236 1269 },{ 1237 1270 id: 'summarycount' … … 1265 1298 y: 375, 1266 1299 width: 860, 1267 height: 445,1300 height: 645, 1268 1301 plain: true, 1269 1302 shadow: true, 1270 1303 shadowOffset: 10, 1271 layout: 'fit', 1272 items: JobListingEditorGrid 1304 layout: 'border', 1305 items: 1306 [ JobListingEditorGrid, 1307 { 1308 region: 'south', 1309 layout: 'fit', 1310 id: 'preview-pane', 1311 height: 200, 1312 collapsible: true, 1313 border: true, 1314 title: 'Preview', 1315 split: true, 1316 bodyStyle: 'overflow:auto; background: transparent; heigth: auto' 1317 } 1318 ] 1273 1319 });
Note: See TracChangeset
for help on using the changeset viewer.