diff --git a/band-plan-de.yml b/band-plan-de.yml index bd0d1fe..df67a59 100644 --- a/band-plan-de.yml +++ b/band-plan-de.yml @@ -5,6 +5,8 @@ power_e: Power E, power_n: Power N } + comments: + - Status: "P: Primär dem Amateurfunk zugewiesen, P+: Primär (weitgehend exklusiv) dem Amateurfunk zugewiesen, S: Sekundär dem Amateurfunk zugewiesen" - frequency: 135.7-137.8 power: {a: 1 W ERP} - frequency: 472-479 diff --git a/band-plan.html b/band-plan.html index e32267b..e9adc09 100644 --- a/band-plan.html +++ b/band-plan.html @@ -133,6 +133,20 @@ div>label { } }); } + + function fill_comments(header) { + for (const [key, value] of Object.entries(header)) { + if (typeof value.comments !== "undefined") { + let s = ""; + value.comments.forEach((comment) => { + for (const [ckey, cvalue] of Object.entries(comment)) { + s += ckey + ": " + cvalue + "
"; + } + }); + document.getElementById("comments_" + key).innerHTML = s; + } + }; + } function update_table(bases, extensions) { let tdata = []; @@ -157,6 +171,8 @@ div>label { } }); + fill_comments(header); + // then fill tdata let already_added = false; extensions.forEach((ext) => { @@ -331,6 +347,8 @@ div>label {
+
+

This information is supplied without liability.

Source is at https://src.dm5wk.de/dm5wk/band-plan-web/