From 322582d29b612d2c07955cc072d3771462c55f01 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Tue, 8 Jun 2021 13:37:13 +0200 Subject: [PATCH] add dstar metadata panel --- htdocs/css/openwebrx.css | 15 +++++++++- htdocs/index.html | 12 ++++++++ htdocs/lib/MetaPanel.js | 64 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 89 insertions(+), 2 deletions(-) diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 434f4103..f3d19a45 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -1049,7 +1049,8 @@ img.openwebrx-mirror-img } .openwebrx-meta-slot.active.direct .openwebrx-meta-user-image .directcall, -#openwebrx-panel-metadata-ysf .openwebrx-meta-slot.active .openwebrx-meta-user-image .directcall { +#openwebrx-panel-metadata-ysf .openwebrx-meta-slot.active .openwebrx-meta-user-image .directcall, +#openwebrx-panel-metadata-dstar .openwebrx-meta-slot.active .openwebrx-meta-user-image .directall { display: initial; } @@ -1082,6 +1083,18 @@ img.openwebrx-mirror-img content: "Down: "; } +.openwebrx-dstar-yourcall:not(:empty):before { + content: "To: "; +} + +.openwebrx-dstar-destination:not(:empty):before { + content: "Destination: "; +} + +.openwebrx-dstar-departure:not(:empty):before { + content: "Departure: "; +} + .openwebrx-maps-pin svg { width: 15px; height: 15px; diff --git a/htdocs/index.html b/htdocs/index.html index f02166bc..ad7c7f7b 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -85,6 +85,18 @@
+