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
+
}
|
| 6 |
+
|
| 7 |
+
tr.dt-hasChild td.dt-control {
|
| 8 |
+
background: url("https://www.datatables.net/examples/resources/details_close.png") no-repeat center center;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
table.dataTable th.dt-left,
|
| 12 |
+
table.dataTable td.dt-left {
|
| 13 |
+
text-align: left;
|
| 14 |
+
}
|
| 15 |
+
table.dataTable th.dt-center,
|
| 16 |
+
table.dataTable td.dt-center,
|
| 17 |
+
table.dataTable td.dataTables_empty {
|
| 18 |
+
text-align: center;
|
| 19 |
+
}
|
| 20 |
+
table.dataTable th.dt-right,
|
| 21 |
+
table.dataTable td.dt-right {
|
| 22 |
+
text-align: right;
|
| 23 |
+
}
|
| 24 |
+
table.dataTable th.dt-justify,
|
| 25 |
+
table.dataTable td.dt-justify {
|
| 26 |
+
text-align: justify;
|
| 27 |
+
}
|
| 28 |
+
table.dataTable th.dt-nowrap,
|
| 29 |
+
table.dataTable td.dt-nowrap {
|
| 30 |
+
white-space: nowrap;
|
| 31 |
+
}
|
| 32 |
+
table.dataTable thead th.dt-head-left,
|
| 33 |
+
table.dataTable thead td.dt-head-left,
|
| 34 |
+
table.dataTable tfoot th.dt-head-left,
|
| 35 |
+
table.dataTable tfoot td.dt-head-left {
|
| 36 |
+
text-align: left;
|
| 37 |
+
}
|
| 38 |
+
table.dataTable thead th.dt-head-center,
|
| 39 |
+
table.dataTable thead td.dt-head-center,
|
| 40 |
+
table.dataTable tfoot th.dt-head-center,
|
| 41 |
+
table.dataTable tfoot td.dt-head-center {
|
| 42 |
+
text-align: center;
|
| 43 |
+
}
|
| 44 |
+
table.dataTable thead th.dt-head-right,
|
| 45 |
+
table.dataTable thead td.dt-head-right,
|
| 46 |
+
table.dataTable tfoot th.dt-head-right,
|
| 47 |
+
table.dataTable tfoot td.dt-head-right {
|
| 48 |
+
text-align: right;
|
| 49 |
+
}
|
| 50 |
+
table.dataTable thead th.dt-head-justify,
|
| 51 |
+
table.dataTable thead td.dt-head-justify,
|
| 52 |
+
table.dataTable tfoot th.dt-head-justify,
|
| 53 |
+
table.dataTable tfoot td.dt-head-justify {
|
| 54 |
+
text-align: justify;
|
| 55 |
+
}
|
| 56 |
+
table.dataTable thead th.dt-head-nowrap,
|
| 57 |
+
table.dataTable thead td.dt-head-nowrap,
|
| 58 |
+
table.dataTable tfoot th.dt-head-nowrap,
|
| 59 |
+
table.dataTable tfoot td.dt-head-nowrap {
|
| 60 |
+
white-space: nowrap;
|
| 61 |
+
}
|
| 62 |
+
table.dataTable tbody th.dt-body-left,
|
| 63 |
+
table.dataTable tbody td.dt-body-left {
|
| 64 |
+
text-align: left;
|
| 65 |
+
}
|
| 66 |
+
table.dataTable tbody th.dt-body-center,
|
| 67 |
+
table.dataTable tbody td.dt-body-center {
|
| 68 |
+
text-align: center;
|
| 69 |
+
}
|
| 70 |
+
table.dataTable tbody th.dt-body-right,
|
| 71 |
+
table.dataTable tbody td.dt-body-right {
|
| 72 |
+
text-align: right;
|
| 73 |
+
}
|
| 74 |
+
table.dataTable tbody th.dt-body-justify,
|
| 75 |
+
table.dataTable tbody td.dt-body-justify {
|
| 76 |
+
text-align: justify;
|
| 77 |
+
}
|
| 78 |
+
table.dataTable tbody th.dt-body-nowrap,
|
| 79 |
+
table.dataTable tbody td.dt-body-nowrap {
|
| 80 |
+
white-space: nowrap;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/*! Bootstrap 5 integration for DataTables
|
| 84 |
+
*
|
| 85 |
+
* ©2020 SpryMedia Ltd, all rights reserved.
|
| 86 |
+
* License: MIT datatables.net/license/mit
|
| 87 |
+
*/
|
| 88 |
+
table.dataTable {
|
| 89 |
+
clear: both;
|
| 90 |
+
margin-top: 6px !important;
|
| 91 |
+
margin-bottom: 6px !important;
|
| 92 |
+
max-width: none !important;
|
| 93 |
+
border-collapse: separate !important;
|
| 94 |
+
border-spacing: 0;
|
| 95 |
+
}
|
| 96 |
+
table.dataTable td,
|
| 97 |
+
table.dataTable th {
|
| 98 |
+
-webkit-box-sizing: content-box;
|
| 99 |
+
box-sizing: content-box;
|
| 100 |
+
}
|
| 101 |
+
table.dataTable td.dataTables_empty,
|
| 102 |
+
table.dataTable th.dataTables_empty {
|
| 103 |
+
text-align: center;
|
| 104 |
+
}
|
| 105 |
+
table.dataTable.nowrap th,
|
| 106 |
+
table.dataTable.nowrap td {
|
| 107 |
+
white-space: nowrap;
|
| 108 |
+
}
|
| 109 |
+
|
| 110 |
+
div.dataTables_wrapper div.dataTables_length label {
|
| 111 |
+
font-weight: normal;
|
| 112 |
+
text-align: left;
|
| 113 |
+
white-space: nowrap;
|
| 114 |
+
}
|
| 115 |
+
div.dataTables_wrapper div.dataTables_length select {
|
| 116 |
+
width: auto;
|
| 117 |
+
display: inline-block;
|
| 118 |
+
}
|
| 119 |
+
div.dataTables_wrapper div.dataTables_filter {
|
| 120 |
+
text-align: right;
|
| 121 |
+
}
|
| 122 |
+
div.dataTables_wrapper div.dataTables_filter label {
|
| 123 |
+
font-weight: normal;
|
| 124 |
+
white-space: nowrap;
|
| 125 |
+
text-align: left;
|
| 126 |
+
}
|
| 127 |
+
div.dataTables_wrapper div.dataTables_filter input {
|
| 128 |
+
margin-left: 0.5em;
|
| 129 |
+
display: inline-block;
|
| 130 |
+
width: auto;
|
| 131 |
+
}
|
| 132 |
+
div.dataTables_wrapper div.dataTables_info {
|
| 133 |
+
padding-top: 0.85em;
|
| 134 |
+
}
|
| 135 |
+
div.dataTables_wrapper div.dataTables_paginate {
|
| 136 |
+
margin: 0;
|
| 137 |
+
white-space: nowrap;
|
| 138 |
+
text-align: right;
|
| 139 |
+
}
|
| 140 |
+
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
|
| 141 |
+
margin: 2px 0;
|
| 142 |
+
white-space: nowrap;
|
| 143 |
+
justify-content: flex-end;
|
| 144 |
+
}
|
| 145 |
+
div.dataTables_wrapper div.dataTables_processing {
|
| 146 |
+
position: absolute;
|
| 147 |
+
top: 50%;
|
| 148 |
+
left: 50%;
|
| 149 |
+
width: 200px;
|
| 150 |
+
margin-left: -100px;
|
| 151 |
+
margin-top: -26px;
|
| 152 |
+
text-align: center;
|
| 153 |
+
padding: 1em 0;
|
| 154 |
+
}
|
| 155 |
+
|
| 156 |
+
table.dataTable > thead > tr > th:active,
|
| 157 |
+
table.dataTable > thead > tr > td:active {
|
| 158 |
+
outline: none;
|
| 159 |
+
}
|
| 160 |
+
table.dataTable > thead > tr > th:not(.sorting_disabled),
|
| 161 |
+
table.dataTable > thead > tr > td:not(.sorting_disabled) {
|
| 162 |
+
padding-right: 30px;
|
| 163 |
+
}
|
| 164 |
+
table.dataTable > thead .sorting,
|
| 165 |
+
table.dataTable > thead .sorting_asc,
|
| 166 |
+
table.dataTable > thead .sorting_desc,
|
| 167 |
+
table.dataTable > thead .sorting_asc_disabled,
|
| 168 |
+
table.dataTable > thead .sorting_desc_disabled {
|
| 169 |
+
cursor: pointer;
|
| 170 |
+
position: relative;
|
| 171 |
+
}
|
| 172 |
+
table.dataTable > thead .sorting:before, table.dataTable > thead .sorting:after,
|
| 173 |
+
table.dataTable > thead .sorting_asc:before,
|
| 174 |
+
table.dataTable > thead .sorting_asc:after,
|
| 175 |
+
table.dataTable > thead .sorting_desc:before,
|
| 176 |
+
table.dataTable > thead .sorting_desc:after,
|
| 177 |
+
table.dataTable > thead .sorting_asc_disabled:before,
|
| 178 |
+
table.dataTable > thead .sorting_asc_disabled:after,
|
| 179 |
+
table.dataTable > thead .sorting_desc_disabled:before,
|
| 180 |
+
table.dataTable > thead .sorting_desc_disabled:after {
|
| 181 |
+
position: absolute;
|
| 182 |
+
bottom: 0.5em;
|
| 183 |
+
display: block;
|
| 184 |
+
opacity: 0.3;
|
| 185 |
+
}
|
| 186 |
+
table.dataTable > thead .sorting:before,
|
| 187 |
+
table.dataTable > thead .sorting_asc:before,
|
| 188 |
+
table.dataTable > thead .sorting_desc:before,
|
| 189 |
+
table.dataTable > thead .sorting_asc_disabled:before,
|
| 190 |
+
table.dataTable > thead .sorting_desc_disabled:before {
|
| 191 |
+
right: 1em;
|
| 192 |
+
content: "↑";
|
| 193 |
+
}
|
| 194 |
+
table.dataTable > thead .sorting:after,
|
| 195 |
+
table.dataTable > thead .sorting_asc:after,
|
| 196 |
+
table.dataTable > thead .sorting_desc:after,
|
| 197 |
+
table.dataTable > thead .sorting_asc_disabled:after,
|
| 198 |
+
table.dataTable > thead .sorting_desc_disabled:after {
|
| 199 |
+
right: 0.5em;
|
| 200 |
+
content: "↓";
|
| 201 |
+
}
|
| 202 |
+
table.dataTable > thead .sorting_asc:before,
|
| 203 |
+
table.dataTable > thead .sorting_desc:after {
|
| 204 |
+
opacity: 1;
|
| 205 |
+
}
|
| 206 |
+
table.dataTable > thead .sorting_asc_disabled:before,
|
| 207 |
+
table.dataTable > thead .sorting_desc_disabled:after {
|
| 208 |
+
opacity: 0;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
div.dataTables_scrollHead table.dataTable {
|
| 212 |
+
margin-bottom: 0 !important;
|
| 213 |
+
}
|
| 214 |
+
|
| 215 |
+
div.dataTables_scrollBody > table {
|
| 216 |
+
border-top: none;
|
| 217 |
+
margin-top: 0 !important;
|
| 218 |
+
margin-bottom: 0 !important;
|
| 219 |
+
}
|
| 220 |
+
div.dataTables_scrollBody > table > thead .sorting:before,
|
| 221 |
+
div.dataTables_scrollBody > table > thead .sorting_asc:before,
|
| 222 |
+
div.dataTables_scrollBody > table > thead .sorting_desc:before,
|
| 223 |
+
div.dataTables_scrollBody > table > thead .sorting:after,
|
| 224 |
+
div.dataTables_scrollBody > table > thead .sorting_asc:after,
|
| 225 |
+
div.dataTables_scrollBody > table > thead .sorting_desc:after {
|
| 226 |
+
display: none;
|
| 227 |
+
}
|
| 228 |
+
div.dataTables_scrollBody > table > tbody tr:first-child th,
|
| 229 |
+
div.dataTables_scrollBody > table > tbody tr:first-child td {
|
| 230 |
+
border-top: none;
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
div.dataTables_scrollFoot > .dataTables_scrollFootInner {
|
| 234 |
+
box-sizing: content-box;
|
| 235 |
+
}
|
| 236 |
+
div.dataTables_scrollFoot > .dataTables_scrollFootInner > table {
|
| 237 |
+
margin-top: 0 !important;
|
| 238 |
+
border-top: none;
|
| 239 |
+
}
|
| 240 |
+
|
| 241 |
+
@media screen and (max-width: 767px) {
|
| 242 |
+
div.dataTables_wrapper div.dataTables_length,
|
| 243 |
+
div.dataTables_wrapper div.dataTables_filter,
|
| 244 |
+
div.dataTables_wrapper div.dataTables_info,
|
| 245 |
+
div.dataTables_wrapper div.dataTables_paginate {
|
| 246 |
+
text-align: center;
|
| 247 |
+
}
|
| 248 |
+
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
|
| 249 |
+
justify-content: center !important;
|
| 250 |
+
}
|
| 251 |
+
}
|
| 252 |
+
table.dataTable.table-sm > thead > tr > th:not(.sorting_disabled) {
|
| 253 |
+
padding-right: 20px;
|
| 254 |
+
}
|
| 255 |
+
table.dataTable.table-sm .sorting:before,
|
| 256 |
+
table.dataTable.table-sm .sorting_asc:before,
|
| 257 |
+
table.dataTable.table-sm .sorting_desc:before {
|
| 258 |
+
top: 5px;
|
| 259 |
+
right: 0.85em;
|
| 260 |
+
}
|
| 261 |
+
table.dataTable.table-sm .sorting:after,
|
| 262 |
+
table.dataTable.table-sm .sorting_asc:after,
|
| 263 |
+
table.dataTable.table-sm .sorting_desc:after {
|
| 264 |
+
top: 5px;
|
| 265 |
+
}
|
| 266 |
+
|
| 267 |
+
table.table-bordered.dataTable {
|
| 268 |
+
border-right-width: 0;
|
| 269 |
+
}
|
| 270 |
+
table.table-bordered.dataTable thead tr:first-child th,
|
| 271 |
+
table.table-bordered.dataTable thead tr:first-child td {
|
| 272 |
+
border-top-width: 1px;
|
| 273 |
+
}
|
| 274 |
+
table.table-bordered.dataTable th,
|
| 275 |
+
table.table-bordered.dataTable td {
|
| 276 |
+
border-left-width: 0;
|
| 277 |
+
}
|
| 278 |
+
table.table-bordered.dataTable th:first-child, table.table-bordered.dataTable th:first-child,
|
| 279 |
+
table.table-bordered.dataTable td:first-child,
|
| 280 |
+
table.table-bordered.dataTable td:first-child {
|
| 281 |
+
border-left-width: 1px;
|
| 282 |
+
}
|
| 283 |
+
table.table-bordered.dataTable th:last-child, table.table-bordered.dataTable th:last-child,
|
| 284 |
+
table.table-bordered.dataTable td:last-child,
|
| 285 |
+
table.table-bordered.dataTable td:last-child {
|
| 286 |
+
border-right-width: 1px;
|
| 287 |
+
}
|
| 288 |
+
table.table-bordered.dataTable th,
|
| 289 |
+
table.table-bordered.dataTable td {
|
| 290 |
+
border-bottom-width: 1px;
|
| 291 |
+
}
|
| 292 |
+
|
| 293 |
+
div.dataTables_scrollHead table.table-bordered {
|
| 294 |
+
border-bottom-width: 0;
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
div.table-responsive > div.dataTables_wrapper > div.row {
|
| 298 |
+
margin: 0;
|
| 299 |
+
}
|
| 300 |
+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:first-child {
|
| 301 |
+
padding-left: 0;
|
| 302 |
+
}
|
| 303 |
+
div.table-responsive > div.dataTables_wrapper > div.row > div[class^=col-]:last-child {
|
| 304 |
+
padding-right: 0;
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
table.dataTable.table-striped > tbody > tr:nth-of-type(2n+1) {
|
| 308 |
+
--bs-table-accent-bg: transparent;
|
| 309 |
+
}
|
| 310 |
+
table.dataTable.table-striped > tbody > tr.odd {
|
| 311 |
+
--bs-table-accent-bg: var(--bs-table-striped-bg);
|
| 312 |
+
}
|
datatables-bs5/css/dataTables.bootstrap5.min.css
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
td.dt-control{background:url("https://www.datatables.net/examples/resources/details_open.png") no-repeat center center;cursor:pointer}tr.dt-hasChild td.dt-control{background:url("https://www.datatables.net/examples/resources/details_close.png") no-repeat center center}table.dataTable th.dt-left,table.dataTable td.dt-left{text-align:left}table.dataTable th.dt-center,table.dataTable td.dt-center,table.dataTable td.dataTables_empty{text-align:center}table.dataTable th.dt-right,table.dataTable td.dt-right{text-align:right}table.dataTable th.dt-justify,table.dataTable td.dt-justify{text-align:justify}table.dataTable th.dt-nowrap,table.dataTable td.dt-nowrap{white-space:nowrap}table.dataTable thead th.dt-head-left,table.dataTable thead td.dt-head-left,table.dataTable tfoot th.dt-head-left,table.dataTable tfoot td.dt-head-left{text-align:left}table.dataTable thead th.dt-head-center,table.dataTable thead td.dt-head-center,table.dataTable tfoot th.dt-head-center,table.dataTable tfoot td.dt-head-center{text-align:center}table.dataTable thead th.dt-head-right,table.dataTable thead td.dt-head-right,table.dataTable tfoot th.dt-head-right,table.dataTable tfoot td.dt-head-right{text-align:right}table.dataTable thead th.dt-head-justify,table.dataTable thead td.dt-head-justify,table.dataTable tfoot th.dt-head-justify,table.dataTable tfoot td.dt-head-justify{text-align:justify}table.dataTable thead th.dt-head-nowrap,table.dataTable thead td.dt-head-nowrap,table.dataTable tfoot th.dt-head-nowrap,table.dataTable tfoot td.dt-head-nowrap{white-space:nowrap}table.dataTable tbody th.dt-body-left,table.dataTable tbody td.dt-body-left{text-align:left}table.dataTable tbody th.dt-body-center,table.dataTable tbody td.dt-body-center{text-align:center}table.dataTable tbody th.dt-body-right,table.dataTable tbody td.dt-body-right{text-align:right}table.dataTable tbody th.dt-body-justify,table.dataTable tbody td.dt-body-justify{text-align:justify}table.dataTable tbody th.dt-body-nowrap,table.dataTable tbody td.dt-body-nowrap{white-space:nowrap}/*! Bootstrap 5 integration for DataTables
|
| 2 |
+
*
|
| 3 |
+
* ©2020 SpryMedia Ltd, all rights reserved.
|
| 4 |
+
* License: MIT datatables.net/license/mit
|
| 5 |
+
*/table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px !important;max-width:none !important;border-collapse:separate !important;border-spacing:0}table.dataTable td,table.dataTable th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable td.dataTables_empty,table.dataTable th.dataTables_empty{text-align:center}table.dataTable.nowrap th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper div.dataTables_length label{font-weight:normal;text-align:left;white-space:nowrap}div.dataTables_wrapper div.dataTables_length select{width:auto;display:inline-block}div.dataTables_wrapper div.dataTables_filter{text-align:right}div.dataTables_wrapper div.dataTables_filter label{font-weight:normal;white-space:nowrap;text-align:left}div.dataTables_wrapper div.dataTables_filter input{margin-left:.5em;display:inline-block;width:auto}div.dataTables_wrapper div.dataTables_info{padding-top:.85em}div.dataTables_wrapper div.dataTables_paginate{margin:0;white-space:nowrap;text-align:right}div.dataTables_wrapper div.dataTables_paginate ul.pagination{margin:2px 0;white-space:nowrap;justify-content:flex-end}div.dataTables_wrapper div.dataTables_processing{position:absolute;top:50%;left:50%;width:200px;margin-left:-100px;margin-top:-26px;text-align:center;padding:1em 0}table.dataTable>thead>tr>th:active,table.dataTable>thead>tr>td:active{outline:none}table.dataTable>thead>tr>th:not(.sorting_disabled),table.dataTable>thead>tr>td:not(.sorting_disabled){padding-right:30px}table.dataTable>thead .sorting,table.dataTable>thead .sorting_asc,table.dataTable>thead .sorting_desc,table.dataTable>thead .sorting_asc_disabled,table.dataTable>thead .sorting_desc_disabled{cursor:pointer;position:relative}table.dataTable>thead .sorting:before,table.dataTable>thead .sorting:after,table.dataTable>thead .sorting_asc:before,table.dataTable>thead .sorting_asc:after,table.dataTable>thead .sorting_desc:before,table.dataTable>thead .sorting_desc:after,table.dataTable>thead .sorting_asc_disabled:before,table.dataTable>thead .sorting_asc_disabled:after,table.dataTable>thead .sorting_desc_disabled:before,table.dataTable>thead .sorting_desc_disabled:after{position:absolute;bottom:.5em;display:block;opacity:.3}table.dataTable>thead .sorting:before,table.dataTable>thead .sorting_asc:before,table.dataTable>thead .sorting_desc:before,table.dataTable>thead .sorting_asc_disabled:before,table.dataTable>thead .sorting_desc_disabled:before{right:1em;content:"↑"}table.dataTable>thead .sorting:after,table.dataTable>thead .sorting_asc:after,table.dataTable>thead .sorting_desc:after,table.dataTable>thead .sorting_asc_disabled:after,table.dataTable>thead .sorting_desc_disabled:after{right:.5em;content:"↓"}table.dataTable>thead .sorting_asc:before,table.dataTable>thead .sorting_desc:after{opacity:1}table.dataTable>thead .sorting_asc_disabled:before,table.dataTable>thead .sorting_desc_disabled:after{opacity:0}div.dataTables_scrollHead table.dataTable{margin-bottom:0 !important}div.dataTables_scrollBody>table{border-top:none;margin-top:0 !important;margin-bottom:0 !important}div.dataTables_scrollBody>table>thead .sorting:before,div.dataTables_scrollBody>table>thead .sorting_asc:before,div.dataTables_scrollBody>table>thead .sorting_desc:before,div.dataTables_scrollBody>table>thead .sorting:after,div.dataTables_scrollBody>table>thead .sorting_asc:after,div.dataTables_scrollBody>table>thead .sorting_desc:after{display:none}div.dataTables_scrollBody>table>tbody tr:first-child th,div.dataTables_scrollBody>table>tbody tr:first-child td{border-top:none}div.dataTables_scrollFoot>.dataTables_scrollFootInner{box-sizing:content-box}div.dataTables_scrollFoot>.dataTables_scrollFootInner>table{margin-top:0 !important;border-top:none}@media screen and (max-width: 767px){div.dataTables_wrapper div.dataTables_length,div.dataTables_wrapper div.dataTables_filter,div.dataTables_wrapper div.dataTables_info,div.dataTables_wrapper div.dataTables_paginate{text-align:center}div.dataTables_wrapper div.dataTables_paginate ul.pagination{justify-content:center !important}}table.dataTable.table-sm>thead>tr>th:not(.sorting_disabled){padding-right:20px}table.dataTable.table-sm .sorting:before,table.dataTable.table-sm .sorting_asc:before,table.dataTable.table-sm .sorting_desc:before{top:5px;right:.85em}table.dataTable.table-sm .sorting:after,table.dataTable.table-sm .sorting_asc:after,table.dataTable.table-sm .sorting_desc:after{top:5px}table.table-bordered.dataTable{border-right-width:0}table.table-bordered.dataTable thead tr:first-child th,table.table-bordered.dataTable thead tr:first-child td{border-top-width:1px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-left-width:0}table.table-bordered.dataTable th:first-child,table.table-bordered.dataTable th:first-child,table.table-bordered.dataTable td:first-child,table.table-bordered.dataTable td:first-child{border-left-width:1px}table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable th:last-child,table.table-bordered.dataTable td:last-child,table.table-bordered.dataTable td:last-child{border-right-width:1px}table.table-bordered.dataTable th,table.table-bordered.dataTable td{border-bottom-width:1px}div.dataTables_scrollHead table.table-bordered{border-bottom-width:0}div.table-responsive>div.dataTables_wrapper>div.row{margin:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:first-child{padding-left:0}div.table-responsive>div.dataTables_wrapper>div.row>div[class^=col-]:last-child{padding-right:0}table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1){--bs-table-accent-bg: transparent}table.dataTable.table-striped>tbody>tr.odd{--bs-table-accent-bg: var(--bs-table-striped-bg)}
|
datatables-bs5/js/dataTables.bootstrap5.js
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*! DataTables Bootstrap 5 integration
|
| 2 |
+
* 2020 SpryMedia Ltd - datatables.net/license
|
| 3 |
+
*/
|
| 4 |
+
|
| 5 |
+
/**
|
| 6 |
+
* DataTables integration for Bootstrap 4. This requires Bootstrap 5 and
|
| 7 |
+
* DataTables 1.10 or newer.
|
| 8 |
+
*
|
| 9 |
+
* This file sets the defaults and adds options to DataTables to style its
|
| 10 |
+
* controls using Bootstrap. See http://datatables.net/manual/styling/bootstrap
|
| 11 |
+
* for further information.
|
| 12 |
+
*/
|
| 13 |
+
(function( factory ){
|
| 14 |
+
if ( typeof define === 'function' && define.amd ) {
|
| 15 |
+
// AMD
|
| 16 |
+
define( ['jquery', 'datatables.net'], function ( $ ) {
|
| 17 |
+
return factory( $, window, document );
|
| 18 |
+
} );
|
| 19 |
+
}
|
| 20 |
+
else if ( typeof exports === 'object' ) {
|
| 21 |
+
// CommonJS
|
| 22 |
+
module.exports = function (root, $) {
|
| 23 |
+
if ( ! root ) {
|
| 24 |
+
root = window;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
if ( ! $ || ! $.fn.dataTable ) {
|
| 28 |
+
// Require DataTables, which attaches to jQuery, including
|
| 29 |
+
// jQuery if needed and have a $ property so we can access the
|
| 30 |
+
// jQuery object that is used
|
| 31 |
+
$ = require('datatables.net')(root, $).$;
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
return factory( $, root, root.document );
|
| 35 |
+
};
|
| 36 |
+
}
|
| 37 |
+
else {
|
| 38 |
+
// Browser
|
| 39 |
+
factory( jQuery, window, document );
|
| 40 |
+
}
|
| 41 |
+
}(function( $, window, document, undefined ) {
|
| 42 |
+
'use strict';
|
| 43 |
+
var DataTable = $.fn.dataTable;
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
/* Set the defaults for DataTables initialisation */
|
| 47 |
+
$.extend( true, DataTable.defaults, {
|
| 48 |
+
dom:
|
| 49 |
+
"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>>" +
|
| 50 |
+
"<'row'<'col-sm-12'tr>>" +
|
| 51 |
+
"<'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
| 52 |
+
renderer: 'bootstrap'
|
| 53 |
+
} );
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
/* Default class modification */
|
| 57 |
+
$.extend( DataTable.ext.classes, {
|
| 58 |
+
sWrapper: "dataTables_wrapper dt-bootstrap5",
|
| 59 |
+
sFilterInput: "form-control form-control-sm",
|
| 60 |
+
sLengthSelect: "form-select form-select-sm",
|
| 61 |
+
sProcessing: "dataTables_processing card",
|
| 62 |
+
sPageButton: "paginate_button page-item"
|
| 63 |
+
} );
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
/* Bootstrap paging button renderer */
|
| 67 |
+
DataTable.ext.renderer.pageButton.bootstrap = function ( settings, host, idx, buttons, page, pages ) {
|
| 68 |
+
var api = new DataTable.Api( settings );
|
| 69 |
+
var classes = settings.oClasses;
|
| 70 |
+
var lang = settings.oLanguage.oPaginate;
|
| 71 |
+
var aria = settings.oLanguage.oAria.paginate || {};
|
| 72 |
+
var btnDisplay, btnClass, counter=0;
|
| 73 |
+
|
| 74 |
+
var attach = function( container, buttons ) {
|
| 75 |
+
var i, ien, node, button;
|
| 76 |
+
var clickHandler = function ( e ) {
|
| 77 |
+
e.preventDefault();
|
| 78 |
+
if ( !$(e.currentTarget).hasClass('disabled') && api.page() != e.data.action ) {
|
| 79 |
+
api.page( e.data.action ).draw( 'page' );
|
| 80 |
+
}
|
| 81 |
+
};
|
| 82 |
+
|
| 83 |
+
for ( i=0, ien=buttons.length ; i<ien ; i++ ) {
|
| 84 |
+
button = buttons[i];
|
| 85 |
+
|
| 86 |
+
if ( Array.isArray( button ) ) {
|
| 87 |
+
attach( container, button );
|
| 88 |
+
}
|
| 89 |
+
else {
|
| 90 |
+
btnDisplay = '';
|
| 91 |
+
btnClass = '';
|
| 92 |
+
|
| 93 |
+
switch ( button ) {
|
| 94 |
+
case 'ellipsis':
|
| 95 |
+
btnDisplay = '…';
|
| 96 |
+
btnClass = 'disabled';
|
| 97 |
+
break;
|
| 98 |
+
|
| 99 |
+
case 'first':
|
| 100 |
+
btnDisplay = lang.sFirst;
|
| 101 |
+
btnClass = button + (page > 0 ?
|
| 102 |
+
'' : ' disabled');
|
| 103 |
+
break;
|
| 104 |
+
|
| 105 |
+
case 'previous':
|
| 106 |
+
btnDisplay = lang.sPrevious;
|
| 107 |
+
btnClass = button + (page > 0 ?
|
| 108 |
+
'' : ' disabled');
|
| 109 |
+
break;
|
| 110 |
+
|
| 111 |
+
case 'next':
|
| 112 |
+
btnDisplay = lang.sNext;
|
| 113 |
+
btnClass = button + (page < pages-1 ?
|
| 114 |
+
'' : ' disabled');
|
| 115 |
+
break;
|
| 116 |
+
|
| 117 |
+
case 'last':
|
| 118 |
+
btnDisplay = lang.sLast;
|
| 119 |
+
btnClass = button + (page < pages-1 ?
|
| 120 |
+
'' : ' disabled');
|
| 121 |
+
break;
|
| 122 |
+
|
| 123 |
+
default:
|
| 124 |
+
btnDisplay = button + 1;
|
| 125 |
+
btnClass = page === button ?
|
| 126 |
+
'active' : '';
|
| 127 |
+
break;
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
if ( btnDisplay ) {
|
| 131 |
+
node = $('<li>', {
|
| 132 |
+
'class': classes.sPageButton+' '+btnClass,
|
| 133 |
+
'id': idx === 0 && typeof button === 'string' ?
|
| 134 |
+
settings.sTableId +'_'+ button :
|
| 135 |
+
null
|
| 136 |
+
} )
|
| 137 |
+
.append( $('<a>', {
|
| 138 |
+
'href': '#',
|
| 139 |
+
'aria-controls': settings.sTableId,
|
| 140 |
+
'aria-label': aria[ button ],
|
| 141 |
+
'data-dt-idx': counter,
|
| 142 |
+
'tabindex': settings.iTabIndex,
|
| 143 |
+
'class': 'page-link'
|
| 144 |
+
} )
|
| 145 |
+
.html( btnDisplay )
|
| 146 |
+
)
|
| 147 |
+
.appendTo( container );
|
| 148 |
+
|
| 149 |
+
settings.oApi._fnBindAction(
|
| 150 |
+
node, {action: button}, clickHandler
|
| 151 |
+
);
|
| 152 |
+
|
| 153 |
+
counter++;
|
| 154 |
+
}
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
};
|
| 158 |
+
|
| 159 |
+
// IE9 throws an 'unknown error' if document.activeElement is used
|
| 160 |
+
// inside an iframe or frame.
|
| 161 |
+
var activeEl;
|
| 162 |
+
|
| 163 |
+
try {
|
| 164 |
+
// Because this approach is destroying and recreating the paging
|
| 165 |
+
// elements, focus is lost on the select button which is bad for
|
| 166 |
+
// accessibility. So we want to restore focus once the draw has
|
| 167 |
+
// completed
|
| 168 |
+
activeEl = $(host).find(document.activeElement).data('dt-idx');
|
| 169 |
+
}
|
| 170 |
+
catch (e) {}
|
| 171 |
+
|
| 172 |
+
attach(
|
| 173 |
+
$(host).empty().html('<ul class="pagination"/>').children('ul'),
|
| 174 |
+
buttons
|
| 175 |
+
);
|
| 176 |
+
|
| 177 |
+
if ( activeEl !== undefined ) {
|
| 178 |
+
$(host).find( '[data-dt-idx='+activeEl+']' ).trigger('focus');
|
| 179 |
+
}
|
| 180 |
+
};
|
| 181 |
+
|
| 182 |
+
|
| 183 |
+
return DataTable;
|
| 184 |
+
}));
|
datatables-bs5/js/dataTables.bootstrap5.min.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/*!
|
| 2 |
+
DataTables Bootstrap 5 integration
|
| 3 |
+
2020 SpryMedia Ltd - datatables.net/license
|
| 4 |
+
*/
|
| 5 |
+
var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,b,c){a instanceof String&&(a=String(a));for(var e=a.length,d=0;d<e;d++){var f=a[d];if(b.call(c,f,d,a))return{i:d,v:f}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;
|
| 6 |
+
$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a};$jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
|
| 7 |
+
$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,b){var c=$jscomp.propertyToPolyfillSymbol[b];if(null==c)return a[b];c=a[c];return void 0!==c?c:a[b]};
|
| 8 |
+
$jscomp.polyfill=function(a,b,c,e){b&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,b,c,e):$jscomp.polyfillUnisolated(a,b,c,e))};$jscomp.polyfillUnisolated=function(a,b,c,e){c=$jscomp.global;a=a.split(".");for(e=0;e<a.length-1;e++){var d=a[e];if(!(d in c))return;c=c[d]}a=a[a.length-1];e=c[a];b=b(e);b!=e&&null!=b&&$jscomp.defineProperty(c,a,{configurable:!0,writable:!0,value:b})};
|
| 9 |
+
$jscomp.polyfillIsolated=function(a,b,c,e){var d=a.split(".");a=1===d.length;e=d[0];e=!a&&e in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var f=0;f<d.length-1;f++){var l=d[f];if(!(l in e))return;e=e[l]}d=d[d.length-1];c=$jscomp.IS_SYMBOL_NATIVE&&"es6"===c?e[d]:null;b=b(c);null!=b&&(a?$jscomp.defineProperty($jscomp.polyfills,d,{configurable:!0,writable:!0,value:b}):b!==c&&($jscomp.propertyToPolyfillSymbol[d]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(d):$jscomp.POLYFILL_PREFIX+d,d=
|
| 10 |
+
$jscomp.propertyToPolyfillSymbol[d],$jscomp.defineProperty(e,d,{configurable:!0,writable:!0,value:b})))};$jscomp.polyfill("Array.prototype.find",function(a){return a?a:function(b,c){return $jscomp.findInternal(this,b,c).v}},"es6","es3");
|
| 11 |
+
(function(a){"function"===typeof define&&define.amd?define(["jquery","datatables.net"],function(b){return a(b,window,document)}):"object"===typeof exports?module.exports=function(b,c){b||(b=window);c&&c.fn.dataTable||(c=require("datatables.net")(b,c).$);return a(c,b,b.document)}:a(jQuery,window,document)})(function(a,b,c,e){var d=a.fn.dataTable;a.extend(!0,d.defaults,{dom:"<'row'<'col-sm-12 col-md-6'l><'col-sm-12 col-md-6'f>><'row'<'col-sm-12'tr>><'row'<'col-sm-12 col-md-5'i><'col-sm-12 col-md-7'p>>",
|
| 12 |
+
renderer:"bootstrap"});a.extend(d.ext.classes,{sWrapper:"dataTables_wrapper dt-bootstrap5",sFilterInput:"form-control form-control-sm",sLengthSelect:"form-select form-select-sm",sProcessing:"dataTables_processing card",sPageButton:"paginate_button page-item"});d.ext.renderer.pageButton.bootstrap=function(f,l,A,B,m,t){var u=new d.Api(f),C=f.oClasses,n=f.oLanguage.oPaginate,D=f.oLanguage.oAria.paginate||{},h,k,v=0,y=function(q,w){var x,E=function(p){p.preventDefault();a(p.currentTarget).hasClass("disabled")||
|
| 13 |
+
u.page()==p.data.action||u.page(p.data.action).draw("page")};var r=0;for(x=w.length;r<x;r++){var g=w[r];if(Array.isArray(g))y(q,g);else{k=h="";switch(g){case "ellipsis":h="…";k="disabled";break;case "first":h=n.sFirst;k=g+(0<m?"":" disabled");break;case "previous":h=n.sPrevious;k=g+(0<m?"":" disabled");break;case "next":h=n.sNext;k=g+(m<t-1?"":" disabled");break;case "last":h=n.sLast;k=g+(m<t-1?"":" disabled");break;default:h=g+1,k=m===g?"active":""}if(h){var F=a("<li>",{"class":C.sPageButton+
|
| 14 |
+
" "+k,id:0===A&&"string"===typeof g?f.sTableId+"_"+g:null}).append(a("<a>",{href:"#","aria-controls":f.sTableId,"aria-label":D[g],"data-dt-idx":v,tabindex:f.iTabIndex,"class":"page-link"}).html(h)).appendTo(q);f.oApi._fnBindAction(F,{action:g},E);v++}}}};try{var z=a(l).find(c.activeElement).data("dt-idx")}catch(q){}y(a(l).empty().html('<ul class="pagination"/>').children("ul"),B);z!==e&&a(l).find("[data-dt-idx="+z+"]").trigger("focus")};return d});
|