mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29: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';
|
||||
|
||||
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',
|
||||
"id": 6,
|
||||
|
|
|
@ -40,6 +40,19 @@
|
|||
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 {
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>Receiver wizard</h2>
|
||||
<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>
|
||||
<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