Browse Source
Merge pull request #12631 from vvlladd28/bug/detail-page/mobile-view
Fixed mobile view on the entity details page
pull/12649/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with
10 additions and
10 deletions
-
ui-ngx/src/app/modules/home/pages/admin/queue/queue.component.html
-
ui-ngx/src/app/modules/home/pages/admin/resource/js-resource.component.html
-
ui-ngx/src/app/modules/home/pages/admin/resource/resources-library.component.html
-
ui-ngx/src/app/modules/home/pages/device/device.component.html
-
ui-ngx/src/app/modules/home/pages/edge/edge.component.html
-
ui-ngx/src/app/modules/home/pages/ota-update/ota-update.component.html
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
[class.!hidden]="isEdit || isDetailsPage"> |
|
|
|
{{'common.open-details-page' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|
|
|
|
@ -22,13 +22,13 @@ |
|
|
|
[class.!hidden]="isEdit || isDetailsPage"> |
|
|
|
{{'common.open-details-page' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'downloadResource')" |
|
|
|
[class.!hidden]="isEdit"> |
|
|
|
{{ 'javascript.download' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|
|
|
|
@ -22,13 +22,13 @@ |
|
|
|
[class.!hidden]="isEdit || isDetailsPage"> |
|
|
|
{{'common.open-details-page' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'downloadResource')" |
|
|
|
[class.!hidden]="isEdit"> |
|
|
|
{{ 'resource.download' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ |
|
|
|
[class.!hidden]="isEdit || deviceScope !== 'edge'"> |
|
|
|
{{ 'edge.unassign-from-edge' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ |
|
|
|
[class.!hidden]="isEdit || edgeScope !== 'tenant'"> |
|
|
|
{{'edge.manage-rulechains' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|
|
|
|
@ -16,19 +16,19 @@ |
|
|
|
|
|
|
|
--> |
|
|
|
<div class="tb-details-buttons xs:flex xs:flex-col"> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'open')" |
|
|
|
[class.!hidden]="isEdit || isDetailsPage"> |
|
|
|
{{'common.open-details-page' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async) || !(entity?.hasData && !entity?.url)" |
|
|
|
(click)="onEntityAction($event, 'uploadPackage')" |
|
|
|
[class.!hidden]="isEdit"> |
|
|
|
{{ 'ota-update.download' | translate }} |
|
|
|
</button> |
|
|
|
<button mat-raised-button color="primary" class="xs:flex-1" |
|
|
|
<button mat-raised-button color="primary" |
|
|
|
[disabled]="(isLoading$ | async)" |
|
|
|
(click)="onEntityAction($event, 'delete')" |
|
|
|
[class.!hidden]="hideDelete() || isEdit"> |
|
|
|
|