diff options
author | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2020-10-24 11:18:28 +0300 |
---|---|---|
committer | Pawel Spychalski (DzikuVx) <pspychalski@gmail.com> | 2020-10-24 11:18:28 +0300 |
commit | f45f82a02021597d5ed084228af5a42a12525725 (patch) | |
tree | 9029b73de70aa0668089f9a5d6e290cafc55fcbd | |
parent | d4f253ab868da6ed37ef79276970bd2f97ebe813 (diff) |
Add wizard information
-rwxr-xr-x | _locales/en/messages.json | 5 | ||||
-rw-r--r-- | main.css | 6 | ||||
-rw-r--r-- | tabs/mixer.html | 3 | ||||
-rw-r--r-- | tabs/mixer.js | 2 |
4 files changed, 13 insertions, 3 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 0f45ad83..56582f22 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1384,7 +1384,10 @@ "message": "Mixer <span style=\"color: #37a8db\">saved</span>" }, "mixerWizard": { - "message": "Motor wizard" + "message": "Mixer wizard" + }, + "mixerWizardInfo": { + "message":"<ol><li>Remove propellers</li><li>Connect LiPo and use Outputs Tab to test all motors</li><li>Note the position of each motor (motor #1 - Left Top and so on)</li><li>Fill the table below</li></ol>" }, "gpsHead": { "message": "GPS" @@ -2152,3 +2152,9 @@ select { .subtab__content--current { display: block; } + +ol li { + list-style: decimal; + padding-left: 0.5em; + margin-left: 1em; +}
\ No newline at end of file diff --git a/tabs/mixer.html b/tabs/mixer.html index ab36b50f..844a4923 100644 --- a/tabs/mixer.html +++ b/tabs/mixer.html @@ -173,7 +173,8 @@ <div class="modal__content"> <h1 class="modal__title modal__title--warning" data-i18n="mixerWizardModalTitle"></h1> <div class="modal__text"> - <table class="mixer-table"> + <p data-i18n="mixerWizardInfo"></p> + <table style="margin-top: 1em;" class="mixer-table"> <thead> <th data-i18n="mixerWizardMotorPosition"></th> <th data-i18n="mixerWizardMotorIndex"></th> diff --git a/tabs/mixer.js b/tabs/mixer.js index 58800fd2..3a518eef 100644 --- a/tabs/mixer.js +++ b/tabs/mixer.js @@ -289,7 +289,7 @@ TABS.mixer.initialize = function (callback, scrollPosition) { motorWizardModal = new jBox('Modal', { width: 480, - height: 320, + height: 410, closeButton: 'title', animation: false, attach: $wizardButton, |