diff --git a/_locales/en/messages.json b/_locales/en/messages.json index b114f935..ac36b68a 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1040,7 +1040,7 @@ "message": "Motor Test Mode Notice:
Moving the sliders will cause the motors to spin up.
In order to prevent injury remove ALL propellers before using this feature.
" }, "motorsEnableControl": { - "message": "I understand the risks, propellors are removed - Enable motor control." + "message": "I understand the risks, propellers are removed - Enable motor control." }, "sensorsInfo": { @@ -1274,7 +1274,7 @@ "message": "Recovery / Lost communication" }, "firmwareFlasherRecoveryText": { - "message": "If you have lost comminication with your board follow these steps to restore communication: " + "message": "If you have lost communication with your board follow these steps to restore communication: " }, "firmwareFlasherButtonLeave": { "message": "Leave Firmware Flasher" @@ -1426,6 +1426,12 @@ "failsafeChannelFallbackSettingsHelp": { "message": "These settings are applied to invalid individual AUX channels or to all channels when entering stage 1. Note: values are saved in steps of 25usec, so small changes disappear" }, + "failsafeChannelFallbackSettingsAuto": { + "message": "Auto means Roll, Pitch and Yaw to center and Throttle low. Hold means maintain the last good value received" + }, + "failsafeChannelFallbackSettingsHold": { + "message": "Hold means maintain the last good value received. Set means the value given here will be used" + }, "failsafeStageTwoSettingsTitle": { "message": "Stage 2 - Settings" }, diff --git a/js/gui.js b/js/gui.js index 3707fcd3..c93bda8e 100644 --- a/js/gui.js +++ b/js/gui.js @@ -287,8 +287,7 @@ GUI_control.prototype.content_ready = function (callback) { }); $('.cf_tip').each(function() { - $(this).jBox('Tooltip', { - content: $(this).children('.cf_tooltiptext'), + $(this).jBox('Tooltip', { delayOpen: 100, delayClose: 100, position: { diff --git a/tabs/failsafe.css b/tabs/failsafe.css index 68093b67..93aad0a5 100644 --- a/tabs/failsafe.css +++ b/tabs/failsafe.css @@ -211,10 +211,31 @@ margin-right: 3px; } +.tab-failsafe .channelprimary { + float:left; + width:60%; +} + +.tab-failsafe .channelauxiliary { + float:left; + width:60%; + padding-top: 2px; +} + .tab-failsafe .channelname { margin-right: 3px; } +.tab-failsafe .channelsetting { + float:left; + width:25%; +} + +.tab-failsafe .auxiliary { + float:left; + width:15%; +} + .tab-failsafe .note { margin-bottom: 20px; } diff --git a/tabs/failsafe.html b/tabs/failsafe.html index ee768da0..1b0951b0 100644 --- a/tabs/failsafe.html +++ b/tabs/failsafe.html @@ -39,9 +39,7 @@
-
-
-
+
@@ -59,9 +57,7 @@
-
-
-
+
@@ -82,9 +78,7 @@
-
-
-
+
@@ -92,25 +86,19 @@
-
-
-
+
-
-
-
+
-
-
-
+
@@ -133,9 +121,7 @@ -
-
-
+
diff --git a/tabs/failsafe.js b/tabs/failsafe.js index 891bbed9..620c22fb 100644 --- a/tabs/failsafe.js +++ b/tabs/failsafe.js @@ -126,34 +126,31 @@ TABS.failsafe.initialize = function (callback, scrollPosition) { if (i < channelNames.length) { fullChannels_e.append('\
\ -
\ +
\ ' + channelNames[i] + '\
\ -
\ - \ +
\ \
\ -
\
\ '); } else { fullChannels_e.append('\
\ -
\ +
\ ' + chrome.i18n.getMessage("controlAxisAux" + (aux_index++)) + '\ ' + auxAssignment[aux_assignment_index++] + '\
\ -
\ - \ +
\ \
\ -
\ +
\
\ '); }