2022-02-18 16:41:24 +02:00
|
|
|
<!--
|
|
|
|
|
|
2024-01-09 10:46:16 +02:00
|
|
|
Copyright © 2016-2024 The Thingsboard Authors
|
2022-02-18 16:41:24 +02: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.
|
|
|
|
|
|
|
|
|
|
-->
|
|
|
|
|
<div class="tb-details-buttons" fxLayout.xs="column">
|
2022-05-05 11:02:45 +03:00
|
|
|
<button mat-raised-button color="primary"
|
|
|
|
|
[disabled]="(isLoading$ | async)"
|
|
|
|
|
(click)="onEntityAction($event, 'open')"
|
|
|
|
|
[fxShow]="!isEdit && !isDetailsPage">
|
|
|
|
|
{{'common.open-details-page' | translate }}
|
|
|
|
|
</button>
|
2022-02-18 16:41:24 +02:00
|
|
|
<button mat-raised-button color="primary" fxFlex.xs
|
|
|
|
|
[disabled]="(isLoading$ | async)"
|
|
|
|
|
(click)="onEntityAction($event, 'delete')"
|
|
|
|
|
[fxShow]="!hideDelete() && !isEdit">
|
2022-04-29 19:18:11 +03:00
|
|
|
{{ 'queue.delete' | translate }}
|
2022-02-18 16:41:24 +02:00
|
|
|
</button>
|
2022-05-05 11:02:45 +03:00
|
|
|
<div fxLayout="row" fxLayout.xs="column">
|
|
|
|
|
<button mat-raised-button
|
|
|
|
|
ngxClipboard
|
|
|
|
|
(cbOnSuccess)="onQueueIdCopied($event)"
|
|
|
|
|
[cbContent]="entity?.id?.id"
|
|
|
|
|
[fxShow]="!isEdit">
|
|
|
|
|
<mat-icon svgIcon="mdi:clipboard-arrow-left"></mat-icon>
|
|
|
|
|
<span translate>queue.copyId</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2022-02-18 16:41:24 +02:00
|
|
|
</div>
|
2022-05-05 11:02:45 +03:00
|
|
|
<div class="mat-padding" fxLayout="column" [formGroup]="entityForm">
|
|
|
|
|
<tb-queue-form
|
|
|
|
|
[newQueue]="isAdd"
|
|
|
|
|
[systemQueue]="true"
|
|
|
|
|
formControlName="queue">
|
|
|
|
|
</tb-queue-form>
|
2022-02-18 16:41:24 +02:00
|
|
|
</div>
|