feat: redesign auto-update component (#910)

This commit is contained in:
Róbert Kiss
2019-02-02 02:11:54 +01:00
committed by László Monda
parent 12d361eb2e
commit 9a0b0f9df1
28 changed files with 178 additions and 105 deletions

View File

@@ -1,10 +1,15 @@
<app-update-available *ngIf="showUpdateAvailable$ | async"
<app-update-available *ngIf="showUpdateAvailable"
[@updateAvailable]
[updateInfo]="updateInfo$ | async"
(updateApp)="updateApp()"
(doNotUpdateApp)="doNotUpdateApp()">
</app-update-available>
<side-menu *ngIf="deviceConfigurationLoaded$ | async"></side-menu>
<div id="main-content" class="main-content">
<side-menu *ngIf="deviceConfigurationLoaded$ | async"
[class.update-panel-visible]="showUpdateAvailable"></side-menu>
<div id="main-content"
class="main-content"
[class.update-panel-visible]="showUpdateAvailable">
<router-outlet></router-outlet>
</div>
<notifier-container></notifier-container>