Changes for page ICD-O-3_Topography

Last modified by Marco Weber on 2026/10/20 11:20

From version 10.1
edited by Marco Weber
on 2026/10/15 15:21
Change comment: There is no comment for this version
To version 21.1
edited by Marco Weber
on 2026/10/20 10:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,135 +1,173 @@
1 1  {{html clean="false"}}
2 2  <style>
3 -/* ============================================
4 - icd-o-3_topography-Livetable – allgemeine Formatierung
5 - ============================================ */
6 6  
7 -/* Innere Tabelle */
8 -#icd-o-3_topography .xwiki-livetable-display {
9 - width: 100% !important;
10 - border-collapse: collapse !important;
11 - border-spacing: 0 !important;
12 - table-layout: fixed !important;
4 +/* =========================================================
5 + Morphology LiveData – Tabellenformatierung
6 + ========================================================= */
7 +
8 +/* Gesamte Tabelle */
9 +table.layout-table-root.responsive-table {
10 + width: 100%;
11 + border-collapse: collapse;
12 + table-layout: fixed;
13 13  }
14 14  
15 -/* ============================================
15 +/* =========================================================
16 16   Kopfzeile
17 - ============================================ */
17 + ========================================================= */
18 18  
19 -#icd-o-3_topography .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;
19 +table.layout-table-root.responsive-table thead th {
20 + font-weight: bold;
21 + font-size: 1.0em;
22 + background-color: #00BFFF;
23 + border: 1px solid #999;
24 + padding: 7px 6px;
25 + vertical-align: middle;
26 26  }
27 27  
28 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th a {
29 - font-weight: 700 !important;
30 - font-size: inherit !important;
28 +/* Eigentliche Spaltenbezeichnung */
29 +table.layout-table-root.responsive-table thead .property-name {
30 + font-weight: bold;
31 31  }
32 32  
33 -/* ============================================
33 +/* Sortier-Button nicht unnötig hervorheben */
34 +table.layout-table-root.responsive-table thead .handle {
35 + font-weight: bold;
36 +}
37 +
38 +/* =========================================================
34 34   Filterzeile
35 - ============================================ */
40 + ========================================================= */
36 36  
37 -#icd-o-3_topography .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;
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;
41 41  }
42 42  
43 -/* Filterfelder möglichst über die ganze Spalte */
44 -#icd-o-3_topography .xwiki-livetable-display-filters input[type="text"],
45 -#icd-o-3_topography .xwiki-livetable-display-filters select {
46 - max-width: 100% !important;
47 - box-sizing: border-box !important;
48 +/* Filter-Eingabefelder */
49 +table.layout-table-root.responsive-table .livedata-filter {
50 + width: 100%;
51 + box-sizing: border-box;
48 48  }
49 49  
50 -/* ============================================
51 - Datenzellen
52 - ============================================ */
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 +}
53 53  
54 -#icd-o-3_topography .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;
61 +/* Selectize-Filter */
62 +table.layout-table-root.responsive-table .selectize-control {
63 + width: 100%;
59 59  }
60 60  
66 +table.layout-table-root.responsive-table .selectize-input {
67 + min-height: 28px;
68 + padding: 4px 6px;
69 + box-sizing: border-box;
70 +}
61 61  
62 -/* ============================================
72 +/* =========================================================
73 + Datenzellen
74 + ========================================================= */
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;
82 +}
83 +
84 +/* =========================================================
63 63   Spaltenbreiten
64 - ============================================ */
86 + ========================================================= */
87 +
88 +/* =========================================================
89 + Spaltenbreiten
90 + Reihenfolge:
91 + 1 topo_3d
92 + 2 topo_4d
93 + 3 text_de
94 + 4 text_en
95 + 5 text_fr
96 + 6 text_it
97 + ========================================================= */
65 65  
66 -/* 1 – topo_3d */
67 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th:nth-child(1),
68 -#icd-o-3_topography .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(1),
69 -#icd-o-3_topography .xwiki-livetable-display > tbody > tr > td:nth-child(1) {
70 - width: 5% !important;
99 +table.layout-table-root.responsive-table th:nth-child(1),
100 +table.layout-table-root.responsive-table td:nth-child(1) {
101 + width: 6%;
71 71  }
72 72  
73 -/* 2 – topo_4d */
74 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th:nth-child(2),
75 -#icd-o-3_topography .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(2),
76 -#icd-o-3_topography .xwiki-livetable-display > tbody > tr > td:nth-child(2) {
77 - width: 5% !important;
104 +table.layout-table-root.responsive-table th:nth-child(2),
105 +table.layout-table-root.responsive-table td:nth-child(2) {
106 + width: 6%;
78 78  }
79 79  
80 -/* 3 – text_de */
81 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th:nth-child(3),
82 -#icd-o-3_topography .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(3),
83 -#icd-o-3_topography .xwiki-livetable-display > tbody > tr > td:nth-child(3) {
84 - width: 20% !important;
109 +table.layout-table-root.responsive-table th:nth-child(3),
110 +table.layout-table-root.responsive-table td:nth-child(3) {
111 + width: 22%;
85 85  }
86 86  
87 -/* 4 – text_en */
88 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th:nth-child(4),
89 -#icd-o-3_topography .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(4),
90 -#icd-o-3_topography .xwiki-livetable-display > tbody > tr > td:nth-child(4) {
91 - width: 20% !important;
114 +table.layout-table-root.responsive-table th:nth-child(4),
115 +table.layout-table-root.responsive-table td:nth-child(4) {
116 + width: 22%;
92 92  }
93 93  
94 -/* 5 – text_fr */
95 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th:nth-child(5),
96 -#icd-o-3_topography .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(5),
97 -#icd-o-3_topography .xwiki-livetable-display > tbody > tr > td:nth-child(5) {
98 - width: 20% !important;
119 +table.layout-table-root.responsive-table th:nth-child(5),
120 +table.layout-table-root.responsive-table td:nth-child(5) {
121 + width: 22%;
99 99  }
100 100  
101 -/* 6 – text_it */
102 -#icd-o-3_topography .xwiki-livetable-display > thead > tr:first-child > th:nth-child(6),
103 -#icd-o-3_topography .xwiki-livetable-display > thead > tr.xwiki-livetable-display-filters > td:nth-child(6),
104 -#icd-o-3_topography .xwiki-livetable-display > tbody > tr > td:nth-child(6) {
105 - width: 20% !important;
124 +table.layout-table-root.responsive-table th:nth-child(6),
125 +table.layout-table-root.responsive-table td:nth-child(6) {
126 + width: 22%;
106 106  }
128 +
129 +
130 +/* =========================================================
131 + Ausrichtung
132 + ========================================================= */
133 +
134 +/* topo */
135 +table.layout-table-root.responsive-table td[data-title="topo_3d"]
136 +table.layout-table-root.responsive-table td[data-title="topo_4d"]
137 +{
138 + text-align: center;
139 +}
140 +
141 +
142 +/* =========================================================
143 + Header-Ausrichtung
144 + ========================================================= */
145 +
146 +table.layout-table-root.responsive-table th[data-title="topo_3d"],
147 +table.layout-table-root.responsive-table th[data-title="topo_4d"],
148 +table.layout-table-root.responsive-table th[data-title="text_de"],
149 +table.layout-table-root.responsive-table th[data-title="text_en"],
150 +table.layout-table-root.responsive-table th[data-title="text_fr"],
151 +table.layout-table-root.responsive-table th[data-title="text_it"],
152 +{
153 + text-align: center;
154 +}
155 +
107 107  </style>
108 108  {{/html}}
109 109  
110 -{{velocity}}
111 -#set ($columnsProperties = {
112 - 'topo_3d': {},
113 - 'topo_4d': {},
114 - 'text_de': {},
115 - 'text_en': {},
116 - 'text_fr': {},
117 - 'text_it': {}
118 -})
119 -#set ($options = {
120 - 'className': 'ICD-O-3_Topography.Code.ICD-O-3_TopographyClass',
121 - 'translationPrefix': 'icd-o-3_topography.livetable.',
122 - 'tagCloud': true,
123 - 'rowCount': 15,
124 - 'maxPages': 10,
125 - 'selectedColumn': 'topo_3d',
126 - 'defaultOrder': 'asc'
127 -})
128 -#set ($columns = ['topo_3d', 'topo_4d', 'text_de', 'text_en', 'text_fr', 'text_it'])
129 -#livetable('icd-o-3_topography' $columns $columnsProperties $options)
130 -{{/velocity}}
131 -{{livetableExporter livetable="icd-o-3_topography" format="csv" /}}
132 -{{livetableExporter livetable="icd-o-3_topography" format="excel" /}}
133 133  
134 134  
135 135  
162 +{{liveData
163 + id="icd-o-3_topography"
164 + properties="topo_3d,topo_4d,text_de,text_en,text_fr,text_it"
165 + source="liveTable"
166 + sourceParameters="className=ICD-O-3_Topography.Code.ICD-O-3_TopographyClass&translationPrefix=icd-o-3_topography.livetable."
167 + sort="topo_3d:asc"
168 + limit="50"
169 + layouts="table"
170 + showPageSizeDropdown="true"
171 + pageSizes="25,50,75,100"
172 +}}
173 +