1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-14 10:16:02 +01:00

Replaced the clipboard icon with a clone icon to improve UX (#490)

* Replace copy value button fa-clipboard to fa-clone

* Replace clone item button fa-clone to fa-files-o
This commit is contained in:
K. Sasa 2020-07-28 02:21:46 +09:00 committed by GitHub
parent 3ae073f458
commit 7eee81f977
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 11 deletions

View File

@ -16,7 +16,7 @@
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
(click)="copy(h.password)" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>

View File

@ -14,7 +14,7 @@
<i class="fa fa-fw fa-refresh" aria-hidden="true"></i> {{'regeneratePassword' | i18n}}
</a>
<a class="box-content-row" href="#" appStopClick appBlurClick (click)="copy()">
<i class="fa fa-fw fa-clipboard" aria-hidden="true"></i> {{'copyPassword' | i18n}}
<i class="fa fa-fw fa-clone" aria-hidden="true"></i> {{'copyPassword' | i18n}}
</a>
</div>
</div>

View File

@ -17,7 +17,7 @@
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
(click)="copy(h.password)" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>

View File

@ -20,7 +20,7 @@
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUsername' | i18n}}"
(click)="copy(cipher.login.username, 'username', 'Username')" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -49,7 +49,7 @@
</a>
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
(click)="copy(cipher.login.password, 'password', 'Password')" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -73,7 +73,7 @@
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyValue' | i18n}}"
(click)="copy(totpCode, 'verificationCodeTotp', 'TOTP')" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -92,7 +92,7 @@
<div class="action-buttons">
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyNumber' | i18n}}"
(click)="copy(cipher.card.number, 'number', 'Number')" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -118,7 +118,7 @@
</a>
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copySecurityCode' | i18n}}"
(click)="copy(cipher.card.code, 'securityCode', 'Security Code')" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -184,7 +184,7 @@
</a>
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUri' | i18n}}"
(click)="copy(u.uri, u.isWebsite ? 'website' : 'uri', 'URI')" role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -230,7 +230,7 @@
*ngIf="field.value && field.type !== fieldType.Boolean && !(field.type === fieldType.Hidden && !cipher.viewPassword)"
(click)="copy(field.value, 'value', field.type === fieldType.Hidden ? 'H_Field' : 'Field')"
role="button">
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
<i class="fa fa-lg fa-clone" aria-hidden="true"></i>
</a>
</div>
</div>
@ -283,7 +283,7 @@
</button>
<button appBlurClick class="primary" *ngIf="!cipher?.organizationId && !cipher.isDeleted" (click)="clone()"
appA11yTitle="{{'clone' | i18n}}">
<i class="fa fa-clone fa-fw fa-lg" aria-hidden="true"></i>
<i class="fa fa-files-o fa-fw fa-lg" aria-hidden="true"></i>
</button>
<div class="right">
<button appBlurClick type="button" (click)="delete()" class="danger"