@ -17,7 +17,7 @@
-->
<div mat-dialog-content tb-toast fxLayout="column" toastTarget="dockerCommandDialogContent">
<span style="padding-bottom: 15px;">In order to run ThingsBoard IoT gateway (<a [href]="helpLink" target="_blank">ThingsBoard IoT gateway</a>) in docker with credentials for this device you can use the following commands.</span>
<div fxFlex fxLayout="row" style="justify-content: space-between">
<div fxFlex fxLayout="row" style="justify-content: space-between; flex-grow: 0">
<mat-button-toggle-group [formControl]="selectedOSCControl" aria-label="Favorite Color" style="width: max-content; flex-grow: 0">
<mat-button-toggle [value]="osTypes.windows"><span translate>gateway.windows </span></mat-button-toggle>
<mat-button-toggle [value]="osTypes.linux"><span translate>gateway.linux-macos </span></mat-button-toggle>
@ -461,7 +461,7 @@ export class GatewayConfigurationComponent implements OnInit {
const attributes = [];
attributes.push({
key: 'RemoteLoggingLevel',
value: value.logs.remote.logLevel
value: value.logs.remote.enabled ? value.logs.remote.logLevel : GatewayLogLevel.none
});
delete value.connectors;
value.logs = stringToBase64(this.generateLogsFile(value.logs));
@ -33,10 +33,11 @@
mat-card {
padding-left: 10px;
background: transparent;
}
.mat-card-selected {
background-color: white;
background-color: rgba(48, 86, 128, 0.1);
.mat-mdc-slide-toggle {
@ -157,6 +157,11 @@ export class GatewayConnectorComponent implements OnInit {
removeConnector(index: number): void {
this.connectorsFormArray().removeAt(index);
if (index !== 0) {
this.selectedConnector = index - 1;
} else {
this.selectedConnector = undefined;
selectConnector(index: number): void {
@ -2600,6 +2600,7 @@
"security-type": "Security type",
"security-types": {
"access-token": "Access Token",
"username-password": "Username and Password",
"tls": "TLS",
"tls-access-token": "TLS + Access Token",
"tls-private-key": "TLS + Private Key"