Commit fc3dfb61 authored by Sean McGivern's avatar Sean McGivern

Use icon helper

parent 3d984948
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- if @cpus - if @cpus
%h1= "#{@cpus.length} cores" %h1= "#{@cpus.length} cores"
- else - else
%i.fa.fa-warning.text-warning = icon('warning', class: 'text-warning')
Unable to collect CPU info Unable to collect CPU info
.col-sm-4 .col-sm-4
.light-well .light-well
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
- if @memory - if @memory
%h1= "#{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}" %h1= "#{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}"
- else - else
%i.fa.fa-warning.text-warning = icon('warning', class: 'text-warning')
Unable to collect memory info Unable to collect memory info
.col-sm-4 .col-sm-4
.light-well .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