mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Put uploaded files on the dashboard
This commit depends on and uses the data returned by: - [x] https://github.com/alphagov/notifications-api/pull/345 - [x] https://github.com/alphagov/notifications-api/pull/347 - [x] https://github.com/alphagov/notifications-admin/pull/612 It puts the last 5 jobs on the dashboard. This should be changed to all the jobs from the last 7 days when that parameter is available. It also: - links to the jobs page - makes the numbers on the jobs page consistent with the dashboard - makes the numbers on an individual job consistent with the appearance of the dashboard
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
.dashboard {
|
||||
table th {
|
||||
font-size: 0;
|
||||
|
||||
table {
|
||||
th {
|
||||
@include core-16;
|
||||
padding-top: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
td {
|
||||
@include core-19;
|
||||
border: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,12 +25,9 @@
|
||||
box-sizing: border-box;
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: right;
|
||||
margin-bottom: $gutter-half;
|
||||
height: $gutter-half;
|
||||
color: $govuk-blue;
|
||||
text-align: left;
|
||||
color: $govuk-blue;
|
||||
|
||||
span {
|
||||
box-sizing: border-box;
|
||||
@@ -47,3 +54,17 @@
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.file-list {
|
||||
|
||||
&-filename {
|
||||
@include bold-19;
|
||||
}
|
||||
|
||||
&-hint {
|
||||
@include core-16;
|
||||
display: block;
|
||||
color: $secondary-text-colour;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user