@ministryofjustice/hmpps-digital-prison-reporting-frontend 3.17.2 → 3.17.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dpr/all.scss +85 -0
- package/dpr/assets/css/all.css +1 -1
- package/dpr/assets/js/all.mjs +5 -2
- package/dpr/components/async-filters/view.njk +11 -4
- package/dpr/components/async-polling/utils.js +2 -2
- package/dpr/components/async-polling/utils.ts +2 -2
- package/dpr/components/async-polling/view.njk +11 -17
- package/dpr/components/async-report-list/utils.js +1 -1
- package/dpr/components/async-report-list/utils.ts +1 -1
- package/dpr/components/async-report-list/view.njk +0 -3
- package/dpr/components/async-request-details/view.njk +116 -41
- package/dpr/components/column-section/view.njk +9 -9
- package/dpr/components/icon-button-list/view.njk +3 -2
- package/dpr/components/pagination/utils.js +7 -4
- package/dpr/components/pagination/utils.ts +8 -9
- package/dpr/components/report-heading/view.njk +40 -0
- package/dpr/components/report-list/utils.js +1 -1
- package/dpr/components/report-list/utils.ts +1 -1
- package/dpr/utils/renderAsyncReport.js +3 -1
- package/dpr/utils/renderAsyncReport.ts +11 -1
- package/dpr/views/async-report.njk +25 -32
- package/package.json +1 -1
- package/package.zip +0 -0
package/dpr/all.scss
CHANGED
|
@@ -224,8 +224,42 @@ $govuk-assets-path: "/assets/govuk/";
|
|
|
224
224
|
padding: govuk-spacing(4);
|
|
225
225
|
border: solid 1px govuk-colour("mid-grey");
|
|
226
226
|
margin-bottom: govuk-spacing(6);
|
|
227
|
+
|
|
228
|
+
.dpr-request-details__table-heading_name {
|
|
229
|
+
margin-bottom: 0px;
|
|
230
|
+
color: govuk-colour("dark-grey");
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.dpr-request-details__table {
|
|
234
|
+
tbody {
|
|
235
|
+
vertical-align: top;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.dpr-request-details__table-heading {
|
|
239
|
+
width: 14%;
|
|
240
|
+
text-align: right;
|
|
241
|
+
padding-right: 26px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
ul {
|
|
245
|
+
margin-top: 0px;
|
|
246
|
+
margin-bottom: 0px;
|
|
247
|
+
list-style-type: none;
|
|
248
|
+
padding-inline-start: 0px;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.dpr-meta-data-details {
|
|
254
|
+
margin-bottom: 10px;
|
|
255
|
+
|
|
256
|
+
.govuk-details__text {
|
|
257
|
+
padding-left: 0px;
|
|
258
|
+
border-left: none;
|
|
259
|
+
}
|
|
227
260
|
}
|
|
228
261
|
|
|
262
|
+
|
|
229
263
|
.dpr-autocomplete-text-input {
|
|
230
264
|
position: relative;
|
|
231
265
|
|
|
@@ -1017,6 +1051,57 @@ ul.dpr-card-group__item__filters-list {
|
|
|
1017
1051
|
}
|
|
1018
1052
|
}
|
|
1019
1053
|
|
|
1054
|
+
.dpr-report-header {
|
|
1055
|
+
.dpr-report-heading {
|
|
1056
|
+
column-gap: 15px;
|
|
1057
|
+
display: grid;
|
|
1058
|
+
grid-template-columns: 2fr 1fr;
|
|
1059
|
+
position: relative;
|
|
1060
|
+
row-gap: 15px;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
.dpr-report-details-print {
|
|
1064
|
+
display: none;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
@media print {
|
|
1068
|
+
.dpr-bookmark,
|
|
1069
|
+
.dpr-meta-data-details,
|
|
1070
|
+
.dpr-report-heading,
|
|
1071
|
+
.dpr-pagination {
|
|
1072
|
+
display: none;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.dpr-report-details-print {
|
|
1076
|
+
display: block;
|
|
1077
|
+
|
|
1078
|
+
.dpr-request-details {
|
|
1079
|
+
p, ul, li, h1 {
|
|
1080
|
+
font-size: 12px;
|
|
1081
|
+
margin-top: 0px;
|
|
1082
|
+
margin-bottom: 10px;
|
|
1083
|
+
padding-top: 0px;
|
|
1084
|
+
}
|
|
1085
|
+
ul {
|
|
1086
|
+
li {
|
|
1087
|
+
display: inline;
|
|
1088
|
+
padding-right: 10px;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
.dpr-request-details__table {
|
|
1092
|
+
tbody {
|
|
1093
|
+
vertical-align: top;
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
.dpr-request-details__table-heading {
|
|
1097
|
+
width: 15%;
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1020
1105
|
.report-list-container {
|
|
1021
1106
|
position: relative;
|
|
1022
1107
|
|