display bottom item in backup list and refactor for cleanliness (#1609)

* display bottom item in backup list and refactor for cleanliness

* fix spelling mistake

* display initial toggle to deselect all, as all are selected by default

* add select/deselect all to backup restore and handle backup case when no services intalled

Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com>
This commit is contained in:
Matt Hill
2022-07-04 14:16:18 -06:00
committed by GitHub
parent 6d805ae941
commit 9319314672
11 changed files with 214 additions and 181 deletions

View File

@@ -1,5 +1,5 @@
<backup-drives-header title="Restore From Backup"></backup-drives-header>
<ion-content class="ion-padding">
<backup-drives type="restore" (onSelect)="presentModalPassword($event)"></backup-drives>
</ion-content>
<backup-drives
type="restore"
class="ion-page"
(onSelect)="presentModalPassword($event)"
></backup-drives>

View File

@@ -1,16 +1,14 @@
<!-- currently backing up -->
<backing-up
*ngIf="backingUp$ | async; else notBackingUp"
style="height: 100%"
class="ion-page"
></backing-up>
<!-- not backing up -->
<ng-template #notBackingUp>
<backup-drives-header title="Create Backup"></backup-drives-header>
<ion-content class="ion-padding">
<backup-drives
type="create"
(onSelect)="presentModalSelect($event)"
></backup-drives>
</ion-content>
<backup-drives
type="create"
class="ion-page"
(onSelect)="presentModalSelect($event)"
></backup-drives>
</ng-template>