mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 03:49:53 +03:00
Update layout of the defaults dialog
This commit is contained in:
parent
49ad8fae03
commit
d46b797830
3 changed files with 27 additions and 1 deletions
|
@ -1,6 +1,19 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var defaultsDialogData = [
|
var defaultsDialogData = [
|
||||||
|
{
|
||||||
|
"title": 'Wizard',
|
||||||
|
"id": 76,
|
||||||
|
"notRecommended": false,
|
||||||
|
"reboot": true,
|
||||||
|
"wizardPages": ['receiver', 'outputs', 'gps', 'filters', 'pids'],
|
||||||
|
"settings": [
|
||||||
|
{
|
||||||
|
key: "applied_defaults",
|
||||||
|
value: 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": 'Mini Quad with 3" propellers',
|
"title": 'Mini Quad with 3" propellers',
|
||||||
"id": 6,
|
"id": 6,
|
||||||
|
|
|
@ -40,6 +40,19 @@
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.defaults-dialog__wizard {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.defaults-dialog__wizard > div {
|
||||||
|
margin-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.defaults-dialog__wizard label {
|
||||||
|
min-width: 30%;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
.defaults-dialog__content--wrapper {
|
.defaults-dialog__content--wrapper {
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<h2>Receiver wizard</h2>
|
<h2>Receiver wizard</h2>
|
||||||
<div>
|
<div>
|
||||||
<label for="wizard-receiver-port">Receiver Serial Port</label><select id="wizard-receiver-port"/>
|
<label for="wizard-receiver-port">Receiver Serial Port</label><select id="wizard-receiver-port"></select>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<label for="wizard-receiver-protocol">Receiver Protocol</label><select id="wizard-receiver-protocol" data-setting="serialrx_provider"></select>
|
<label for="wizard-receiver-protocol">Receiver Protocol</label><select id="wizard-receiver-protocol" data-setting="serialrx_provider"></select>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue