revamp of most screens complete, status bar still needs to be completed
This commit is contained in:
@@ -1,34 +1,42 @@
|
||||
<div class="container">
|
||||
<div class="inner-app-container">
|
||||
<div class="screen-description">Manage settings on your headset.</div>
|
||||
|
||||
<div class="input-field right no-margin search-width">
|
||||
<input id="SearchPackage" [(ngModel)]="search" type="text" class="no-margin" />
|
||||
<label for="SearchPackage">Search apps...</label>
|
||||
</div>
|
||||
<div class="switch right margin-right margin-top">
|
||||
<label>
|
||||
Hide System Apps
|
||||
<input type="checkbox" [(ngModel)]="hide_system_apps" (change)="setShowAll()" />
|
||||
<span class="lever"></span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="pure-material-button-contained spaced flat active" mz-tooltip position="bottom"
|
||||
tooltip="Trigger cloud backup for your apps." (click)="cloudBackup.openModal()">
|
||||
Cloud Backup
|
||||
</div>
|
||||
<div class="pure-material-button-contained spaced flat active" mz-tooltip position="bottom"
|
||||
tooltip="Bulk backup or restore your apps." (click)="backupEverything.openModal()">
|
||||
Backup/Restore All
|
||||
</div>
|
||||
<div class="pure-material-button-contained spaced flat active" mz-tooltip position="bottom"
|
||||
[tooltip]="'Current backup location: ' + appService.backupPath" (click)="pickLocation.openModal()">
|
||||
Change Backup Location
|
||||
</div>
|
||||
<div class="divider divider-margin-top"></div>
|
||||
<div *ngIf="!isConnected()" class="white-text">
|
||||
<br>You are not currently connected.
|
||||
<br><br>
|
||||
<div class="pure-material-button-contained" routerLink="/setup">Open Setup Instructions</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="isConnected()">
|
||||
<div class="row">
|
||||
<div class="input-field col s9">
|
||||
<input id="SearchPackage" [(ngModel)]="search" type="text" />
|
||||
<label for="SearchPackage">Search package</label>
|
||||
</div>
|
||||
<div class="col s3 right-align show-all">
|
||||
<div class="switch">
|
||||
<label>
|
||||
<input type="checkbox" [(ngModel)]="show_all" (change)="setShowAll()" />
|
||||
<span class="lever"></span>
|
||||
Show All
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div *ngIf="search && search.length && !totalApps" class="no-tasks">
|
||||
No results found...
|
||||
<!-- <div class="pure-material-button-contained" routerLink="/">Back Home</div>-->
|
||||
</div>
|
||||
<div class="right waves-effect waves-light btn pink-button small-button" (click)="cloudBackup.openModal()">
|
||||
Cloud Backup</div>
|
||||
<div class="right waves-effect waves-light btn pink-button small-button margin-right" (click)="backupEverything.openModal()">
|
||||
Backup/Restore All</div>
|
||||
<div class="right waves-effect waves-light btn pink-button small-button margin-right" mzTooltip
|
||||
[tooltip]="'Current backup location: ' + appService.backupPath" position="bottom"
|
||||
(click)="pickLocation.openModal()">Change Backup Location</div>
|
||||
<br><br>
|
||||
<div class="row">
|
||||
<ng-container *ngFor="let package of myApps;">
|
||||
<app-package-item *ngIf="!search
|
||||
@@ -131,7 +139,9 @@
|
||||
|
||||
</mz-modal-content>
|
||||
<mz-modal-footer>
|
||||
<button mz-button [flat]="true" mz-modal-close>Close</button>
|
||||
<div class="pure-material-button-contained spaced flat active" (click)="appSettingsModal.closeModal()">
|
||||
Done
|
||||
</div>
|
||||
</mz-modal-footer>
|
||||
</mz-modal>
|
||||
|
||||
@@ -140,8 +150,12 @@
|
||||
<mz-modal #backupEverything [fixedFooter]="true">
|
||||
<mz-modal-header>
|
||||
<h4>
|
||||
<div class="right waves-effect waves-light btn pink-button small-button"
|
||||
(click)="isBackingUp = !isBackingUp;getMyBackups()">{{isBackingUp?'Change To Restore':'Change To Backup'}}</div>
|
||||
|
||||
<div class="pure-material-button-contained spaced active right" (click)="isBackingUp = !isBackingUp;getMyBackups()">
|
||||
{{isBackingUp?'Change To Restore':'Change To Backup'}}
|
||||
</div>
|
||||
<!-- <div class="right waves-effect waves-light btn pink-button small-button"-->
|
||||
<!-- (click)="isBackingUp = !isBackingUp;getMyBackups()">{{isBackingUp?'Change To Restore':'Change To Backup'}}</div>-->
|
||||
{{isBackingUp?'Backup':'Restore'}} Everything
|
||||
</h4>
|
||||
</mz-modal-header>
|
||||
@@ -151,9 +165,16 @@
|
||||
This process can take a long time to complete, please do not restart SideQuest while the operation is running.
|
||||
Select which apps you want to backup/restore:
|
||||
<div class="clearfix"></div>
|
||||
<div class="waves-effect right waves-light btn pink-button small-button" (click)="selectAll()">Select All</div>
|
||||
<div class="waves-effect right waves-light btn pink-button small-button margin-right" (click)="deSelectAll()">
|
||||
Deselect All</div>
|
||||
|
||||
<div class="pure-material-button-contained spaced active right" (click)="selectAll()">
|
||||
Select All
|
||||
</div>
|
||||
<div class="pure-material-button-contained spaced active right" (click)="deSelectAll()">
|
||||
Deselect All
|
||||
</div>
|
||||
<!-- <div class="waves-effect right waves-light btn pink-button small-button" (click)="selectAll()">Select All</div>-->
|
||||
<!-- <div class="waves-effect right waves-light btn pink-button small-button margin-right" (click)="deSelectAll()">-->
|
||||
<!-- Deselect All</div>-->
|
||||
<div class="clearfix"></div><br>
|
||||
|
||||
<ng-container *ngIf="!isBackingUp">
|
||||
@@ -191,9 +212,13 @@
|
||||
</ng-container>
|
||||
</mz-modal-content>
|
||||
<mz-modal-footer>
|
||||
<button mz-button [flat]="true" mz-modal-close>Close</button>
|
||||
<button mz-button class="pink-button"
|
||||
(click)="(isBackingUp?backupAll():restoreAll()); backupEverything.closeModal()">{{isBackingUp?'Run Backup':'Run Restore'}}</button>
|
||||
|
||||
<div class="pure-material-button-contained spaced flat active" (click)="backupEverything.closeModal()">
|
||||
Done
|
||||
</div>
|
||||
<div class="pure-material-button-contained spaced active" (click)="(isBackingUp?backupAll():restoreAll()); backupEverything.closeModal()">
|
||||
{{isBackingUp?'Run Backup':'Run Restore'}}
|
||||
</div>
|
||||
</mz-modal-footer>
|
||||
</mz-modal>
|
||||
|
||||
@@ -207,11 +232,17 @@
|
||||
<ng-container *ngIf="!cloudBackupLoading&&!cloudBackupDone">
|
||||
Trigger apps on your headset to run a cloud backup now in-case you want to do a factory reset.<br><br>
|
||||
WARNING: Not all apps support cloud backup - this is not guaranteed to work for all apps.<br><br>
|
||||
<button mz-button class="pink-button" (click)="triggerCloudBackup()">Trigger Cloud Backup</button><br><br>
|
||||
|
||||
<div class="pure-material-button-contained spaced active" (click)="triggerCloudBackup()">
|
||||
Trigger Cloud Backup
|
||||
</div><br><br>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="!cloudBackupLoading&&cloudBackupDone">
|
||||
Cloud backup complete. <br><br>Check cloud backup status here: https://secure.oculus.com/my/cloud-backup/<br><br>
|
||||
<button mz-button class="pink-button" (click)="appService.opn('https://secure.oculus.com/my/cloud-backup/')">View On Oculus</button><br><br>
|
||||
|
||||
<div class="pure-material-button-contained spaced active" (click)="appService.opn('https://secure.oculus.com/my/cloud-backup/')">
|
||||
View On Oculus
|
||||
</div><br><br>
|
||||
</ng-container>
|
||||
<ng-container *ngIf="cloudBackupLoading">
|
||||
{{cloudBackupStatus}}<br><br>
|
||||
@@ -220,7 +251,10 @@
|
||||
</div>
|
||||
</mz-modal-content>
|
||||
<mz-modal-footer>
|
||||
<button mz-button [flat]="true" mz-modal-close>Done</button>
|
||||
|
||||
<div class="pure-material-button-contained spaced flat active" (click)="cloudBackup.closeModal()">
|
||||
Done
|
||||
</div>
|
||||
</mz-modal-footer>
|
||||
</mz-modal>
|
||||
|
||||
@@ -232,11 +266,17 @@
|
||||
<mz-modal-content>
|
||||
<ng-container>
|
||||
Pick a location on your PC to save backup files:<br><br>
|
||||
<button mz-button class="pink-button" (click)="pickBackupLocation()">Select Location</button><br><br>
|
||||
|
||||
<div class="pure-material-button-contained spaced active" (click)="pickBackupLocation()">
|
||||
Select Location
|
||||
</div><br>
|
||||
Current Location: {{appService.backupPath}}
|
||||
</ng-container>
|
||||
</mz-modal-content>
|
||||
<mz-modal-footer>
|
||||
<button mz-button [flat]="true" mz-modal-close>Done</button>
|
||||
|
||||
<div class="pure-material-button-contained spaced flat active" (click)="pickLocation.closeModal()">
|
||||
Done
|
||||
</div>
|
||||
</mz-modal-footer>
|
||||
</mz-modal>
|
||||
|
||||
Reference in New Issue
Block a user