mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
54 lines
1.8 KiB
HTML
54 lines
1.8 KiB
HTML
<ion-content>
|
|
<div *ngIf="!stateService.polling && dataDrives?.length">
|
|
<div *ngIf="!dataDrives.length">
|
|
<h2 color="light">No recovery drives found</h2>
|
|
<p color="light">Please connect a recovery drive to your embassy and refresh the page.</p>
|
|
</div>
|
|
<div>
|
|
<h2 style="text-align: center;" color="secondary">Select Recovery Drive</h2>
|
|
<ion-card
|
|
class="wiz-card"
|
|
*ngFor="let drive of dataDrives"
|
|
(click)="selectDrive(drive)"
|
|
button="true"
|
|
[class.selected]="selectedDrive?.logicalname === drive.logicalname"
|
|
color="light"
|
|
>
|
|
<ion-card-header>
|
|
<ion-card-title>{{drive.logicalname}}</ion-card-title>
|
|
<ion-card-subtitle>{{drive.name}}</ion-card-subtitle>
|
|
</ion-card-header>
|
|
|
|
<ion-card-content>
|
|
Currently running {{drive.version}}
|
|
</ion-card-content>
|
|
</ion-card>
|
|
<div style="width: 100%; text-align: center;;">
|
|
<ion-button
|
|
(click)="presentPasswordModal()"
|
|
color="primary"
|
|
[disabled]="!selectedDrive"
|
|
style="text-align:center"
|
|
size="large"
|
|
>
|
|
Next
|
|
</ion-button>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
<div *ngIf="stateService.polling" style="width: 100%; text-align: center;">
|
|
<h2 style="padding-bottom: 30px; padding-top: 70px;">Recovery Progress: {{ 100 * stateService.dataProgress }}% </h2>
|
|
<ion-progress-bar color="primary" style="max-width: 700px; margin: auto; padding-bottom: 20px; margin-bottom: 40px;" value="{{stateService.dataProgress}}"></ion-progress-bar>
|
|
<ion-button
|
|
(click)="navToEmbassy()"
|
|
color="primary"
|
|
[disabled]="stateService.dataProgress !== 1"
|
|
style="text-align:center"
|
|
size="large"
|
|
>
|
|
Go To Embassy
|
|
</ion-button>
|
|
</div>
|
|
</ion-content>
|