2018-06-10 05:43:33 +02:00
|
|
|
<div class="page-header">
|
2018-07-06 04:37:35 +02:00
|
|
|
<h1>{{'importData' | i18n}}</h1>
|
2018-06-10 05:43:33 +02:00
|
|
|
</div>
|
2018-06-23 21:16:23 +02:00
|
|
|
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="type">1. {{'selectFormat' | i18n}}</label>
|
|
|
|
<select id="type" name="Format" [(ngModel)]="format" class="form-control" required>
|
|
|
|
<option *ngFor="let o of featuredImportOptions" [ngValue]="o.id">{{o.name}}</option>
|
2018-07-06 05:38:36 +02:00
|
|
|
<ng-container *ngIf="importOptions && importOptions.length">
|
|
|
|
<option value="-" disabled></option>
|
|
|
|
<option *ngFor="let o of importOptions" [ngValue]="o.id">{{o.name}}</option>
|
|
|
|
</ng-container>
|
2018-06-23 21:16:23 +02:00
|
|
|
</select>
|
|
|
|
</div>
|
2018-06-25 21:47:05 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-26 02:49:49 +02:00
|
|
|
<app-callout type="info" title="{{getFormatInstructionTitle()}}" *ngIf="format">
|
|
|
|
<ng-container *ngIf="format === 'bitwardencsv'">
|
|
|
|
See detailed instructions on our help site at
|
|
|
|
<a target="_blank" href="https://help.bitwarden.com/article/export-your-data/">https://help.bitwarden.com/article/export-your-data/</a>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="format === 'lastpasscsv'">
|
|
|
|
See detailed instructions on our help site at
|
|
|
|
<a target="_blank" href="https://help.bitwarden.com/article/import-from-lastpass/">https://help.bitwarden.com/article/import-from-lastpass/</a>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="format === 'keepassxcsv'">
|
|
|
|
Using the KeePassX desktop application, navigate to "Database" → "Export to CSV file" and save the CSV file.
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="format === 'aviracsv'">
|
|
|
|
In the Avira web vault, go to "Settings" → "My Data" → "Export data" and save the CSV file.
|
|
|
|
</ng-container>
|
2018-06-29 15:28:02 +02:00
|
|
|
<ng-container *ngIf="format === 'blurcsv'">
|
|
|
|
In the Blur web vault, click your username at the top and go to "Settings" → "Export Data", then click "Export CSV"
|
|
|
|
for your "Accounts".
|
|
|
|
</ng-container>
|
2018-07-10 22:44:13 +02:00
|
|
|
<ng-container *ngIf="format === 'safeincloudxml'">
|
|
|
|
Using the SaveInCloud desktop application, navigate to "File" → "Export" → "As XML" and save the XML file.
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="format === 'padlockcsv'">
|
|
|
|
Using the Padlock desktop application, click the hamburger icon in the top left corner and navigate to "Settings" →
|
|
|
|
"Export" button and save the file "As CSV".
|
|
|
|
</ng-container>
|
2018-07-10 23:58:08 +02:00
|
|
|
<ng-container *ngIf="format === 'keepass2xml'">
|
|
|
|
Using the KeePass 2 desktop application, navigate to "File" → "Export" and select the "KeePass XML (2.x)" option.
|
|
|
|
</ng-container>
|
2018-06-26 02:49:49 +02:00
|
|
|
</app-callout>
|
2018-06-25 21:47:05 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-6">
|
2018-06-23 21:16:23 +02:00
|
|
|
<div class="form-group">
|
|
|
|
<label for="file">2. {{'selectImportFile' | i18n}}</label>
|
|
|
|
<input type="file" id="file" class="form-control-file" name="file">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
|
|
<label for="fileContents">{{'orCopyPasteFileContents' | i18n}}</label>
|
|
|
|
<textarea id="fileContents" class="form-control" name="FileContents" [(ngModel)]="fileContents"></textarea>
|
|
|
|
</div>
|
|
|
|
<button appBlurClick type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
|
|
|
<i class="fa fa-spinner fa-spin"></i>
|
2018-07-06 04:37:35 +02:00
|
|
|
<span>{{'importData' | i18n}}</span>
|
2018-06-23 21:16:23 +02:00
|
|
|
</button>
|
|
|
|
</form>
|