mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
Add Race Transponder configuration support.
Also cleans up i18n support for 'features' and adds tooltip support for them on the configuration tab.
This commit is contained in:
parent
5c2273bd65
commit
1a58bfcf82
13 changed files with 490 additions and 37 deletions
11
js/gui.js
11
js/gui.js
|
@ -19,6 +19,7 @@ var GUI_control = function () {
|
|||
];
|
||||
this.defaultAllowedTabsWhenConnected = [
|
||||
'failsafe',
|
||||
'transponder',
|
||||
'adjustments',
|
||||
'auxiliary',
|
||||
'cli',
|
||||
|
@ -275,10 +276,12 @@ GUI_control.prototype.content_ready = function (callback) {
|
|||
$(elem).removeClass('togglemedium');
|
||||
});
|
||||
|
||||
// Build link to in-use CF version documentation
|
||||
var documentationButton = $('div#content #button-documentation');
|
||||
documentationButton.html("Documentation for "+CONFIG.flightControllerVersion);
|
||||
documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
|
||||
if (CONFIGURATOR.connectionValid) {
|
||||
// Build link to in-use CF version documentation
|
||||
var documentationButton = $('div#content #button-documentation');
|
||||
documentationButton.html("Documentation for " + CONFIG.flightControllerVersion);
|
||||
documentationButton.attr("href","https://github.com/cleanflight/cleanflight/tree/v{0}/docs".format(CONFIG.flightControllerVersion));
|
||||
}
|
||||
|
||||
// loading tooltip
|
||||
jQuery(document).ready(function($) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue