diff --git a/_locales/en/messages.json b/_locales/en/messages.json index e5ae2fdc..97e3c220 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -55,7 +55,9 @@ "configMigrationSuccessful": { "message": "Configuration migration complete, migrations applied: $1" }, - + "documentation": { + "message": "Documentation" + }, "tabFirmwareFlasher": { "message": "Firmware Flasher" }, diff --git a/js/gui.js b/js/gui.js index 3629878c..12a17a64 100644 --- a/js/gui.js +++ b/js/gui.js @@ -164,12 +164,13 @@ GUI_control.prototype.content_ready = function (callback) { $(elem).removeClass('togglemedium'); }); - if (CONFIGURATOR.connectionValid) { - // Build link to in-use CF version documentation - var documentationButton = $('div#content #button-documentation'); - documentationButton.html("Documentation for INAV"); - documentationButton.attr("href","https://github.com/iNavFlight/inav/wiki"); - } + // Insert a documentation button next to the tab title + const tabTitle = $('div#content .tab_title'); + const documentationDiv = $('
').addClass('cf_doc_version_bt'); + $('').attr('href', 'https://github.com/iNavFlight/inav/wiki') + .attr('target', '_blank').attr('id', 'button-documentation') + .html(chrome.i18n.getMessage('documentation')).appendTo(documentationDiv); + documentationDiv.insertAfter(tabTitle); // loading tooltip jQuery(document).ready(function($) { diff --git a/tabs/adjustments.html b/tabs/adjustments.html index c9e720ea..76aaf0bf 100644 --- a/tabs/adjustments.html +++ b/tabs/adjustments.html @@ -1,9 +1,6 @@
-
- -

diff --git a/tabs/auxiliary.html b/tabs/auxiliary.html index 474240c1..10858453 100644 --- a/tabs/auxiliary.html +++ b/tabs/auxiliary.html @@ -1,9 +1,6 @@
tabAuxiliary
-
- -

@@ -55,4 +52,4 @@  
-
\ No newline at end of file +
diff --git a/tabs/calibration.html b/tabs/calibration.html index a68cbeca..8fc495da 100755 --- a/tabs/calibration.html +++ b/tabs/calibration.html @@ -3,9 +3,6 @@
Calibration
-
- -
diff --git a/tabs/configuration.html b/tabs/configuration.html index bc11cd21..87d8b5a7 100644 --- a/tabs/configuration.html +++ b/tabs/configuration.html @@ -1,9 +1,6 @@
Configuration
-
- -

diff --git a/tabs/failsafe.html b/tabs/failsafe.html index b7bf0807..4aacf70f 100644 --- a/tabs/failsafe.html +++ b/tabs/failsafe.html @@ -1,9 +1,6 @@
Failsafe
-
- -
diff --git a/tabs/gps.html b/tabs/gps.html index ba5f9db7..fcf63036 100644 --- a/tabs/gps.html +++ b/tabs/gps.html @@ -1,11 +1,6 @@
GPS
-
- -
- -
diff --git a/tabs/led_strip.html b/tabs/led_strip.html index 5b425b5f..5fed7bc6 100644 --- a/tabs/led_strip.html +++ b/tabs/led_strip.html @@ -1,9 +1,6 @@
-
- -

diff --git a/tabs/logging.html b/tabs/logging.html index fdbed45f..78a7c279 100755 --- a/tabs/logging.html +++ b/tabs/logging.html @@ -1,9 +1,6 @@
-
- -

@@ -78,4 +75,4 @@
-
\ No newline at end of file +
diff --git a/tabs/mission_control.html b/tabs/mission_control.html index 42c2d116..92ef77c3 100644 --- a/tabs/mission_control.html +++ b/tabs/mission_control.html @@ -1,9 +1,6 @@
Mission planer
-
- -
diff --git a/tabs/onboard_logging.html b/tabs/onboard_logging.html index ea7607d6..d75a95ae 100644 --- a/tabs/onboard_logging.html +++ b/tabs/onboard_logging.html @@ -2,9 +2,6 @@
-
- -
diff --git a/tabs/osd.html b/tabs/osd.html index dab496e2..439f7095 100644 --- a/tabs/osd.html +++ b/tabs/osd.html @@ -3,9 +3,6 @@

OSD

-
- -

Your flight controller isn't responding to OSD commands. This probably means that it does not have an integrated OSD.

Note that some flight controllers have an onboard MinimOSD that can be flashed and configured with scarab-osd, however the MinimOSD cannot be configured through this interface.

diff --git a/tabs/ports.html b/tabs/ports.html index 75bf8a7b..1a73d3ff 100644 --- a/tabs/ports.html +++ b/tabs/ports.html @@ -2,9 +2,6 @@
Ports
-
- -
diff --git a/tabs/receiver.html b/tabs/receiver.html index 5827edd9..bf153903 100644 --- a/tabs/receiver.html +++ b/tabs/receiver.html @@ -2,9 +2,6 @@
-
- -

diff --git a/tabs/sensors.html b/tabs/sensors.html index 8acb2b2c..6f0063a8 100644 --- a/tabs/sensors.html +++ b/tabs/sensors.html @@ -1,10 +1,6 @@
tabRawSensorData
-
- -
-

Keep in mind that using fast update periods and rendering multiple graphs at diff --git a/tabs/setup.html b/tabs/setup.html index 0e5974c2..b935a459 100644 --- a/tabs/setup.html +++ b/tabs/setup.html @@ -3,9 +3,6 @@

Setup
-
- -
diff --git a/tabs/transponder.html b/tabs/transponder.html index 1af28514..c1bb2e19 100644 --- a/tabs/transponder.html +++ b/tabs/transponder.html @@ -1,10 +1,6 @@
Transponder
-
- -
-

@@ -49,4 +45,4 @@
-
\ No newline at end of file +