diff --git a/client/dashboard.css b/client/dashboard.css index 8d04e20..d190517 100644 --- a/client/dashboard.css +++ b/client/dashboard.css @@ -17,7 +17,7 @@ td , caption , th { border: 1px solid black; background-color: Lime; } -#lhtable caption , #linktable caption , #repeaters caption { +#lhtable caption , #linktable caption , #rptrtable caption { font-weight : bold; font-size : 2em; color : white; @@ -25,6 +25,6 @@ td , caption , th { width : 100%; } -#linktable , #lhtable , #repeaters { +#linktable , #lhtable , #rptrtable { width: 100%; } diff --git a/client/script.js b/client/script.js index 4f3c438..56d6a59 100644 --- a/client/script.js +++ b/client/script.js @@ -32,10 +32,14 @@ socket.addEventListener("links", data => { socket.addEventListener("repeaters", data => { $("#repeaters").empty(); $("#repeaters").append("
Callsign | Frequency | Offset | ||
---|---|---|---|---|
Callsign | Frequency | Offset | Description | " + + "Location |
" + val.callsign + " | " + val.frequency + - " Mhz. | " + val.offset + " Mhz. | " + val.offset + " Mhz. | " + val.description1 + " - " + + val.description2 + + " | " + val.latitude + " " + val.longitude + " | "); }); }); diff --git a/index.js b/index.js index f467915..52f747d 100644 --- a/index.js +++ b/index.js @@ -66,7 +66,8 @@ function buildrepeaters(){ } callsign += " " + rptr.band; repeaterlist.push({'callsign':callsign,'frequency':rptr.frequency, - 'offset':rptr.offset,'type':rptr.type}); + 'offset':rptr.offset,'type':rptr.type,'description1' :rptr.description1, + 'description2':rptr.description2,'latitude':rptr.latitude, 'longitude': rptr.longitude}); } }