diff --git a/_locales/en/messages.json b/_locales/en/messages.json old mode 100755 new mode 100644 index 7e4902995..64b93ebc6 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -772,10 +772,10 @@ }, "portsIdentifier": { - "message": "Port Identifier" + "message": "Identifier" }, "portsConfiguration": { - "message": "Configuration" + "message": "Configuration/MSP" }, "portsSerialRx": { "message": "Serial Rx" @@ -828,6 +828,18 @@ "portsFunction_TELEMETRY_SMARTPORT": { "message": "SmartPort" }, + "portsFunction_TELEMETRY_IBUS": { + "message": "iBUS" + }, + "portsFunction_TELEMETRY_JETIXBUS": { + "message": "JETIXBUS" + }, + "portsFunction_TELEMETRY_CRSF": { + "message": "CRSF" + }, + "portsFunction_TELEMETRY_SRXL": { + "message": "SRXL" + }, "portsFunction_ESC_SENSOR": { "message": "ESC" }, @@ -843,9 +855,6 @@ "portsFunction_IRC_TRAMP": { "message": "IRC Tramp" }, - "portsFunction_TELEMETRY_IBUS": { - "message": "iBUS Telemetry" - }, "pidTuningUpgradeFirmwareToChangePidController": { "message": "Changing PID controller disabled - you can change it via the CLI. You have firmware with API version $1, but this functionality requires requires $2." }, diff --git a/tabs/ports.css b/tabs/ports.css index 025490c72..04728aaf5 100644 --- a/tabs/ports.css +++ b/tabs/ports.css @@ -72,8 +72,22 @@ display: none; } +/* margin required when cell contents wrap */ +.tab-ports .ports select { + margin-top: 5px; + margin-bottom: 5px; +} + +.tab-ports .ports select[name=function-peripherals], +.tab-ports .ports select[name=function-telemetry] { + max-width: 110px; +} + +.tab-ports .ports td { + text-align: center; +} + .tab-ports .ports thead td { - text-align: left; white-space: nowrap; padding: 5px 7px; background-color: #828885; @@ -81,6 +95,7 @@ } .tab-ports .ports thead td:first-child { + text-align: left; border-top-left-radius: 5px; border-left: 0px; } diff --git a/tabs/ports.js b/tabs/ports.js index de052a1e9..134249adf 100644 --- a/tabs/ports.js +++ b/tabs/ports.js @@ -209,7 +209,7 @@ TABS.ports.initialize = function (callback, scrollPosition) { var select_e; if (column !== 'telemetry' && column !== 'sensors' && column !== 'peripherals') { var checkboxId = 'functionCheckbox-' + portIndex + '-' + columnIndex + '-' + i; - functions_e.prepend(''); + functions_e.prepend(''); if (serialPort.functions.indexOf(functionName) >= 0) { var checkbox_e = functions_e.find('#' + checkboxId);