Changes for page ICD-O-3_Morphology

Last modified by Marco Weber on 2026/10/15 14:11

From version 6.1
edited by Marco Weber
on 2026/10/01 14:38
Change comment: Update LiveTable
To version 30.1
edited by Marco Weber
on 2026/10/15 14:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,23 +1,182 @@
1 -{{velocity}}
2 -#set ($columnsProperties = {
3 - 'morph_beh': {},
4 - 'morph': {},
5 - 'beh': {},
6 - 'text_de': {},
7 - 'text_en': {},
8 - 'text_fr': {},
9 - 'text_it': {},
10 - 'icdo_version': {}
11 -})
12 -#set ($options = {
13 - 'className': 'ICD-O-3_Morphology.Code.ICD-O-3_MorphologyClass',
14 - 'translationPrefix': 'icd-o-3_morphology.livetable.',
15 - 'tagCloud': true,
16 - 'rowCount': 15,
17 - 'maxPages': 10,
18 - 'selectedColumn': 'morph_beh',
19 - 'defaultOrder': 'asc'
20 -})
21 -#set ($columns = ['morph_beh', 'morph', 'beh', 'text_de', 'text_en', 'text_fr', 'text_it', 'icdo_version'])
22 -#livetable('icd-o-3_morphology' $columns $columnsProperties $options)
23 -{{/velocity}}
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: 0.8em;
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: #fafafa;
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 +/* =========================================================
88 + Spaltenbreiten
89 + Reihenfolge:
90 + 1 morph_beh
91 + 2 morph
92 + 3 beh
93 + 4 text_de
94 + 5 text_en
95 + 6 text_fr
96 + 7 text_it
97 + 8 icdo_version
98 + ========================================================= */
99 +
100 +table.layout-table-root.responsive-table th:nth-child(1),
101 +table.layout-table-root.responsive-table td:nth-child(1) {
102 + width: 6%;
103 +}
104 +
105 +table.layout-table-root.responsive-table th:nth-child(2),
106 +table.layout-table-root.responsive-table td:nth-child(2) {
107 + width: 6%;
108 +}
109 +
110 +table.layout-table-root.responsive-table th:nth-child(3),
111 +table.layout-table-root.responsive-table td:nth-child(3) {
112 + width: 6%;
113 +}
114 +
115 +table.layout-table-root.responsive-table th:nth-child(4),
116 +table.layout-table-root.responsive-table td:nth-child(4) {
117 + width: 19%;
118 +}
119 +
120 +table.layout-table-root.responsive-table th:nth-child(5),
121 +table.layout-table-root.responsive-table td:nth-child(5) {
122 + width: 19%;
123 +}
124 +
125 +table.layout-table-root.responsive-table th:nth-child(6),
126 +table.layout-table-root.responsive-table td:nth-child(6) {
127 + width: 19%;
128 +}
129 +
130 +table.layout-table-root.responsive-table th:nth-child(7),
131 +table.layout-table-root.responsive-table td:nth-child(7) {
132 + width: 19%;
133 +}
134 +
135 +table.layout-table-root.responsive-table th:nth-child(8),
136 +table.layout-table-root.responsive-table td:nth-child(8) {
137 + width: 6%;
138 +}
139 +
140 +
141 +/* =========================================================
142 + Ausrichtung
143 + ========================================================= */
144 +
145 +/* morph_beh */
146 +table.layout-table-root.responsive-table td[data-title="morph_beh"]
147 +table.layout-table-root.responsive-table td[data-title="morph"]
148 +table.layout-table-root.responsive-table td[data-title="beh"] {
149 + text-align: center;
150 +}
151 +
152 +
153 +/* =========================================================
154 + Header-Ausrichtung
155 + ========================================================= */
156 +
157 +table.layout-table-root.responsive-table th[data-title="morph_beh"],
158 +table.layout-table-root.responsive-table th[data-title="morph"],
159 +table.layout-table-root.responsive-table th[data-title="beh"],
160 +table.layout-table-root.responsive-table th[data-title="text_de"],
161 +table.layout-table-root.responsive-table th[data-title="text_en"],
162 +table.layout-table-root.responsive-table th[data-title="text_fr"],
163 +table.layout-table-root.responsive-table th[data-title="text_it"],
164 +table.layout-table-root.responsive-table th[data-title="icdo_version"] {
165 + text-align: center;
166 +}
167 +
168 +</style>
169 +{{/html}}
170 +
171 +
172 +{{liveData
173 + id="icd-o-3_morphology"
174 + properties="morph/beh,morph,beh,text_de,text_en,text_fr,text_it,icdo_version"
175 + source="liveTable"
176 + sourceParameters="className=ICD-O-3_Morphology.Code.ICD-O-3_MorphologyClass&translationPrefix=icd-o-3_morphology.livetable."
177 + sort="morph_beh:asc"
178 + limit="50"
179 + layouts="table"
180 + showPageSizeDropdown="true"
181 + pageSizes="25,50,75,100"
182 +}}