2016-06-22 10:43:28 -04:00
|
|
|
- @no_container = true
|
|
|
|
- page_title "System Info"
|
|
|
|
= render 'admin/background_jobs/head'
|
|
|
|
|
2016-06-30 09:01:26 -04:00
|
|
|
%div{ class: container_class }
|
2016-06-23 08:19:54 -04:00
|
|
|
.prepend-top-default
|
2016-06-22 10:43:28 -04:00
|
|
|
.row
|
|
|
|
.col-sm-4
|
|
|
|
.light-well
|
2016-06-23 10:56:41 -04:00
|
|
|
%h4 CPU
|
2016-06-22 10:43:28 -04:00
|
|
|
.data
|
2016-06-23 10:56:41 -04:00
|
|
|
%h1= "#{@cpus} cores"
|
2016-06-22 10:43:28 -04:00
|
|
|
.col-sm-4
|
|
|
|
.light-well
|
|
|
|
%h4 Memory
|
|
|
|
.data
|
2016-06-23 10:37:20 -04:00
|
|
|
%h1= "#{number_to_human_size(@mem_used)} / #{number_to_human_size(@mem_total)}"
|
2016-06-22 10:43:28 -04:00
|
|
|
.col-sm-4
|
|
|
|
.light-well
|
2016-06-28 22:30:01 -04:00
|
|
|
%h4 Disks
|
2016-06-22 10:43:28 -04:00
|
|
|
.data
|
2016-06-28 22:30:01 -04:00
|
|
|
- @disks.each do |disk|
|
|
|
|
%h1= "#{number_to_human_size(disk[:bytes_used])} / #{number_to_human_size(disk[:bytes_total])}"
|
|
|
|
%p= "#{disk[:disk_name]}"
|
|
|
|
%p= "#{disk[:mount_path]}"
|