summaryrefslogtreecommitdiff
path: root/app/views/admin/system_info/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/system_info/show.html.haml')
-rw-r--r--app/views/admin/system_info/show.html.haml28
1 files changed, 20 insertions, 8 deletions
diff --git a/app/views/admin/system_info/show.html.haml b/app/views/admin/system_info/show.html.haml
index ca6efe9b095..7a34972dfbf 100644
--- a/app/views/admin/system_info/show.html.haml
+++ b/app/views/admin/system_info/show.html.haml
@@ -3,29 +3,41 @@
.gl-mt-3
.row
.col-sm
- .bg-light.light-well
- %h4= _('CPU')
+ .bg-light.info-well.p-3
+ %h4.page-title.d-flex
+ .gl-display-flex.gl-align-items-center.gl-justify-content-center
+ = sprite_icon('pod', size: 18, css_class: 'pod-icon gl-mr-3')
+ = _('CPU')
.data
- if @cpus
%h2= _('%{cores} cores') % { cores: @cpus.length }
- else
= sprite_icon('warning-solid', css_class: 'text-warning')
= _('Unable to collect CPU info')
- .bg-light.light-well.gl-mt-3
- %h4= _('Memory Usage')
+ .bg-light.info-well.p-3.gl-mt-3
+ %h4.page-title.d-flex
+ .gl-display-flex.gl-align-items-center.gl-justify-content-center
+ = sprite_icon('status-health', size: 18, css_class: 'pod-icon gl-mr-3')
+ = _('Memory Usage')
.data
- if @memory
%h2 #{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}
- else
= sprite_icon('warning-solid', css_class: 'text-warning')
= _('Unable to collect memory info')
- .bg-light.light-well.gl-mt-3
- %h4= _('Uptime')
+ .bg-light.info-well.p-3.gl-mt-3
+ %h4.page-title.d-flex
+ .gl-display-flex.gl-align-items-center.gl-justify-content-center
+ = sprite_icon('clock', size: 18, css_class: 'pod-icon gl-mr-3')
+ = _('Uptime')
.data
%h2= distance_of_time_in_words_to_now(Rails.application.config.booted_at)
.col-sm
- .bg-light.light-well
- %h4= _('Disk Usage')
+ .bg-light.info-well.p-3
+ %h4.page-title.d-flex
+ .gl-display-flex.gl-align-items-center.gl-justify-content-center
+ = sprite_icon('disk', size: 18, css_class: 'pod-icon gl-mr-3')
+ = _('Disk Usage')
.data
%ul
- @disks.each do |disk|