From c40994344d1ae381906ea3d24486d052104057a8 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Tue, 30 Oct 2018 12:32:35 +0000 Subject: [PATCH] fireinfo: Show virtualization stats on index page Signed-off-by: Michael Tremer --- src/scss/_variables.scss | 5 +++ src/scss/style.scss | 4 --- src/templates/fireinfo/index.html | 41 ++++++++++++++++++++++++- src/templates/modules/progress-bar.html | 15 ++++++--- src/web/fireinfo.py | 7 ++++- 5 files changed, 62 insertions(+), 10 deletions(-) diff --git a/src/scss/_variables.scss b/src/scss/_variables.scss index 8a1eabfc..fadbb150 100644 --- a/src/scss/_variables.scss +++ b/src/scss/_variables.scss @@ -54,6 +54,8 @@ $font-size-base: 1.125rem; $lead-font-size: 1.5rem; $small-font-size: 87.5%; +$line-height-base: 1.5; + // Headings $headings-font-weight: 500; $headings-line-height: 1.15; @@ -85,3 +87,6 @@ $input-btn-padding-y: .5rem; // Buttons $btn-border-width: 3px; + +// Progress +$progress-height: 1rem * $line-height-base; diff --git a/src/scss/style.scss b/src/scss/style.scss index 59380259..6dd93340 100644 --- a/src/scss/style.scss +++ b/src/scss/style.scss @@ -237,10 +237,6 @@ hr.divider { margin-bottom: 3rem; } -.progress { - background-color: rgba(255, 255, 255, .2); -} - .circle { position: relative; p.fireinfo_per { diff --git a/src/templates/fireinfo/index.html b/src/templates/fireinfo/index.html index 86376d9a..45247aa6 100644 --- a/src/templates/fireinfo/index.html +++ b/src/templates/fireinfo/index.html @@ -19,7 +19,7 @@