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