Changes for page CHOPlist
Last modified by Marco Weber on 2026/10/05 15:41
From version 11.1
edited by Marco Weber
on 2026/09/30 10:40
on 2026/09/30 10:40
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
-
Objects (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,164 +155,25 @@ 1 -{{html clean="false"}} 2 -<style> 3 -/* ============================================ 4 - CHOP-Livetable – allgemeine Formatierung 5 - ============================================ */ 6 - 7 -/* Innere Tabelle */ 8 -#choplist .xwiki-livetable-display { 9 - width: 100% !important; 10 - border-collapse: collapse !important; 11 - border-spacing: 0 !important; 12 - table-layout: fixed !important; 13 -} 14 - 15 -/* ============================================ 16 - Kopfzeile 17 - ============================================ */ 18 - 19 -#choplist .xwiki-livetable-display > thead > tr:first-child > th { 20 - font-weight: 700 !important; 21 - font-size: 1.1em !important; 22 - padding: 8px 6px !important; 23 - border: 1px solid #999 !important; 24 - background-color: #1E90FF !important; 25 - vertical-align: middle !important; 26 -} 27 - 28 -#choplist .xwiki-livetable-display > thead > tr:first-child > th a { 29 - font-weight: 700 !important; 30 - font-size: inherit !important; 31 -} 32 - 33 -/* ============================================ 34 - Filterzeile 35 - ============================================ */ 36 - 37 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td { 38 - border: 1px solid #bbbbbb !important; 39 - padding: 4px !important; 40 - vertical-align: middle !important; 41 -} 42 - 43 -/* Filterfelder möglichst über die ganze Spalte */ 44 -#choplist .xwiki-livetable-display-filters input[type="text"], 45 -#choplist .xwiki-livetable-display-filters select { 46 - max-width: 100% !important; 47 - box-sizing: border-box !important; 48 -} 49 - 50 -/* ============================================ 51 - Datenzellen 52 - ============================================ */ 53 - 54 -#choplist .xwiki-livetable-display > tbody > tr > td { 55 - border: 1px solid #cccccc !important; 56 - padding: 6px 8px !important; 57 - vertical-align: top !important; 58 - overflow-wrap: anywhere !important; 59 -} 60 - 61 -/* Abstand der <p>-Elemente in den Datumsfeldern */ 62 -#choplist .xwiki-livetable-display > tbody > tr > td.valid_start p, 63 -#choplist .xwiki-livetable-display > tbody > tr > td.valid_end p { 64 - margin: 0 !important; 65 -} 66 - 67 -/* ============================================ 68 - Spaltenbreiten 69 - ============================================ */ 70 - 71 -/* 1 – Code */ 72 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(1), 73 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(1), 74 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(1) { 75 - width: 5% !important; 76 -} 77 - 78 -/* 2 – Deutsch */ 79 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(2), 80 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(2), 81 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(2) { 82 - width: 20% !important; 83 -} 84 - 85 -/* 3 – Französisch */ 86 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(3), 87 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(3), 88 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(3) { 89 - width: 20% !important; 90 -} 91 - 92 -/* 4 – Italienisch */ 93 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(4), 94 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(4), 95 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(4) { 96 - width: 20% !important; 97 -} 98 - 99 -/* 5 – gültig ab */ 100 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(5), 101 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(5), 102 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(5) { 103 - width: 5% !important; 104 -} 105 - 106 -/* 6 – gültig bis */ 107 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(6), 108 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(6), 109 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(6) { 110 - width: 5% !important; 111 -} 112 - 113 -/* 7 – CHOP like */ 114 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(7), 115 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(7), 116 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(7) { 117 - width: 5% !important; 118 -} 119 - 120 -/* 8 – Behandlungskategorie */ 121 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(8), 122 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(8), 123 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(8) { 124 - width: 5% !important; 125 -} 126 - 127 -/* 9 – Topographie */ 128 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(9), 129 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(9), 130 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(9) { 131 - width: 8% !important; 132 -} 133 - 134 -/* 10 – ChCr only */ 135 -#choplist .xwiki-livetable-display > thead > tr:first-child > th:nth-child(10), 136 -#choplist .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(10), 137 -#choplist .xwiki-livetable-display > tbody > tr > td:nth-child(10) { 138 - width: 5% !important; 139 -} 140 - 141 -/* ============================================ 142 - Ausrichtung bestimmter Spalten 143 - ============================================ */ 144 - 145 -#choplist .xwiki-livetable-display > tbody > tr > td.code, 146 -#choplist .xwiki-livetable-display > tbody > tr > td.valid_start, 147 -#choplist .xwiki-livetable-display > tbody > tr > td.valid_end, 148 -#choplist .xwiki-livetable-display > tbody > tr > td.chop_like, 149 -#choplist .xwiki-livetable-display > tbody > tr > td.chcr_only { 150 - text-align: center !important; 151 -} 152 -</style> 153 -{{/html}} 154 - 155 155 {{velocity}} 156 -{{liveData 157 - id="choplist" 158 - properties="code,text_de,text_fr,text_it,valid_start,valid_end,chop_like,treat_cat,topography,chcr_only" 159 - source="liveTable" 160 - sourceParameters="className=CHOPlist.Code.CHOPlistClass&translationPrefix=choplist.livetable." 161 - sort="code:asc" 162 - limit="15" 163 -/}} 2 +#set ($columnsProperties = { 3 + 'code': {}, 4 + 'text_de': {}, 5 + 'text_fr': {}, 6 + 'text_it': {}, 7 + 'valid_start': {"html":true}, 8 + 'valid_end': {"html":true}, 9 + 'chop_like': {}, 10 + 'treat_cat': {}, 11 + 'topo_group': {}, 12 + 'ChCr_only': {} 13 +}) 14 +#set ($options = { 15 + 'className': 'CHOPlist.Code.CHOPlistClass', 16 + 'translationPrefix': 'choplist.livetable.', 17 + 'tagCloud': true, 18 + 'rowCount': 15, 19 + 'maxPages': 10, 20 + 'selectedColumn': 'code', 21 + 'defaultOrder': 'asc' 22 +}) 23 +#set ($columns = ['code', 'text_de', 'text_fr', 'text_it', 'valid_start', 'valid_end', 'chop_like', 'treat_cat', 'topo_group', 'ChCr_only']) 24 +#livetable('choplist' $columns $columnsProperties $options) 164 164 {{/velocity}}
- CHOPlist_2026.csv
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.MarcoWeber - Size
-
... ... @@ -1,1 +1,0 @@ 1 -343.7 KB - Content
- BatchImport.BatchImportClass[0]
-
- classname
-
... ... @@ -1,1 +1,0 @@ 1 -CHOPlist.Code.CHOPlistClass - Clear file names
-
... ... @@ -1,1 +1,0 @@ 1 -Yes - Default date format
-
... ... @@ -1,1 +1,0 @@ 1 -dd.MM.YYYY - List Separator
-
... ... @@ -1,1 +1,0 @@ 1 -, - mapping
-
... ... @@ -1,11 +1,0 @@ 1 -valid_end=valid_end 2 -text_it=text_it 3 -chop_like=chop_like 4 -valid_start=valid_start 5 -treat_cat=treat_cat 6 -topography=topo_group 7 -code=code 8 -text_fr=text_fr 9 -code=doc.name 10 -ChCronly=ChCr_only 11 -text_de=text_de - metadatafilename
-
... ... @@ -1,1 +1,0 @@ 1 -CHOPlist_2026.csv - space
-
... ... @@ -1,1 +1,0 @@ 1 -CHOPlist