Improve the look of the conf dashboard

This commit is contained in:
Michael Ball 2021-03-23 17:37:04 -07:00
parent 1806a04b69
commit df5a767494
3 changed files with 31 additions and 24 deletions

View file

@ -1,13 +1,12 @@
- reverse ||= false
- variant = variant_from_delta(delta, reverse: reverse)
.dashbox.text-center
%span.fa
= fa_icon(icon)
= value
%p.text-nowrap
%small
.dashbox.panel.panel-primary
.paenl-body.text-center
%span.fa
= fa_icon(icon)
= value
%p
= subtitle.pluralize(value)
%span.label{ class: "label-#{variant}" }
= delta
since you last logged in
.label{ class: "label-#{variant}" }
= delta || 0
since last log in