From 6c22919bd983d4a489ec558faaa5876076b1d93a Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 8 Dec 2018 14:00:18 -0500 Subject: [PATCH] colorized passwords --- jslib | 2 +- src/popup/app.module.ts | 2 ++ .../password-generator-history.component.html | 5 ++-- .../password-generator.component.html | 2 +- src/popup/scss/misc.scss | 29 ++++++++++++++----- src/popup/scss/pages.scss | 6 +++- src/popup/scss/variables.scss | 4 +++ src/popup/vault/view.component.html | 6 ++-- 8 files changed, 40 insertions(+), 16 deletions(-) diff --git a/jslib b/jslib index 9283a29d35a..9694d2922ef 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit 9283a29d35a18f058f3c84f8aaa919b911f1940a +Subproject commit 9694d2922ef033c6c5eead2c7b4a308b6d93bf2f diff --git a/src/popup/app.module.ts b/src/popup/app.module.ts index 398165161de..2e04fa4a08f 100644 --- a/src/popup/app.module.ts +++ b/src/popup/app.module.ts @@ -54,6 +54,7 @@ import { StopClickDirective } from 'jslib/angular/directives/stop-click.directiv import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive'; import { TrueFalseValueDirective } from 'jslib/angular/directives/true-false-value.directive'; +import { ColorPasswordPipe } from 'jslib/angular/pipes/color-password.pipe'; import { I18nPipe } from 'jslib/angular/pipes/i18n.pipe'; import { SearchCiphersPipe } from 'jslib/angular/pipes/search-ciphers.pipe'; @@ -156,6 +157,7 @@ registerLocaleData(localeZhTw, 'zh-TW'); CiphersComponent, CiphersListComponent, CollectionsComponent, + ColorPasswordPipe, CurrentTabComponent, EnvironmentComponent, ExportComponent, diff --git a/src/popup/generator/password-generator-history.component.html b/src/popup/generator/password-generator-history.component.html index 9d8fbeb530f..ea85c4a11ce 100644 --- a/src/popup/generator/password-generator-history.component.html +++ b/src/popup/generator/password-generator-history.component.html @@ -20,9 +20,8 @@
- - {{h.password}} - +
{{h.date | date:'medium'}}
diff --git a/src/popup/generator/password-generator.component.html b/src/popup/generator/password-generator.component.html index bb54bc5f52a..e8a6a3a360d 100644 --- a/src/popup/generator/password-generator.component.html +++ b/src/popup/generator/password-generator.component.html @@ -11,7 +11,7 @@
-
{{password}}
+