fkex copy directive

This commit is contained in:
Kyle Spearrin 2019-01-23 16:27:22 -05:00
parent 824c5210fd
commit f8d987781a
4 changed files with 6 additions and 4 deletions

2
jslib

@ -1 +1 @@
Subproject commit 39b2ba1548b1843cd0cdce610da955844eecddae Subproject commit 09df62db4cb29832313bf612fa8b77c63a11f026

View File

@ -33,6 +33,7 @@ import { AutofocusDirective } from 'jslib/angular/directives/autofocus.directive
import { BlurClickDirective } from 'jslib/angular/directives/blur-click.directive'; import { BlurClickDirective } from 'jslib/angular/directives/blur-click.directive';
import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive'; import { BoxRowDirective } from 'jslib/angular/directives/box-row.directive';
import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.directive'; import { FallbackSrcDirective } from 'jslib/angular/directives/fallback-src.directive';
import { FlexCopyDirective } from 'jslib/angular/directives/flex-copy.directive';
import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive'; import { StopClickDirective } from 'jslib/angular/directives/stop-click.directive';
import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive'; import { StopPropDirective } from 'jslib/angular/directives/stop-prop.directive';
import { TrueFalseValueDirective } from 'jslib/angular/directives/true-false-value.directive'; import { TrueFalseValueDirective } from 'jslib/angular/directives/true-false-value.directive';
@ -150,6 +151,7 @@ registerLocaleData(localeZhTw, 'zh-TW');
EnvironmentComponent, EnvironmentComponent,
ExportComponent, ExportComponent,
FallbackSrcDirective, FallbackSrcDirective,
FlexCopyDirective,
FolderAddEditComponent, FolderAddEditComponent,
GroupingsComponent, GroupingsComponent,
HintComponent, HintComponent,

View File

@ -9,7 +9,7 @@
<div class="box-content condensed"> <div class="box-content condensed">
<div class="box-content-row box-content-row-flex" *ngFor="let h of history"> <div class="box-content-row box-content-row-flex" *ngFor="let h of history">
<div class="row-main"> <div class="row-main">
<div class="text password-wrapper monospaced" <div class="text password-wrapper monospaced" appFlexCopy
[innerHTML]="h.password | colorPassword"></div> [innerHTML]="h.password | colorPassword"></div>
<span class="detail">{{h.date | date:'medium'}}</span> <span class="detail">{{h.date | date:'medium'}}</span>
</div> </div>

View File

@ -26,9 +26,9 @@
<div class="box-content-row box-content-row-flex" *ngIf="cipher.login.password"> <div class="box-content-row box-content-row-flex" *ngIf="cipher.login.password">
<div class="row-main"> <div class="row-main">
<span class="row-label">{{'password' | i18n}}</span> <span class="row-label">{{'password' | i18n}}</span>
<div [hidden]="showPassword" class="monospaced password-wrapper"> <div [hidden]="showPassword" class="monospaced password-wrapper" appFlexCopy>
{{cipher.login.maskedPassword}}</div> {{cipher.login.maskedPassword}}</div>
<div [hidden]="!showPassword" class="monospaced password-wrapper" <div [hidden]="!showPassword" class="monospaced password-wrapper" appFlexCopy
[innerHTML]="cipher.login.password | colorPassword"></div> [innerHTML]="cipher.login.password | colorPassword"></div>
</div> </div>
<div class="action-buttons"> <div class="action-buttons">