1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

Fix column width in groups tab

This commit is contained in:
Carlos Martín 2014-10-22 12:30:12 +02:00
parent 02d6ded521
commit f1cd7c1eeb

View File

@ -448,9 +448,9 @@ var groups_tab = {
<th>'+tr("ID")+'</th>\
<th>'+tr("Name")+'</th>\
<th>'+tr("Users")+'</th>\
<th style="width:18%">'+tr("VMs")+'</th>\
<th style="width:18%">'+tr("Memory")+'</th>\
<th style="width:18%">'+tr("CPU")+'</th>\
<th>'+tr("VMs")+'</th>\
<th>'+tr("Memory")+'</th>\
<th>'+tr("CPU")+'</th>\
</tr>\
</thead>\
<tbody id="tbodygroups">\
@ -1411,10 +1411,12 @@ $(document).ready(function(){
if (Config.isTabEnabled(tab_name)) {
dataTable_groups = $("#datatable_groups",main_tabs_context).dataTable({
"bSortClasses" : false,
"bAutoWidth": false,
"bDeferRender": true,
"aoColumnDefs": [
{ "bSortable": false, "aTargets": ["check",4,5,6] },
{ "sWidth": "35px", "aTargets": [0] },
{ "sWidth": "150px", "aTargets": [4,5,6] },
{ "bVisible": true, "aTargets": Config.tabTableColumns(tab_name)},
{ "bVisible": false, "aTargets": ['_all']}
]