Changeset 1313


Ignore:
Timestamp:
08/12/09 14:50:13 (15 years ago)
Author:
rodsouza
Message:

Ticket #589 - Posicinando foto no catao na interface do usuario

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/js/userinterface/orgchart.js

    r1310 r1313  
    469469 
    470470                var card = document.createElement( 'div' ); 
    471                 card.style.fontSize = '14px'; 
     471                card.style.fontSize = '12px'; 
    472472                card.style.padding = '5px'; 
     473                card.style.marginRight = '70px'; 
    473474 
    474475                var photo = document.createElement( 'img' ); 
     
    478479 
    479480                card.appendChild( photo ); 
    480  
    481                 card.appendChild( document.createElement( 'br' ) ); 
    482                 card.appendChild( document.createElement( 'br' ) ); 
    483481 
    484482                if ( card_data[ 'Nome' ] ) 
     
    503501                card.appendChild( document.createElement( 'br' ) ); 
    504502                card.appendChild( document.createElement( 'br' ) ); 
    505                 card.appendChild( document.createElement( 'br' ) ); 
    506503 
    507504                if ( card_data[ 'Empresa' ] ) 
     
    560557                        phone.style.paddingRight = '10px'; 
    561558                        phone.style.whiteSpace = 'nowrap'; 
    562                         phone.style.background = 'url(templateFile.php?file=images/phone.png) no-repeat 0 2px' 
     559                        phone.style.background = 'url(templateFile.php?file=images/phone.png) no-repeat 0 0'; 
    563560                        card.appendChild( phone ); 
    564561                } 
     
    572569                        mail.appendChild( document.createTextNode( card_data[ 'e-mail' ] ) ); 
    573570                        mail.style.paddingLeft = '20px'; 
    574                         mail.style.paddingRight = '10px'; 
    575571                        mail.style.whiteSpace = 'nowrap'; 
    576                         mail.style.background = 'url(templateFile.php?file=images/mail.png) no-repeat 0 0' 
     572                        mail.style.background = 'url(templateFile.php?file=images/mail.png) no-repeat 0 0'; 
    577573                        card.appendChild( mail ); 
    578574                } 
     
    585581                        sitio.appendChild( document.createTextNode( card_data[ 'sitio' ] ) ); 
    586582                        sitio.style.paddingLeft = '20px'; 
    587                         sitio.style.background = 'url(templateFile.php?file=images/sitio.png) no-repeat 0 0' 
     583                        sitio.style.background = 'url(templateFile.php?file=images/sitio.png) no-repeat 0 2px'; 
    588584                        card.appendChild( sitio ); 
    589585                } 
Note: See TracChangeset for help on using the changeset viewer.