Changes for page CHOPlist
Last modified by Marco Weber on 2026/10/05 15:41
From version 49.1
edited by Marco Weber
on 2026/10/05 15:36
on 2026/10/05 15:36
Change comment:
There is no comment for this version
To version 29.1
edited by Marco Weber
on 2026/10/05 07:59
on 2026/10/05 07:59
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,205 +1,225 @@ 1 1 {{html clean="false"}} 2 2 <style> 3 - 4 4 /* ========================================================= 5 - CHOP LiveData –Tabellenformatierung4 + CHOP-Liste – Live Data Tabellenformatierung 6 6 ========================================================= */ 7 7 8 8 /* Gesamte Tabelle */ 9 - table.layout-table-root.responsive-table {10 - width: 100%;11 - border-collapse:collapse;12 - table-layout:fixed;8 +#choplist .xwiki-livedata-table { 9 + width: 100%; 10 + table-layout: fixed; 11 + border-collapse: collapse; 13 13 } 14 14 15 -/* =========================================================16 - Kopfzeile17 - =========================================================*/14 +/* --------------------------------------------------------- 15 + Tabellenkopf 16 + --------------------------------------------------------- */ 18 18 19 - table.layout-table-root.responsive-table thead th {20 - font-weight: bold;21 - font-size:0.9em;22 - background-color: #00BFFF;23 - border: 1px solid #999;24 - padding:7px6px;25 - vertical-align: middle;18 +#choplist .xwiki-livedata-table thead th { 19 + font-weight: bold; 20 + font-size: 1.1em; 21 + background-color: #f2f2f2; 22 + border: 1px solid #b5b5b5; 23 + padding: 6px 5px; 24 + vertical-align: middle; 26 26 } 27 27 28 -/* Eigentliche Spaltenbezeichnung */ 29 -table.layout-table-root.responsive-table thead .property-name { 30 - font-weight: bold; 31 -} 32 - 33 -/* Sortier-Button nicht unnötig hervorheben */ 34 -table.layout-table-root.responsive-table thead .handle { 35 - font-weight: bold; 36 -} 37 - 38 -/* ========================================================= 27 +/* --------------------------------------------------------- 39 39 Filterzeile 40 - =========================================================*/29 + --------------------------------------------------------- */ 41 41 42 -table.layout-table-root.responsive-table thead tr.column-filters th { 43 - background-color: #fafafa; 44 - border: 1px solid #bbb; 45 - padding: 4px 5px; 31 +#choplist .xwiki-livedata-table thead tr.xwiki-livedata-filter th { 32 + font-weight: normal; 33 + font-size: 1em; 34 + background-color: #fafafa; 35 + border: 1px solid #b5b5b5; 36 + padding: 4px; 46 46 } 47 47 48 -/* Filter-Eingabefelder */ 49 -table.layout-table-root.responsive-table .livedata-filter { 50 - width: 100%; 51 - box-sizing: border-box; 52 -} 53 - 54 -table.layout-table-root.responsive-table .filter-text, 55 -table.layout-table-root.responsive-table .filter-date { 56 - width: 100%; 57 - box-sizing: border-box; 58 - min-height: 28px; 59 -} 60 - 61 -/* Selectize-Filter */ 62 -table.layout-table-root.responsive-table .selectize-control { 63 - width: 100%; 64 -} 65 - 66 -table.layout-table-root.responsive-table .selectize-input { 67 - min-height: 28px; 68 - padding: 4px 6px; 69 - box-sizing: border-box; 70 -} 71 - 72 -/* ========================================================= 39 +/* --------------------------------------------------------- 73 73 Datenzellen 74 - =========================================================*/41 + --------------------------------------------------------- */ 75 75 76 -table.layout-table-root.responsive-table tbody td { 77 - border: 1px solid #bbb; 78 - padding: 6px 6px; 79 - vertical-align: top; 80 - overflow-wrap: break-word; 81 - word-wrap: break-word; 43 +#choplist .xwiki-livedata-table tbody td { 44 + border: 1px solid #b5b5b5; 45 + padding: 5px; 46 + vertical-align: middle; 82 82 } 83 83 84 -/* =========================================================49 +/* --------------------------------------------------------- 85 85 Spaltenbreiten 86 - ========================================================= */ 87 -```text 88 -/* ========================================================= 89 - Spaltenbreiten 90 90 Reihenfolge: 91 - 1 code 92 - 2 text_de 93 - 3 text_fr 94 - 4 text_it 95 - 5 valid_start 96 - 6 valid_end 97 - 7 chop_like 98 - 8 treat_cat 99 - 9 topo _group52 + 1 code 53 + 2 text_de 54 + 3 text_fr 55 + 4 text_it 56 + 5 valid_start 57 + 6 valid_end 58 + 7 chop_like 59 + 8 treat_cat 60 + 9 topography 100 100 10 chcr_only 101 - =========================================================*/62 + --------------------------------------------------------- */ 102 102 103 - table.layout-table-root.responsive-table th:nth-child(1),104 - table.layout-table-root.responsive-table td:nth-child(1) {105 - width: 7%;64 +#choplist .xwiki-livedata-table th:nth-child(1), 65 +#choplist .xwiki-livedata-table td:nth-child(1) { 66 + width: 7%; 106 106 } 107 107 108 - table.layout-table-root.responsive-table th:nth-child(2),109 - table.layout-table-root.responsive-table td:nth-child(2) {110 - width: 18%;69 +#choplist .xwiki-livedata-table th:nth-child(2), 70 +#choplist .xwiki-livedata-table td:nth-child(2) { 71 + width: 19%; 111 111 } 112 112 113 - table.layout-table-root.responsive-table th:nth-child(3),114 - table.layout-table-root.responsive-table td:nth-child(3) {115 - width: 18%;74 +#choplist .xwiki-livedata-table th:nth-child(3), 75 +#choplist .xwiki-livedata-table td:nth-child(3) { 76 + width: 19%; 116 116 } 117 117 118 - table.layout-table-root.responsive-table th:nth-child(4),119 - table.layout-table-root.responsive-table td:nth-child(4) {120 - width: 18%;79 +#choplist .xwiki-livedata-table th:nth-child(4), 80 +#choplist .xwiki-livedata-table td:nth-child(4) { 81 + width: 19%; 121 121 } 122 122 123 - table.layout-table-root.responsive-table th:nth-child(5),124 - table.layout-table-root.responsive-table td:nth-child(5) {125 - width:6%;84 +#choplist .xwiki-livedata-table th:nth-child(5), 85 +#choplist .xwiki-livedata-table td:nth-child(5) { 86 + width: 7%; 126 126 } 127 127 128 - table.layout-table-root.responsive-table th:nth-child(6),129 - table.layout-table-root.responsive-table td:nth-child(6) {130 - width:6%;89 +#choplist .xwiki-livedata-table th:nth-child(6), 90 +#choplist .xwiki-livedata-table td:nth-child(6) { 91 + width: 7%; 131 131 } 132 132 133 - table.layout-table-root.responsive-table th:nth-child(7),134 - table.layout-table-root.responsive-table td:nth-child(7) {135 - width:6%;94 +#choplist .xwiki-livedata-table th:nth-child(7), 95 +#choplist .xwiki-livedata-table td:nth-child(7) { 96 + width: 5%; 136 136 } 137 137 138 - table.layout-table-root.responsive-table th:nth-child(8),139 - table.layout-table-root.responsive-table td:nth-child(8) {140 - width:6%;99 +#choplist .xwiki-livedata-table th:nth-child(8), 100 +#choplist .xwiki-livedata-table td:nth-child(8) { 101 + width: 7%; 141 141 } 142 142 143 - table.layout-table-root.responsive-table th:nth-child(9),144 - table.layout-table-root.responsive-table td:nth-child(9) {145 - width:7%;104 +#choplist .xwiki-livedata-table th:nth-child(9), 105 +#choplist .xwiki-livedata-table td:nth-child(9) { 106 + width: 5%; 146 146 } 147 147 148 - table.layout-table-root.responsive-table th:nth-child(10),149 - table.layout-table-root.responsive-table td:nth-child(10) {150 - width:7%;109 +#choplist .xwiki-livedata-table th:nth-child(10), 110 +#choplist .xwiki-livadata-table td:nth-child(10) { 111 + width: 5%; 151 151 } 152 152 153 -/* =========================================================154 - Ausrichtung155 - =========================================================*/114 +/* --------------------------------------------------------- 115 + Zentrierung bestimmter Spalten 116 + --------------------------------------------------------- */ 156 156 157 -/* Code */ 158 -table.layout-table-root.responsive-table td[data-title="code"] { 159 - text-align: center; 118 +#choplist .xwiki-livedata-table th:nth-child(1), 119 +#choplist .xwiki-livedata-table td:nth-child(1), 120 +#choplist .xwiki-livedata-table th:nth-child(5), 121 +#choplist .xwiki-livedata-table td:nth-child(5), 122 +#choplist .xwiki-livedata-table th:nth-child(6), 123 +#choplist .xwiki-livedata-table td:nth-child(6), 124 +#choplist .xwiki-livedata-table th:nth-child(7), 125 +#choplist .xwiki-livedata-table td:nth-child(7), 126 +#choplist .xwiki-livedata-table th:nth-child(10), 127 +#choplist .xwiki-livedata-table td:nth-child(10) { 128 + text-align: center; 160 160 } 161 161 162 -/* Datumsfelder */ 163 -table.layout-table-root.responsive-table td[data-title="valid_start"], 164 -table.layout-table-root.responsive-table td[data-title="valid_end"] { 165 - text-align: center; 166 - white-space: nowrap; 167 -} 131 +/* --------------------------------------------------------- 132 + Dropdowns und Filterfelder 133 + --------------------------------------------------------- */ 168 168 169 -/* Kleine Klassifikationsfelder */ 170 -table.layout-table-root.responsive-table td[data-title="chop_like"], 171 -table.layout-table-root.responsive-table td[data-title="treat_cat"], 172 -table.layout-table-root.responsive-table td[data-title="topo_group"], 173 -table.layout-table-root.responsive-table td[data-title="chcr_only"] { 174 - text-align: center; 135 +#choplist .xwiki-livedata-table select, 136 +#choplist .xwiki-livedata-table input { 137 + max-width: 100%; 138 + box-sizing: border-box; 175 175 } 176 176 177 -/* =========================================================178 - Header-Ausrichtung179 - =========================================================*/141 +/* --------------------------------------------------------- 142 + Zeilen 143 + --------------------------------------------------------- */ 180 180 181 -table.layout-table-root.responsive-table th[data-title="code"], 182 -table.layout-table-root.responsive-table th[data-title="valid_start"], 183 -table.layout-table-root.responsive-table th[data-title="valid_end"], 184 -table.layout-table-root.responsive-table th[data-title="chop_like"], 185 -table.layout-table-root.responsive-table th[data-title="treat_cat"], 186 -table.layout-table-root.responsive-table th[data-title="topo_group"], 187 -table.layout-table-root.responsive-table th[data-title="chcr_only"] { 188 - text-align: center; 145 +#choplist .xwiki-livedata-table tbody tr:hover { 146 + background-color: #f7f7f7; 189 189 } 190 - 191 191 </style> 192 192 {{/html}} 193 193 194 194 {{liveData 195 195 id="choplist" 196 - properties="code,text_de,text_fr,text_it,valid_start,valid_end,chop_like,treat_cat,topo _group,chcr_only"153 + properties="code,text_de,text_fr,text_it,valid_start,valid_end,chop_like,treat_cat,topography,chcr_only" 197 197 source="liveTable" 198 198 sourceParameters="className=CHOPlist.Code.CHOPlistClass&translationPrefix=choplist.livetable." 199 199 sort="code:asc" 200 - limit=" 30"157 + limit="15" 201 201 layouts="table" 202 202 showPageSizeDropdown="true" 203 - pageSizes="15, 30,50,100"160 + pageSizes="15,25,50,100" 204 204 }} 205 - 162 +{ 163 + "meta": { 164 + "propertyDescriptors": [ 165 + { 166 + "id": "code", 167 + "sortable": true, 168 + "filterable": true 169 + }, 170 + { 171 + "id": "text_de", 172 + "sortable": true, 173 + "filterable": true 174 + }, 175 + { 176 + "id": "text_fr", 177 + "sortable": true, 178 + "filterable": true 179 + }, 180 + { 181 + "id": "text_it", 182 + "sortable": true, 183 + "filterable": true 184 + }, 185 + { 186 + "id": "valid_start", 187 + "sortable": true, 188 + "filterable": true 189 + }, 190 + { 191 + "id": "valid_end", 192 + "sortable": true, 193 + "filterable": true 194 + }, 195 + { 196 + "id": "chop_like", 197 + "sortable": true, 198 + "filterable": true 199 + }, 200 + { 201 + "id": "treat_cat", 202 + "sortable": true, 203 + "filterable": true 204 + }, 205 + { 206 + "id": "topography", 207 + "sortable": true, 208 + "filterable": true 209 + }, 210 + { 211 + "id": "chcr_only", 212 + "sortable": true, 213 + "filterable": true 214 + } 215 + ], 216 + "pagination": { 217 + "maxShownPages": 10, 218 + "pageSizes": [15, 25, 50, 100], 219 + "showEntryRange": true, 220 + "showNextPrevious": true, 221 + "showFirstLast": true 222 + } 223 + } 224 +} 225 +{{/liveData}}