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

F #3256: adjust table columns (#3471)

This commit is contained in:
Alejandro Huertas Herrero 2019-07-03 14:56:43 +02:00 committed by Ruben S. Montero
parent fa88368c46
commit f425169626
2 changed files with 5 additions and 3 deletions

View File

@ -795,7 +795,9 @@ class OneHostHelper < OpenNebulaHelper::OneHelper
d['NODE_ID']
end
column :CORES, 'Cores usage', :size => 50, :left => true do |d|
column :CORES, 'Cores usage',
:left => true,
:adjust => true do |d|
d['CORE']['CORES']
end

View File

@ -1201,7 +1201,7 @@ in the frontend machine.
d['NODE_ID']
end
column :CPUS, 'Cpus used', :size => 6, :left => false do |d|
column :CPUS_IDS, 'Cpus used', :adjust => true, :left => false do |d|
d['CPUS']
end
@ -1213,7 +1213,7 @@ in the frontend machine.
d['TOTAL_CPUS']
end
default :ID, :CPUS, :MEMORY, :TOTAL_CPUS
default :ID, :CPUS_IDS, :MEMORY, :TOTAL_CPUS
end
table.show(numa_nodes)