source: sandbox/filemanager/js/draw_api.js @ 1556

Revision 1556, 785 bytes checked in by amuller, 14 years ago (diff)

Ticket #597 - Melhorias no módulo filemanager, implementação de quota!

Line 
1document.getElementById('divAppboxHeader').innerHTML = title_app;
2
3var quotaSize = document.getElementById('quotaSize').value;
4var usedSpace = document.getElementById('usedSpace').value;
5
6document.getElementById('content_quota').innerHTML = '<table width="102" cellspacing="0" cellpadding="0" border="0" id="table_quota"><tbody><tr><td width="102" nowrap="true" height="15" background="templates/default/images/dsunused.gif"><table cellspacing="0" cellpadding="0" border="0" style="width: '+parseInt((usedSpace/quotaSize)*100)+'%;"><tbody><tr><td height="15" class="dsused"/></tr></tbody></table></td><td nowrap="true" align="center"><span class="boxHeaderText">'+parseInt(usedSpace/quotaSize*100)+'% ('+usedSpace+'M/'+quotaSize+'M)</span></td></tr></tbody></table></td></tr></table>'
Note: See TracBrowser for help on using the repository browser.