1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

implement callout component w/ generator policy (#395)

This commit is contained in:
Kyle Spearrin
2020-02-28 16:58:51 -05:00
committed by GitHub
parent e90405a453
commit ee167571a6
6 changed files with 96 additions and 1 deletions

View File

@@ -27,6 +27,7 @@ import { SettingsComponent } from './accounts/settings.component';
import { TwoFactorOptionsComponent } from './accounts/two-factor-options.component';
import { TwoFactorComponent } from './accounts/two-factor.component';
import { CalloutComponent } from 'jslib/angular/components/callout.component';
import { IconComponent } from 'jslib/angular/components/icon.component';
import { ModalComponent } from 'jslib/angular/components/modal.component';
@@ -151,6 +152,7 @@ registerLocaleData(localeZhTw, 'zh-TW');
AutofocusDirective,
BlurClickDirective,
BoxRowDirective,
CalloutComponent,
CiphersComponent,
CollectionsComponent,
ColorPasswordPipe,

View File

@@ -2,6 +2,9 @@
<div class="modal-dialog modal-sm" role="document">
<div class="modal-content">
<div class="modal-body">
<app-callout type="info" *ngIf="policyInEffect">
{{'passwordGeneratorPolicyInEffect' | i18n}}
</app-callout>
<div class="password-block">
<div class="password-wrapper" [innerHTML]="password | colorPassword" appSelectCopy></div>
</div>