From a52aadd37d208ea0cc91d8924c3dcdb2585334ff Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 6 Jun 2018 23:23:14 -0400 Subject: [PATCH] add/edit cipher modal --- src/app/app.module.ts | 3 + src/app/vault/add-edit.component.html | 560 ++++++++++++-------------- src/app/vault/add-edit.component.ts | 6 +- src/app/vault/vault.component.html | 20 +- src/app/vault/vault.component.ts | 41 +- 5 files changed, 313 insertions(+), 317 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 31021126fd..ef309fcfd9 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -23,6 +23,7 @@ import { RegisterComponent } from './accounts/register.component'; import { TwoFactorOptionsComponent } from './accounts/two-factor-options.component'; import { TwoFactorComponent } from './accounts/two-factor.component'; +import { AddEditComponent } from './vault/add-edit.component'; import { AttachmentsComponent } from './vault/attachments.component'; import { CiphersComponent } from './vault/ciphers.component'; import { FolderAddEditComponent } from './vault/folder-add-edit.component'; @@ -59,6 +60,7 @@ import { Folder } from 'jslib/models/domain'; ToasterModule, ], declarations: [ + AddEditComponent, ApiActionDirective, AppComponent, AttachmentsComponent, @@ -84,6 +86,7 @@ import { Folder } from 'jslib/models/domain'; VaultComponent, ], entryComponents: [ + AddEditComponent, AttachmentsComponent, FolderAddEditComponent, ModalComponent, diff --git a/src/app/vault/add-edit.component.html b/src/app/vault/add-edit.component.html index 4a619fb88d..51746799f1 100644 --- a/src/app/vault/add-edit.component.html +++ b/src/app/vault/add-edit.component.html @@ -1,309 +1,279 @@ -
-
-
-
-
- {{title}} -
-
-
- - -
-
- - -
- -
-
- - -
-
-
- - +