lib/splash/webadmin/portal/views/process_history.slim in prometheus-splash-0.8.4 vs lib/splash/webadmin/portal/views/process_history.slim in prometheus-splash-0.8.5

- old
+ new

@@ -13,12 +13,12 @@ th Process th Status th % CPU th % MEM tbody - - @data.each do |key| - tr + - @data.reverse.each do |key| + tr class="#{(key[key.keys.first][:status] == :running)? 'uk-text-success' : 'uk-text-danger'}" td #{key.keys.first} td #{key[key.keys.first][:process]} td #{key[key.keys.first][:status]} - td #{key[key.keys.first][:cpu]} - td #{key[key.keys.first][:mem]} + td #{key[key.keys.first][:cpu_percent]} + td #{key[key.keys.first][:mem_percent]}