1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-25 01:05:12 +03:00

Make info more specific

This commit is contained in:
Pawel Spychalski (DzikuVx) 2020-04-02 18:27:54 +02:00
parent f916a1f0bd
commit fa7b29be7d
3 changed files with 6 additions and 1 deletions

View file

@ -3281,6 +3281,9 @@
"defaultsDialogInfo": { "defaultsDialogInfo": {
"message": "INAV Configurator would like to know which kind of UAV you are configuring. Based on this information it will modify some default values to unlock the best flying performance. " "message": "INAV Configurator would like to know which kind of UAV you are configuring. Based on this information it will modify some default values to unlock the best flying performance. "
}, },
"defaultsDialogInfo2": {
"message": "Avoid blindly restoring all PID and filter configuration from the previous version of INAV. The best result can be obtained by retuning from defaults!"
},
"throttleIdle": { "throttleIdle": {
"message": "Motors IDLE power [%]" "message": "Motors IDLE power [%]"
}, },

View file

@ -296,6 +296,7 @@
<div class="tab_title" data-i18n="defaultsDialogTitle"></div> <div class="tab_title" data-i18n="defaultsDialogTitle"></div>
<div class="defaults-dialog__content--wrapper"> <div class="defaults-dialog__content--wrapper">
<p class="defaults-dialog__info" data-i18n="defaultsDialogInfo"></p> <p class="defaults-dialog__info" data-i18n="defaultsDialogInfo"></p>
<p class="defaults-dialog__info" data-i18n="defaultsDialogInfo2"></p>
<div class="defaults-dialog__options"></div> <div class="defaults-dialog__options"></div>
</div> </div>
</div> </div>

View file

@ -15,7 +15,7 @@
z-index: 2002; z-index: 2002;
position: absolute; position: absolute;
width: 500px; width: 500px;
height: 320px; height: 400px;
overflow-y: auto; overflow-y: auto;
top: 0; top: 0;
bottom: 0; bottom: 0;
@ -31,6 +31,7 @@
.defaults-dialog__info { .defaults-dialog__info {
font-size: 1.3em; font-size: 1.3em;
margin-bottom: 1em;
} }
.defaults_btn { .defaults_btn {