colorize password history (#11754)
This commit is contained in:
parent
71db154856
commit
a9d667900f
|
@ -1,7 +1,10 @@
|
||||||
<bit-card *ngFor="let credential of credentials$ | async" class="tw-mb-2">
|
<bit-card *ngFor="let credential of credentials$ | async" class="tw-mb-2">
|
||||||
<div class="tw-flex tw-justify-between tw-items-center">
|
<div class="tw-flex tw-justify-between tw-items-center">
|
||||||
<div class="tw-flex tw-flex-col">
|
<div class="tw-flex tw-flex-col">
|
||||||
<h2 bitTypography="h6">{{ credential.credential }}</h2>
|
<bit-color-password
|
||||||
|
class="tw-font-mono"
|
||||||
|
[password]="credential.credential"
|
||||||
|
></bit-color-password>
|
||||||
<span class="tw-text-muted" bitTypography="body1">{{
|
<span class="tw-text-muted" bitTypography="body1">{{
|
||||||
credential.generationDate | date: "medium"
|
credential.generationDate | date: "medium"
|
||||||
}}</span>
|
}}</span>
|
||||||
|
|
|
@ -9,6 +9,7 @@ import { AccountService } from "@bitwarden/common/auth/abstractions/account.serv
|
||||||
import { UserId } from "@bitwarden/common/types/guid";
|
import { UserId } from "@bitwarden/common/types/guid";
|
||||||
import {
|
import {
|
||||||
CardComponent,
|
CardComponent,
|
||||||
|
ColorPasswordModule,
|
||||||
IconButtonModule,
|
IconButtonModule,
|
||||||
NoItemsModule,
|
NoItemsModule,
|
||||||
SectionComponent,
|
SectionComponent,
|
||||||
|
@ -21,6 +22,7 @@ import { GeneratedCredential, GeneratorHistoryService } from "@bitwarden/generat
|
||||||
selector: "bit-credential-generator-history",
|
selector: "bit-credential-generator-history",
|
||||||
templateUrl: "credential-generator-history.component.html",
|
templateUrl: "credential-generator-history.component.html",
|
||||||
imports: [
|
imports: [
|
||||||
|
ColorPasswordModule,
|
||||||
CommonModule,
|
CommonModule,
|
||||||
IconButtonModule,
|
IconButtonModule,
|
||||||
NoItemsModule,
|
NoItemsModule,
|
||||||
|
|
Loading…
Reference in New Issue