Wiki source code of Drug_list

Version 11.1 by Marco Weber on 2026/10/20 14:02

Hide last authors
Marco Weber 9.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
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 text_de
96 5 text_fr
97 6 text_it
98 7 incidence_year
99 ========================================================= */
100
101 table.layout-table-root.responsive-table th:nth-child(1),
102 table.layout-table-root.responsive-table td:nth-child(1) {
103 width: 5%;
104 }
105
106 table.layout-table-root.responsive-table th:nth-child(2),
107 table.layout-table-root.responsive-table td:nth-child(2) {
Marco Weber 10.1 108 width: 15%;
Marco Weber 9.1 109 }
110
111 table.layout-table-root.responsive-table th:nth-child(3),
112 table.layout-table-root.responsive-table td:nth-child(3) {
Marco Weber 10.1 113 width: 15%;
Marco Weber 9.1 114 }
115
116 table.layout-table-root.responsive-table th:nth-child(4),
117 table.layout-table-root.responsive-table td:nth-child(4) {
Marco Weber 10.1 118 width: 20%;
Marco Weber 9.1 119 }
120
121 table.layout-table-root.responsive-table th:nth-child(5),
122 table.layout-table-root.responsive-table td:nth-child(5) {
Marco Weber 10.1 123 width: 20%;
Marco Weber 9.1 124 }
125
Marco Weber 11.1 126 table.layout-table-root.responsive-table th:nth-child(7),
127 table.layout-table-root.responsive-table td:nth-child(7) {
Marco Weber 10.1 128 width: 20%;
Marco Weber 9.1 129 }
130
Marco Weber 11.1 131 table.layout-table-root.responsive-table th:nth-child(8),
132 table.layout-table-root.responsive-table td:nth-child(8) {
Marco Weber 9.1 133 width: 5%;
134 }
135
136
137 /* =========================================================
138 Header-Ausrichtung
139 ========================================================= */
140
141 table.layout-table-root.responsive-table th[data-title="atc_code"],
142 table.layout-table-root.responsive-table th[data-title="drug_name"],
143 table.layout-table-root.responsive-table th[data-title="trade_name"],
144 table.layout-table-root.responsive-table th[data-title="text_de"],
145 table.layout-table-root.responsive-table th[data-title="text_fr"],
146 table.layout-table-root.responsive-table th[data-title="text_it"]
147 table.layout-table-root.responsive-table th[data-title="incidence_year",{
148 text-align: center;
149 }
150
151 </style>
152 {{/html}}
153
154
155 {{liveData
156 id="drug_list.livetable"
157 properties="atc_code,drug_name,trade_name,chop_code,chop_text_de,chop_text_fr,chop_text_it,incidence_year"
158 source="liveTable"
159 sourceParameters="className=Drug_list.Code.Drug_listClass&translationPrefix=drug_list.livetable."
160 sort="incidence_year:asc"
161 limit="50"
162 layouts="table"
163 showPageSizeDropdown="true"
164 pageSizes="25,50,75,100"
165 }}