2022-10-28 18:03:10 +03:00
|
|
|
<!--
|
|
|
|
|
|
2025-02-25 09:39:16 +02:00
|
|
|
Copyright © 2016-2025 The Thingsboard Authors
|
2022-10-28 18:03:10 +03:00
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
|
limitations under the License.
|
|
|
|
|
|
|
|
|
|
-->
|
2024-10-15 13:23:36 +03:00
|
|
|
<div [formGroup]="scriptLangFormGroup" class="flex flex-row items-stretch justify-center">
|
2024-07-19 17:20:58 +03:00
|
|
|
<mat-button-toggle-group class="tb-script-lang-toggle-group"
|
|
|
|
|
formControlName="scriptLang"
|
|
|
|
|
aria-label="Script language">
|
2024-10-09 19:36:42 +03:00
|
|
|
<mat-button-toggle class="flex-1" value="{{ scriptLanguage.TBEL }}">{{ 'rulenode.script-lang-tbel' | translate }}</mat-button-toggle>
|
|
|
|
|
<mat-button-toggle class="flex-1" value="{{ scriptLanguage.JS }}">
|
2024-07-19 17:20:58 +03:00
|
|
|
{{ 'rulenode.script-lang-java-script' | translate }}
|
2024-07-17 11:30:17 +03:00
|
|
|
</mat-button-toggle>
|
2022-10-28 18:03:10 +03:00
|
|
|
</mat-button-toggle-group>
|
|
|
|
|
</div>
|