mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
53 lines
1.5 KiB
HTML
53 lines
1.5 KiB
HTML
<ion-header>
|
|
<ion-toolbar>
|
|
<ion-title>
|
|
Setup Wizard
|
|
</ion-title>
|
|
</ion-toolbar>
|
|
</ion-header>
|
|
<ion-content>
|
|
<div *ngIf="!stateService.selectedDataDrive">
|
|
<h2 color="light">Select Data Drive</h2>
|
|
<ion-card
|
|
*ngFor="let drive of dataDrives"
|
|
(click)="selectDrive(drive)"
|
|
button="true"
|
|
[class.selected]="selectedDrive === drive['logical-name']"
|
|
color="light"
|
|
>
|
|
<ion-card-header>
|
|
<ion-card-title>{{drive["logical-name"]}}</ion-card-title>
|
|
<ion-card-subtitle>{{drive.labels}}</ion-card-subtitle>
|
|
</ion-card-header>
|
|
|
|
<ion-card-content>
|
|
Currently using {{drive.used}} out of {{drive.capacity}} bytes.
|
|
</ion-card-content>
|
|
</ion-card>
|
|
<ion-button (click)="warn()" color="primary" [disabled]="!selectedDrive">Next</ion-button>
|
|
</div>
|
|
<div *ngIf="stateService.selectedDataDrive">
|
|
<ion-card
|
|
(click)="presentPasswordModal()"
|
|
button="true"
|
|
color="light"
|
|
>
|
|
<ion-card-header>
|
|
<ion-card-title>Start Fresh</ion-card-title>
|
|
<ion-card-subtitle>Get started with a brand new Embassy</ion-card-subtitle>
|
|
</ion-card-header>
|
|
</ion-card>
|
|
|
|
<ion-card
|
|
[routerLink]="['/recover']"
|
|
button="true"
|
|
color="light"
|
|
>
|
|
<ion-card-header>
|
|
<ion-card-title>Recover</ion-card-title>
|
|
<ion-card-subtitle>Recover the data from an old embassy</ion-card-subtitle>
|
|
</ion-card-header>
|
|
</ion-card>
|
|
</div>
|
|
</ion-content>
|