Changeset 5426


Ignore:
Timestamp:
01/25/12 17:20:09 (12 years ago)
Author:
angelo
Message:

Ticket #2456 - Ajustar tamanho da tela de visualizacao de pastas

Location:
trunk/expressoMail1_2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/js/InfoQuota.js

    r4561 r5426  
    4545        emInfoQuota.prototype.showWindow = function (div) 
    4646        {                                                        
     47                 
     48                var newWidth = ((parseInt(document.body.clientWidth,10)*0.7)^0); 
    4749                if(! this.win) { 
    4850                        div.style.height = "350px"; 
    49                         div.style.width = "450px"; 
     51                        div.style.width = newWidth + "px"; 
    5052                        var title = get_lang("View Quota Usage in Folders");                     
    5153                        var wHeight = div.offsetHeight + "px"; 
     
    141143                                last_folder = x; 
    142144                                td01.innerHTML = " "+x; 
     145                                td01.setAttribute('title',x); 
    143146                        } 
    144147                        else { 
     
    147150                                        td01.innerHTML  += "  ";                               
    148151                                td01.innerHTML  += a_folder[a_folder.length-1]; 
     152                                td01.setAttribute('title',a_folder[a_folder.length - 1]); 
    149153                        } 
    150154                         
    151                         td01.style.borderBottom = "1px dashed #DDD"; 
     155                        var user_max_width = ((parseInt(document.body.clientWidth,10)*0.7)^0);  
     156                        var max_len_permited = ((user_max_width*(1/6)*(0.5))^0);//tamanho maximo do nome de pasta 
     157                                                 
    152158                        td01.width="40%"; 
    153                         td01.setAttribute("noWrap","true");                      
     159                        td01.style.maxWidth = max_len_permited + "px"; 
     160                        td01.style.borderBottom = "1px dashed #DDD";             
     161                        td01.setAttribute('class','td-info-quota'); 
     162                         
    154163                        td02 = document.createElement("TD"); 
    155164                        td02.align="center"; 
  • trunk/expressoMail1_2/templates/default/main.css

    r5134 r5426  
    3939} 
    4040 
    41 .em_div_write_msg{ 
    42         height: 24px; 
    43         background: transparent; 
    44 } 
    4541 
    4642/* begin class msgs */ 
     
    7369.table_box tr{  
    7470        border:0;     
     71} 
     72 
     73.td-info-quota{ 
     74        text-overflow: ellipsis; 
     75        overflow:       hidden;  
    7576} 
    7677 
Note: See TracChangeset for help on using the changeset viewer.