Wiki source code of Drug_list

Version 16.1 by Marco Weber on 2026/10/20 14:08

Show last authors
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.9em;
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
43 table.layout-table-root.responsive-table thead tr.column-filters th {
44 background-color: #fafafa;
45 border: 1px solid #bbb;
46 padding: 4px 5px;
47 }
48
49 /* Filter-Eingabefelder */
50 table.layout-table-root.responsive-table .livedata-filter {
51 width: 100%;
52 box-sizing: border-box;
53 }
54
55 table.layout-table-root.responsive-table .filter-text,
56 table.layout-table-root.responsive-table .filter-date {
57 width: 100%;
58 box-sizing: border-box;
59 min-height: 28px;
60 }
61
62 /* Selectize-Filter */
63 table.layout-table-root.responsive-table .selectize-control {
64 width: 100%;
65 }
66
67 table.layout-table-root.responsive-table .selectize-input {
68 min-height: 28px;
69 padding: 4px 6px;
70 box-sizing: border-box;
71 }
72
73 /* =========================================================
74 Datenzellen
75 ========================================================= */
76
77 table.layout-table-root.responsive-table tbody td {
78 border: 1px solid #bbb;
79 padding: 6px 6px;
80 vertical-align: top;
81 overflow-wrap: break-word;
82 word-wrap: break-word;
83 }
84
85 /* =========================================================
86 Spaltenbreiten
87 ========================================================= */
88
89 /* =========================================================
90 Spaltenbreiten
91 Reihenfolge:
92 1 atc_code
93 2 drug_name
94 3 trade_name
95 4 chop_code
96 5 text_de
97 6 text_fr
98 7 text_it
99 8 incidence_year
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: 5%;
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: 13%;
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: 13%;
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: 5%;
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: 19%;
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: 19%;
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: 19%;
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: 6%;
140 }
141
142
143 /* =========================================================
144 Header-Ausrichtung
145 ========================================================= */
146
147 table.layout-table-root.responsive-table th[data-title="atc_code"],
148 table.layout-table-root.responsive-table th[data-title="drug_name"],
149 table.layout-table-root.responsive-table th[data-title="trade_name"],
150 table.layout-table-root.responsive-table th[data-title="text_de"],
151 table.layout-table-root.responsive-table th[data-title="text_fr"],
152 table.layout-table-root.responsive-table th[data-title="text_it"]
153 table.layout-table-root.responsive-table th[data-title="incidence_year",{
154 text-align: center;
155 }
156
157 </style>
158 {{/html}}
159
160
161 {{liveData
162 id="drug_list.livetable"
163 properties="atc_code,drug_name,trade_name,chop_code,chop_text_de,chop_text_fr,chop_text_it,incidence_year"
164 source="liveTable"
165 sourceParameters="className=Drug_list.Code.Drug_listClass&translationPrefix=drug_list.livetable."
166 sort="incidence_year:asc"
167 limit="50"
168 layouts="table"
169 showPageSizeDropdown="true"
170 pageSizes="25,50,75,100"
171 }}