mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 18:08:25 -04:00
Add usage to the dashboard
Takes the number of emails and SMS fragments sent from: https://github.com/alphagov/notifications-api/pull/273 Using these numbers it’s possible to show: - how much of your allowance is left - or how much you have spent For now the allowance and rates are hard coded. Only for users that have manage service.
This commit is contained in:
@@ -35,6 +35,11 @@
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.align-with-heading-copy {
|
||||
display: block;
|
||||
margin-top: 45px;
|
||||
}
|
||||
|
||||
.global-cookie-message {
|
||||
p {
|
||||
@extend %site-width-container;
|
||||
|
||||
@@ -11,6 +11,12 @@
|
||||
|
||||
}
|
||||
|
||||
.big-number-right-aligned {
|
||||
@extend %big-number;
|
||||
@include bold-36($tabular-numbers: true);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.big-number-with-status {
|
||||
|
||||
@extend %big-number;
|
||||
|
||||
@@ -54,6 +54,7 @@ $path: '/static/images/';
|
||||
@import 'views/job';
|
||||
@import 'views/edit-template';
|
||||
@import 'views/documenation';
|
||||
@import 'views/dashboard';
|
||||
|
||||
// TODO: break this up
|
||||
@import 'app';
|
||||
|
||||
20
app/assets/stylesheets/views/dashboard.scss
Normal file
20
app/assets/stylesheets/views/dashboard.scss
Normal file
@@ -0,0 +1,20 @@
|
||||
.dashboard {
|
||||
table th {
|
||||
@include bold-19;
|
||||
}
|
||||
}
|
||||
|
||||
.keyline-block {
|
||||
|
||||
border-top: 1px solid $border-colour;
|
||||
padding-top: $gutter-half;
|
||||
|
||||
&-show-more-link {
|
||||
@include core-16;
|
||||
border-top: 1px solid $border-colour;
|
||||
border-bottom: 1px solid $border-colour;
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user