Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/iNavFlight/inav-configurator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2020-04-05 21:07:20 +0300
committerPawel Spychalski (DzikuVx) <pspychalski@gmail.com>2020-04-05 21:07:20 +0300
commita15277ae250dca83da5414f456dee581bfdc686a (patch)
treeb84e9d6e6c61bbca130f910957a43e788253f44a
parente7d26a5759e081ca798fd4ed5c09ade322067f23 (diff)
Basic layout for global functions
-rwxr-xr-x_locales/en/messages.json21
-rw-r--r--tabs/programming.html20
2 files changed, 40 insertions, 1 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json
index 0b10ea10..1f2d4802 100755
--- a/_locales/en/messages.json
+++ b/_locales/en/messages.json
@@ -3304,5 +3304,26 @@
},
"dynamic_gyro_notch_enabled_help": {
"message": "Matrix Gyro Filter is the new generation of dynamic gyro notches available in INAV. It is recommended to enable it on all Multirotor builds on F4 and F7 flight controllers."
+ },
+ "globalFunctions": {
+ "message": "Global functions"
+ },
+ "functionId": {
+ "message": "#"
+ },
+ "functionEnabled": {
+ "message": "Enabled"
+ },
+ "functionLogicId": {
+ "message": "Activation Logic Condition"
+ },
+ "functionAction": {
+ "message": "Action"
+ },
+ "functionOperand": {
+ "message": "Operand"
+ },
+ "functionFlags": {
+ "message": "Flags"
}
}
diff --git a/tabs/programming.html b/tabs/programming.html
index becaf502..4e4ba967 100644
--- a/tabs/programming.html
+++ b/tabs/programming.html
@@ -12,7 +12,25 @@
<th style="width: 120px" data-i18n="logicOperation"></th>
<th data-i18n="logicOperandA"></th>
<th data-i18n="logicOperandB"></th>
- <th data-i18n="logicFlags"></th>
+ <th style="width: 40px" data-i18n="logicFlags"></th>
+ </tr>
+ </thead>
+ <tbody>
+ </tbody>
+ </table>
+ </div>
+
+ <div id="functions-wrapper">
+ <div class="tab_subtitle tab_subtitle--no-border" data-i18n="globalFunctions"></div>
+ <table class="mixer-table function__table">
+ <thead>
+ <tr>
+ <th style="width: 50px" data-i18n="functionId"></th>
+ <th style="width: 80px" data-i18n="functionEnabled"></th>
+ <th style="width: 120px" data-i18n="functionLogicId"></th>
+ <th data-i18n="functionAction"></th>
+ <th data-i18n="functionOperand"></th>
+ <th data-i18n="functionFlags"></th>
</tr>
</thead>
<tbody>