Changeset 570 for trunk


Ignore:
Timestamp:
01/26/09 13:18:49 (14 years ago)
Author:
ramonb
Message:

job_monarch/css/styles.css:

  • add a floating style for rrds

job_monarch/js/jobgrid.js:

  • make rrds float
  • make image panel fit in graph window
  • make graph window background transparant
Location:
trunk/web2/addons/job_monarch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/web2/addons/job_monarch/css/styles.css

    r568 r570  
    3535   cursor: pointer;
    3636}
     37
     38.rrd-float
     39{
     40   float: left;
     41   margin: 4px;
     42   margin-right: 0;
     43   padding: 5px;
     44}
  • trunk/web2/addons/job_monarch/js/jobgrid.js

    r569 r570  
    634634        tpl: new Ext.XTemplate(
    635635            '<tpl for=".">',
    636             '<div class="thumb"><img src="../../graph.php?z=small&h={h}&x={x}&v={v}&c={c}" border="0"></div>',
     636            '<div class="rrd-float"><img src="../../graph.php?z=small&h={h}&x={x}&v={v}&c={c}" border="0"></div>',
    637637            '</tpl>'
    638638        )
     
    643643        title:'My Images',
    644644        region:'center',
     645        bodyStyle: 'background: transparent',
    645646        margins: '5 5 5 0',
    646647        layout:'fit',
     
    654655                        height      : 300,
    655656                        closeAction :'hide',
     657                        layout: 'fit',
    656658                        tbar:   new Ext.form.ComboBox({
    657659                                        fieldLabel: 'Metric',
Note: See TracChangeset for help on using the changeset viewer.