From 41f94070246bcfd24c01c420ec8db94d577d4208 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Sat, 16 Jan 2021 19:40:22 +0100 Subject: [PATCH] re-package code for meta panels into classes --- htdocs/css/openwebrx.css | 7 +- htdocs/index.html | 42 ++++++------ htdocs/lib/DemodulatorPanel.js | 7 +- htdocs/lib/MetaPanel.js | 119 +++++++++++++++++++++++++++++++++ htdocs/openwebrx.js | 77 ++------------------- owrx/controllers/assets.py | 1 + 6 files changed, 156 insertions(+), 97 deletions(-) create mode 100644 htdocs/lib/MetaPanel.js diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index 2ed969a..7111e02 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -908,10 +908,15 @@ img.openwebrx-mirror-img border-color: Red; } +.openwebrx-meta-panel { + display: flex; + flex-direction: row; +} + .openwebrx-meta-slot { + flex: 1; width: 145px; height: 196px; - float: left; margin-right: 10px; background-color: #676767; diff --git a/htdocs/index.html b/htdocs/index.html index 61df568..742cfab 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -65,32 +65,28 @@