revert app show to use header and fix back button (#1984)

This commit is contained in:
Matt Hill
2022-11-28 11:46:53 -07:00
committed by Aiden McClelland
parent 415cfcb72f
commit 040bd52705
6 changed files with 56 additions and 19 deletions

View File

@@ -1,20 +1,9 @@
<ion-header>
<ion-toolbar>
<ion-buttons slot="start">
<ion-back-button defaultHref="services"></ion-back-button>
</ion-buttons>
<ion-title>Service Details</ion-title>
</ion-toolbar>
</ion-header>
<ion-content class="ion-padding">
<ng-container *ngIf="pkg$ | async as pkg">
<div class="ion-text-center ion-padding-top">
<img [src]="pkg['static-files'].icon" alt="" style="width: 84px" />
<h1>{{ pkg.manifest.title }}</h1>
<h4>{{ pkg.manifest.version | displayEmver }}</h4>
</div>
<ng-container *ngIf="pkg$ | async as pkg">
<!-- header -->
<app-show-header [pkg]="pkg"></app-show-header>
<!-- content -->
<ion-content class="ion-padding">
<!-- ** installing, updating, restoring ** -->
<ng-container *ngIf="showProgress(pkg); else installed">
<app-show-progress
@@ -86,5 +75,5 @@
</ion-grid>
</ng-template>
</ng-template>
</ng-container>
</ion-content>
</ion-content>
</ng-container>