Addressed issue #1269

This commit is contained in:
Addison Beck 2020-07-08 10:54:47 -05:00
parent d111a01b49
commit 0ad533d1a0
1 changed files with 10 additions and 5 deletions

View File

@ -17,15 +17,16 @@
<div class="box-content">
<div class="box-content-row">
<span class="row-label">{{'name' | i18n}}</span>
{{cipher.name}}
<input type="text" [value]="cipher.name" disabled/>
</div>
<!-- Login -->
<div *ngIf="cipher.login">
<div class="box-content-row box-content-row-flex" *ngIf="cipher.login.username">
<div class="row-main">
<span class="row-label draggable" draggable="true"
(dragstart)="setTextDataOnDrag($event, cipher.login.username)">{{'username' | i18n}}</span>
{{cipher.login.username}}
(dragstart)="setTextDataOnDrag($event, cipher.login.username)">{{'username' | i18n}}
</span>
<input type="text" [value]="cipher.login.username" disabled />
</div>
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUsername' | i18n}}"
@ -187,7 +188,9 @@
<div class="row-main">
<span class="row-label" *ngIf="!u.isWebsite">{{'uri' | i18n}}</span>
<span class="row-label" *ngIf="u.isWebsite">{{'website' | i18n}}</span>
<span title="{{u.uri}}">{{u.hostnameOrUri}}</span>
<span title="{{u.uri}}">
<input type="text" [value]="u.hostnameOrUri" disabled />
</span>
</div>
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'launch' | i18n}}" *ngIf="u.canLaunch"
@ -207,7 +210,9 @@
{{'notes' | i18n}}
</div>
<div class="box-content">
<div class="box-content-row pre-wrap">{{cipher.notes}}</div>
<div class="box-content-row">
<textarea [value]="cipher.notes" rows="6" disabled></textarea>
</div>
</div>
</div>
<div class="box" *ngIf="cipher.hasFields">