diff --git a/htdocs/css/openwebrx.css b/htdocs/css/openwebrx.css index d8499e77..10ad9d84 100644 --- a/htdocs/css/openwebrx.css +++ b/htdocs/css/openwebrx.css @@ -537,6 +537,22 @@ img.openwebrx-mirror-img width:110px; } + +#openwebrx-panel-receiver .frequencies-container { + display: flex; + flex-direction: row; +} + +#openwebrx-panel-receiver .frequencies { + flex-grow: 1; +} + +#openwebrx-panel-receiver .openwebrx-bookmark-button { + width: 27px; + height: 27px; + text-align: center; +} + #openwebrx-mute-on { color: lime; @@ -566,6 +582,10 @@ img.openwebrx-mirror-img padding-top: 5px; } +.openwebrx-panel-line:first-child { + padding-top: 0; +} + #openwebrx-smeter-outer { border-color: #888; diff --git a/htdocs/gfx/openwebrx-bookmark.png b/htdocs/gfx/openwebrx-bookmark.png new file mode 100644 index 00000000..bf1164bf Binary files /dev/null and b/htdocs/gfx/openwebrx-bookmark.png differ diff --git a/htdocs/index.html b/htdocs/index.html index d44c6db3..f1d37d4f 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -46,8 +46,15 @@
-
---.--- MHz
-
---.--- MHz
+
+
+
---.--- MHz
+
---.--- MHz
+
+ +
diff --git a/htdocs/openwebrx.js b/htdocs/openwebrx.js index 157bc73e..c409555b 100644 --- a/htdocs/openwebrx.js +++ b/htdocs/openwebrx.js @@ -1365,6 +1365,13 @@ function init_bookmarks() { demodulator_analog_replace(b.modulation); $bookmark.addClass('selected'); }); + + $bookmarkButton = $('#openwebrx-panel-receiver .openwebrx-bookmark-button'); + if (typeof(Storage) !== 'undefined') { + $bookmarkButton.show(); + } else { + $bookmarkButton.hide(); + } } var dial_frequencies = [];