Commit fc3dfb61 authored by Sean McGivern's avatar Sean McGivern

Use icon helper

parent 3d984948
......@@ -12,7 +12,7 @@
- if @cpus
%h1= "#{@cpus.length} cores"
- else
%i.fa.fa-warning.text-warning
= icon('warning', class: 'text-warning')
Unable to collect CPU info
.col-sm-4
.light-well
......@@ -21,7 +21,7 @@
- if @memory
%h1= "#{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}"
- else
%i.fa.fa-warning.text-warning
= icon('warning', class: 'text-warning')
Unable to collect memory info
.col-sm-4
.light-well
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment