mirror of
https://github.com/jketterl/openwebrx.git
synced 2025-12-06 07:12:09 +01:00
some minor styling
This commit is contained in:
parent
ad1b693dcb
commit
049e16f2cb
|
|
@ -1380,3 +1380,21 @@ img.openwebrx-mirror-img
|
||||||
.rds-container .rds-radiotext-plus .rds-rtplus-homepage:not(:empty):before {
|
.rds-container .rds-radiotext-plus .rds-rtplus-homepage:not(:empty):before {
|
||||||
content: "🔗 ";
|
content: "🔗 ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#openwebrx-panel-metadata-dab {
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#openwebrx-panel-metadata-dab .dab-container {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dab-container label {
|
||||||
|
display: block;
|
||||||
|
margin: 5px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dab-container select#dab-service-id {
|
||||||
|
width: 100%;
|
||||||
|
padding: 3px;
|
||||||
|
}
|
||||||
|
|
@ -554,11 +554,17 @@ function DabMetaPanel(el) {
|
||||||
MetaPanel.call(this, el);
|
MetaPanel.call(this, el);
|
||||||
this.modes = ['DAB'];
|
this.modes = ['DAB'];
|
||||||
this.$select = $('<select id="dab-service-id"></select>');
|
this.$select = $('<select id="dab-service-id"></select>');
|
||||||
$(this.el).append(this.$select);
|
|
||||||
this.$select.on("change", function() {
|
this.$select.on("change", function() {
|
||||||
var service_id = parseInt($(this).val());
|
var service_id = parseInt($(this).val());
|
||||||
$('#openwebrx-panel-receiver').demodulatorPanel().getDemodulator().setDabServiceId(service_id);
|
$('#openwebrx-panel-receiver').demodulatorPanel().getDemodulator().setDabServiceId(service_id);
|
||||||
});
|
});
|
||||||
|
var $container = $(
|
||||||
|
'<div class="dab-container">' +
|
||||||
|
'<label for="dab-service-id">DAB Service:</label>' +
|
||||||
|
'</div>'
|
||||||
|
);
|
||||||
|
$container.append(this.$select);
|
||||||
|
$(this.el).append($container);
|
||||||
this.clear();
|
this.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue