avira csv importer

This commit is contained in:
Kyle Spearrin 2018-06-25 15:20:58 -04:00
parent 53d23ec831
commit e59277742d
3 changed files with 9 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<form (ngSubmit)="submit()">
<form (ngSubmit)="submit()" ngNativeValidate>
<div class="page-header">
<h1>{{'exportVault' | i18n}}</h1>
</div>

View File

@ -16,6 +16,7 @@ import { FolderRequest } from 'jslib/models/request/folderRequest';
import { ImportCiphersRequest } from 'jslib/models/request/importCiphersRequest';
import { KvpRequest } from 'jslib/models/request/kvpRequest';
import { AviraCsvImporter } from 'jslib/importers/aviraCsvImporter';
import { BitwardenCsvImporter } from 'jslib/importers/bitwardenCsvImporter';
import { Importer } from 'jslib/importers/importer';
import { KeePassXCsvImporter } from 'jslib/importers/keepassxCsvImporter';
@ -66,7 +67,7 @@ export class ImportComponent {
{ id: 'passworddragonxml', name: 'Password Dragon (xml)' },
{ id: 'padlockcsv', name: 'Padlock (csv)' },
{ id: 'clipperzhtml', name: 'Clipperz (html)' },
{ id: 'avirajson', name: 'Avira (json)' },
{ id: 'aviracsv', name: 'Avira (csv)' },
{ id: 'saferpasscsv', name: 'SaferPass (csv)' },
{ id: 'upmcsv', name: 'Universal Password Manager (csv)' },
{ id: 'ascendocsv', name: 'Ascendo DataVault (csv)' },
@ -201,6 +202,8 @@ export class ImportComponent {
return new LastPassCsvImporter();
case 'keepassxcsv':
return new KeePassXCsvImporter();
case 'aviracsv':
return new AviraCsvImporter();
default:
return null;
}

View File

@ -173,10 +173,6 @@ label:not(.form-check-label) {
&:not(:hover) {
background-color: #ffffff;
}
&:disabled {
opacity: 1;
}
}
.btn-outline-secondary {
@ -185,6 +181,10 @@ label:not(.form-check-label) {
&:hover:not(:disabled) {
color: $body-color;
}
&:disabled {
opacity: 1;
}
}
.btn-submit {