mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
enabled drag of username, password and totp in desktop app (#333)
This commit is contained in:
parent
097636d095
commit
55e0749687
2
jslib
2
jslib
@ -1 +1 @@
|
||||
Subproject commit 669f6ddf93bbfe8acd18a4834fff5e1c7f9c91ba
|
||||
Subproject commit 699568ac1a7e959d895fed94d02ed6036534855b
|
@ -12,7 +12,7 @@
|
||||
<!-- Login -->
|
||||
<div *ngIf="cipher.login">
|
||||
<div class="box-content-row box-content-row-flex" *ngIf="cipher.login.username">
|
||||
<div class="row-main">
|
||||
<div class="row-main" draggable="true" (dragstart)="setTextDataOnDrag($event, cipher.login.username)">
|
||||
<span class="row-label">{{'username' | i18n}}</span>
|
||||
{{cipher.login.username}}
|
||||
</div>
|
||||
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-content-row box-content-row-flex" *ngIf="cipher.login.password">
|
||||
<div class="row-main">
|
||||
<div class="row-main" draggable="true" (dragstart)="setTextDataOnDrag($event, cipher.login.password)">
|
||||
<span class="row-label">{{'password' | i18n}}</span>
|
||||
<div [hidden]="showPassword" class="monospaced">
|
||||
{{cipher.login.maskedPassword}}</div>
|
||||
@ -52,7 +52,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-content-row box-content-row-flex totp" [ngClass]="{'low': totpLow}"
|
||||
*ngIf="cipher.login.totp && totpCode">
|
||||
*ngIf="cipher.login.totp && totpCode"
|
||||
draggable="true" (dragstart)="setTextDataOnDrag($event, totpCode)">
|
||||
<div class="row-main">
|
||||
<span class="row-label">{{'verificationCodeTotp' | i18n}}</span>
|
||||
<span class="totp-code">{{totpCodeFormatted}}</span>
|
||||
|
Loading…
Reference in New Issue
Block a user