Wiki source code of ICD-O-4_Morphology

Version 28.1 by Marco Weber on 2026/12/02 13:55

Hide last authors
Marco Weber 28.1 1 {{html clean="false"}}
2 <style>
3
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 }
14
15 /* =========================================================
16 Kopfzeile
17 ========================================================= */
18
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 }
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 /* =========================================================
39 Filterzeile
40 ========================================================= */
41
42 table.layout-table-root.responsive-table thead tr.column-filters th {
43 background-color: #6292a1;
44 border: 1px solid #bbb;
45 padding: 4px 5px;
46 }
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 /* =========================================================
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 /* =========================================================
85 Spaltenbreiten
86 ========================================================= */
87 ```text
88 /* =========================================================
89 Spaltenbreiten
90 Reihenfolge:
91 1 mph_beh
92 2 mph
93 3 beh
94 4 Level
95 5 description
96 6 common topo
97 7 obsolete
98 8 relation
99 9 Excludes
100 ========================================================= */
101
102 table.layout-table-root.responsive-table th:nth-child(1),
103 table.layout-table-root.responsive-table td:nth-child(1) {
104 width: 6%;
105 }
106
107 table.layout-table-root.responsive-table th:nth-child(2),
108 table.layout-table-root.responsive-table td:nth-child(2) {
109 width: 5%;
110 }
111
112 table.layout-table-root.responsive-table th:nth-child(3),
113 table.layout-table-root.responsive-table td:nth-child(3) {
114 width: 4%;
115 }
116
117 table.layout-table-root.responsive-table th:nth-child(4),
118 table.layout-table-root.responsive-table td:nth-child(4) {
119 width: 6%;
120 }
121
122 table.layout-table-root.responsive-table th:nth-child(5),
123 table.layout-table-root.responsive-table td:nth-child(5) {
124 width: 20%;
125 }
126
127 table.layout-table-root.responsive-table th:nth-child(6),
128 table.layout-table-root.responsive-table td:nth-child(6) {
129 width: 10%;
130 }
131
132 table.layout-table-root.responsive-table th:nth-child(7),
133 table.layout-table-root.responsive-table td:nth-child(7) {
134 width: 5%;
135 }
136
137 table.layout-table-root.responsive-table th:nth-child(8),
138 table.layout-table-root.responsive-table td:nth-child(8) {
139 width: 20%;
140 }
141 table.layout-table-root.responsive-table th:nth-child(9),
142 table.layout-table-root.responsive-table td:nth-child(9) {
143 width: 24%;
144 }
145
146
147 /* =========================================================
148 Ausrichtung
149 ========================================================= */
150
151 /* morph_beh */
152 table.layout-table-root.responsive-table td[data-title="mph_beh"]
153 table.layout-table-root.responsive-table td[data-title="mph"]
154 table.layout-table-root.responsive-table td[data-title="beh"] {
155 text-align: center;
156 }
157
158
159 /* =========================================================
160 Header-Ausrichtung
161 ========================================================= */
162
163 table.layout-table-root.responsive-table th[data-title="mph_beh"],
164 table.layout-table-root.responsive-table th[data-title="mph"],
165 table.layout-table-root.responsive-table th[data-title="beh"],
166 table.layout-table-root.responsive-table th[data-title="Level"],
167 table.layout-table-root.responsive-table th[data-title="text_en"],
168 table.layout-table-root.responsive-table th[data-title="comm_topo"],
169 table.layout-table-root.responsive-table th[data-title="obsolete"],
170 table.layout-table-root.responsive-table th[data-title="relation"],
171 table.layout-table-root.responsive-table th[data-title="excludes"]{
172 text-align: center;
173 }
174
175 </style>
176 {{/html}}
177
178 {{liveData
179 id="icd-o-4_morphology"
180 properties="mph_beh,mph,beh,Level,text_en,comm_topo,obsolete,relation,excludes"
181 source="liveTable"
182 sourceParameters="className=ICD-O-4_Morphology.Code.ICD-O-4_MorphologyClass&translationPrefix=icd-o-4_morphology.livetable."
183 sort="morph_beh:asc"
184 limit="50"
185 layouts="table"
186 showPageSizeDropdown="true"
187 pageSizes="25,50,75,100"
188 }}
189
Marco Weber 22.1 190 {{velocity}}
191 #set ($columnsProperties = {
192 'mph_beh': {},
193 'mph': {},
194 'beh': {},
195 'Level': {},
196 'text_en': {},
197 'comm_topo': {},
198 'obsolete': {},
199 'relation': {},
200 'excludes': {}
201 })
202 #set ($options = {
203 'className': 'ICD-O-4_Morphology.Code.ICD-O-4_MorphologyClass',
204 'translationPrefix': 'icd-o-4_morphology.livetable.',
205 'tagCloud': true,
206 'rowCount': 15,
207 'maxPages': 10,
208 'selectedColumn': 'mph_beh',
209 'defaultOrder': 'asc'
210 })
211 #set ($columns = ['mph_beh', 'mph', 'beh', 'Level', 'text_en', 'comm_topo', 'obsolete', 'relation', 'excludes'])
212 #livetable('icd-o-4_morphology' $columns $columnsProperties $options)
213 {{/velocity}}