diff --git a/musician/static/musician/css/default.css b/musician/static/musician/css/default.css index 23bd5b1..1d07ea0 100644 --- a/musician/static/musician/css/default.css +++ b/musician/static/musician/css/default.css @@ -172,3 +172,51 @@ h1.service-name { .service-card .card-body .service-brand i.fab { color: #9C9AA7; } + +.card.resource-usage { + border-left: 5px solid #4C426A; +} + +.card.resource-usage .progress { + height: 0.5rem; + margin-top: 0.75rem; +} + +.card.resource-usage h5.card-title { + position: relative; +} + +.card.resource-usage h5.card-title:after { + font-family: "Font Awesome 5 Free"; + font-style: normal; + font-variant: normal; + text-rendering: auto; + -webkit-font-smoothing: antialiased; + + position: absolute; + top: 0; + right: 10px; + + color: #E8E7EB; + font-size: 2em; +} + +.card.resource-usage.resource-disk h5.card-title:after { + content: "\f0a0"; + font-weight: 900; +} + +.card.resource-usage.resource-traffic h5.card-title:after { + content: "\f362"; + font-weight: 900; +} + +.card.resource-usage.resource-mailbox h5.card-title:after { + content: "\f0e0"; + font-weight: 900; +} + +.card.resource-usage.resource-notifications h5.card-title:after { + content: "\f0f3"; + font-weight: 900; +} diff --git a/musician/templates/musician/dashboard.html b/musician/templates/musician/dashboard.html index b738440..aefea23 100644 --- a/musician/templates/musician/dashboard.html +++ b/musician/templates/musician/dashboard.html @@ -3,20 +3,33 @@ {% block content %} -
{% blocktrans with last_login=profile.last_login|default:"N/A" %}Last time you logged in was: {{ last_login }}{% endblocktrans %}
-{{ message }}
+ {% empty %} +{% trans "There is no notifications at this time." %}
+ {% endfor %} +Little description of what to be expected...
+Little description of what to be expected...
{% for domain in domains %}