mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-28 12:35:40 +01:00
aria-hidden on titles icons
This commit is contained in:
parent
4d46338a4b
commit
20bc5a6870
@ -55,7 +55,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}">
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}">
|
||||||
<i class="fa fa-save fa-lg fa-fw"></i>
|
<i class="fa fa-save fa-lg fa-fw" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{'close' | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{'close' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
||||||
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,8 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
||||||
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -58,8 +58,9 @@
|
|||||||
<div class="right" *ngIf="!isPremium">
|
<div class="right" *ngIf="!isPremium">
|
||||||
<button #refreshBtn type="button" appBlurClick (click)="refresh()" [disabled]="refreshBtn.loading"
|
<button #refreshBtn type="button" appBlurClick (click)="refresh()" [disabled]="refreshBtn.loading"
|
||||||
appA11yTitle="{{'premiumRefresh' | i18n}}" [appApiAction]="refreshPromise">
|
appA11yTitle="{{'premiumRefresh' | i18n}}" [appApiAction]="refreshPromise">
|
||||||
<i class="fa fa-refresh fa-lg fa-fw" [hidden]="refreshBtn.loading"></i>
|
<i class="fa fa-refresh fa-lg fa-fw" [hidden]="refreshBtn.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!refreshBtn.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!refreshBtn.loading"
|
||||||
|
aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword(false)">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword(false)">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -52,7 +52,8 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword(true)">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword(true)">
|
||||||
<i class="fa fa-lg" [ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -34,17 +34,19 @@
|
|||||||
<button type="button" #checkPasswordBtn class="row-btn btn" appBlurClick
|
<button type="button" #checkPasswordBtn class="row-btn btn" appBlurClick
|
||||||
appA11yTitle="{{'checkPassword' | i18n}}" (click)="checkPassword()"
|
appA11yTitle="{{'checkPassword' | i18n}}" (click)="checkPassword()"
|
||||||
[appApiAction]="checkPasswordPromise" [disabled]="checkPasswordBtn.loading">
|
[appApiAction]="checkPasswordPromise" [disabled]="checkPasswordBtn.loading">
|
||||||
<i class="fa fa-lg fa-check-circle" [hidden]="checkPasswordBtn.loading"></i>
|
<i class="fa fa-lg fa-check-circle" [hidden]="checkPasswordBtn.loading"
|
||||||
<i class="fa fa-lg fa-spinner fa-spin" [hidden]="!checkPasswordBtn.loading"></i>
|
aria-hidden="true"></i>
|
||||||
|
<i class="fa fa-lg fa-spinner fa-spin" [hidden]="!checkPasswordBtn.loading"
|
||||||
|
aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'generatePassword' | i18n}}" (click)="generatePassword()">
|
appA11yTitle="{{'generatePassword' | i18n}}" (click)="generatePassword()">
|
||||||
<i class="fa fa-lg fa-refresh"></i>
|
<i class="fa fa-lg fa-refresh" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -91,7 +93,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="toggleCardCode()">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="toggleCardCode()">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !showCardCode, 'fa-eye-slash': showCardCode}"></i>
|
[ngClass]="{'fa-eye': !showCardCode, 'fa-eye-slash': showCardCode}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -194,7 +196,7 @@
|
|||||||
<div class="box-content-row box-content-row-multi" appBoxRow
|
<div class="box-content-row box-content-row-multi" appBoxRow
|
||||||
*ngFor="let u of cipher.login.uris; let i = index; trackBy:trackByFunction">
|
*ngFor="let u of cipher.login.uris; let i = index; trackBy:trackByFunction">
|
||||||
<a href="#" appStopClick (click)="removeUri(u)" appA11yTitle="{{'remove' | i18n}}">
|
<a href="#" appStopClick (click)="removeUri(u)" appA11yTitle="{{'remove' | i18n}}">
|
||||||
<i class="fa fa-minus-circle fa-lg"></i>
|
<i class="fa fa-minus-circle fa-lg" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
<div class="row-main">
|
<div class="row-main">
|
||||||
<label for="loginUri{{i}}">{{'uriPosition' | i18n : (i + 1)}}</label>
|
<label for="loginUri{{i}}">{{'uriPosition' | i18n : (i + 1)}}</label>
|
||||||
@ -212,7 +214,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleOptions' | i18n}}" (click)="toggleUriOptions(u)">
|
appA11yTitle="{{'toggleOptions' | i18n}}" (click)="toggleUriOptions(u)">
|
||||||
<i class="fa fa-lg fa-cog"></i>
|
<i class="fa fa-lg fa-cog" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -266,7 +268,7 @@
|
|||||||
*ngFor="let f of cipher.fields; let i = index; trackBy:trackByFunction"
|
*ngFor="let f of cipher.fields; let i = index; trackBy:trackByFunction"
|
||||||
[ngClass]="{'box-content-row-checkbox': f.type === fieldType.Boolean}">
|
[ngClass]="{'box-content-row-checkbox': f.type === fieldType.Boolean}">
|
||||||
<a href="#" appStopClick (click)="removeField(f)" appA11yTitle="{{'remove' | i18n}}">
|
<a href="#" appStopClick (click)="removeField(f)" appA11yTitle="{{'remove' | i18n}}">
|
||||||
<i class="fa fa-minus-circle fa-lg"></i>
|
<i class="fa fa-minus-circle fa-lg" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
<label for="fieldName{{i}}" class="sr-only">{{'name' | i18n}}</label>
|
<label for="fieldName{{i}}" class="sr-only">{{'name' | i18n}}</label>
|
||||||
<label for="fieldValue{{i}}" class="sr-only">{{'value' | i18n}}</label>
|
<label for="fieldValue{{i}}" class="sr-only">{{'value' | i18n}}</label>
|
||||||
@ -285,12 +287,12 @@
|
|||||||
<div class="action-buttons" *ngIf="f.type === fieldType.Hidden">
|
<div class="action-buttons" *ngIf="f.type === fieldType.Hidden">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="toggleFieldValue(f)">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="toggleFieldValue(f)">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !f.showValue, 'fa-eye-slash': f.showValue}"></i>
|
[ngClass]="{'fa-eye': !f.showValue, 'fa-eye-slash': f.showValue}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="drag-handle" appA11yTitle="{{'dragToSort' | i18n}}" cdkDragHandle>
|
<div class="drag-handle" appA11yTitle="{{'dragToSort' | i18n}}" cdkDragHandle>
|
||||||
<i class="fa fa-bars"></i>
|
<i class="fa fa-bars" aria-hidden="true"></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -339,8 +341,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}" [disabled]="form.loading">
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}" [disabled]="form.loading">
|
||||||
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading"></i>
|
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button appBlurClick type="button" (click)="cancel()">
|
<button appBlurClick type="button" (click)="cancel()">
|
||||||
{{'cancel' | i18n}}
|
{{'cancel' | i18n}}
|
||||||
@ -348,13 +350,13 @@
|
|||||||
<div class="right">
|
<div class="right">
|
||||||
<button appBlurClick type="button" (click)="share()" appA11yTitle="{{'shareItem' | i18n}}"
|
<button appBlurClick type="button" (click)="share()" appA11yTitle="{{'shareItem' | i18n}}"
|
||||||
*ngIf="editMode && cipher && !cipher.organizationId">
|
*ngIf="editMode && cipher && !cipher.organizationId">
|
||||||
<i class="fa fa-share-alt fa-lg fa-fw"></i>
|
<i class="fa fa-share-alt fa-lg fa-fw" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button #deleteBtn appBlurClick type="button" (click)="delete()" class="danger"
|
<button #deleteBtn appBlurClick type="button" (click)="delete()" class="danger"
|
||||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
||||||
[appApiAction]="deletePromise">
|
[appApiAction]="deletePromise">
|
||||||
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading"></i>
|
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -16,8 +16,10 @@
|
|||||||
<button class="row-btn btn" type="button" appStopClick appBlurClick
|
<button class="row-btn btn" type="button" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'delete' | i18n}}" (click)="delete(a)" #deleteBtn
|
appA11yTitle="{{'delete' | i18n}}" (click)="delete(a)" #deleteBtn
|
||||||
[appApiAction]="deletePromises[a.id]" [disabled]="deleteBtn.loading">
|
[appApiAction]="deletePromises[a.id]" [disabled]="deleteBtn.loading">
|
||||||
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading"></i>
|
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading"
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading"></i>
|
aria-hidden="true"></i>
|
||||||
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading"
|
||||||
|
aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -41,8 +43,8 @@
|
|||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
||||||
[disabled]="form.loading">
|
[disabled]="form.loading">
|
||||||
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading"></i>
|
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{'close' | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{'close' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -35,6 +35,6 @@
|
|||||||
<div class="footer">
|
<div class="footer">
|
||||||
<button appBlurClick (click)="addCipher()" (contextmenu)="addCipherOptions()" class="block primary"
|
<button appBlurClick (click)="addCipher()" (contextmenu)="addCipherOptions()" class="block primary"
|
||||||
appA11yTitle="{{'addItem' | i18n}}">
|
appA11yTitle="{{'addItem' | i18n}}">
|
||||||
<i class="fa fa-plus fa-lg"></i>
|
<i class="fa fa-plus fa-lg" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
||||||
[disabled]="form.loading">
|
[disabled]="form.loading">
|
||||||
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading"></i>
|
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appBlurClick
|
<a class="row-btn" href="#" appStopClick appBlurClick
|
||||||
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
appA11yTitle="{{'toggleVisibility' | i18n}}" (click)="togglePassword()">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
@ -38,7 +38,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'submit' | i18n}}">
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'submit' | i18n}}">
|
||||||
<i class="fa fa-download fa-lg fa-fw"></i>
|
<i class="fa fa-download fa-lg fa-fw" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -18,16 +18,17 @@
|
|||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
||||||
[disabled]="form.loading">
|
[disabled]="form.loading">
|
||||||
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading"></i>
|
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<button #deleteBtn appBlurClick type="button" (click)="delete()" class="danger"
|
<button #deleteBtn appBlurClick type="button" (click)="delete()" class="danger"
|
||||||
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
appA11yTitle="{{'delete' | i18n}}" *ngIf="editMode" [disabled]="deleteBtn.loading"
|
||||||
[appApiAction]="deletePromise">
|
[appApiAction]="deletePromise">
|
||||||
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading"></i>
|
<i class="fa fa-trash-o fa-lg fa-fw" [hidden]="deleteBtn.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!deleteBtn.loading"
|
||||||
|
aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -40,7 +40,7 @@
|
|||||||
<h2>
|
<h2>
|
||||||
{{'folders' | i18n}}
|
{{'folders' | i18n}}
|
||||||
<button appBlurClick (click)="addFolder()" appA11yTitle="{{'addFolder' | i18n}}">
|
<button appBlurClick (click)="addFolder()" appA11yTitle="{{'addFolder' | i18n}}">
|
||||||
<i class="fa fa-plus fa-fw"></i>
|
<i class="fa fa-plus fa-fw" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</h2>
|
</h2>
|
||||||
<ul class="fa-ul">
|
<ul class="fa-ul">
|
||||||
@ -48,13 +48,13 @@
|
|||||||
<li *ngFor="let f of folders"
|
<li *ngFor="let f of folders"
|
||||||
[ngClass]="{active: selectedFolder && f.node.id === selectedFolderId}">
|
[ngClass]="{active: selectedFolder && f.node.id === selectedFolderId}">
|
||||||
<a href="#" appStopClick appBlurClick (click)="selectFolder(f.node)">
|
<a href="#" appStopClick appBlurClick (click)="selectFolder(f.node)">
|
||||||
<i class="fa-li fa" appA11yTitle="{{'toggleCollapse' | i18n}}"
|
<i class="fa-li fa" title="{{'toggleCollapse' | i18n}}" aria-hidden="true"
|
||||||
[ngClass]="{'fa-caret-right': isCollapsed(f.node), 'fa-caret-down': !isCollapsed(f.node)}"
|
[ngClass]="{'fa-caret-right': isCollapsed(f.node), 'fa-caret-down': !isCollapsed(f.node)}"
|
||||||
(click)="collapse(f.node)" appStopProp></i>
|
(click)="collapse(f.node)" appStopProp></i>
|
||||||
{{f.node.name}}
|
{{f.node.name}}
|
||||||
<span appStopProp appStopClick (click)="editFolder(f.node)"
|
<span appStopProp appStopClick (click)="editFolder(f.node)"
|
||||||
appA11yTitle="{{'editFolder' | i18n}}" *ngIf="f.node.id">
|
appA11yTitle="{{'editFolder' | i18n}}" *ngIf="f.node.id">
|
||||||
<i class="fa fa-pencil fa-fw"></i>
|
<i class="fa fa-pencil fa-fw" aria-hidden="true"></i>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
</a>
|
||||||
<ul class="fa-ul" *ngIf="f.children.length && !isCollapsed(f.node)">
|
<ul class="fa-ul" *ngIf="f.children.length && !isCollapsed(f.node)">
|
||||||
@ -71,7 +71,7 @@
|
|||||||
<ng-template #recursiveCollections let-collections>
|
<ng-template #recursiveCollections let-collections>
|
||||||
<li *ngFor="let c of collections" [ngClass]="{active: c.node.id === selectedCollectionId}">
|
<li *ngFor="let c of collections" [ngClass]="{active: c.node.id === selectedCollectionId}">
|
||||||
<a href="#" appStopClick appBlurClick (click)="selectCollection(c.node)">
|
<a href="#" appStopClick appBlurClick (click)="selectCollection(c.node)">
|
||||||
<i class="fa-li fa" appA11yTitle="{{'toggleCollapse' | i18n}}"
|
<i class="fa-li fa" title="{{'toggleCollapse' | i18n}}" aria-hidden="true"
|
||||||
[ngClass]="{'fa-caret-right': isCollapsed(c.node), 'fa-caret-down': !isCollapsed(c.node)}"
|
[ngClass]="{'fa-caret-right': isCollapsed(c.node), 'fa-caret-down': !isCollapsed(c.node)}"
|
||||||
(click)="collapse(c.node)" appStopProp></i>
|
(click)="collapse(c.node)" appStopProp></i>
|
||||||
{{c.node.name}}
|
{{c.node.name}}
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
|
||||||
(click)="copy(h.password)">
|
(click)="copy(h.password)">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -31,7 +31,7 @@
|
|||||||
<div class="right">
|
<div class="right">
|
||||||
<button appBlurClick type="button" (click)="clear()" class="danger"
|
<button appBlurClick type="button" (click)="clear()" class="danger"
|
||||||
appA11yTitle="{{'clear' | i18n}}">
|
appA11yTitle="{{'clear' | i18n}}">
|
||||||
<i class="fa fa-trash-o fa-lg fa-fw"></i>
|
<i class="fa fa-trash-o fa-lg fa-fw" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="primary" appBlurClick *ngIf="showSelect" (click)="select()"
|
<button type="button" class="primary" appBlurClick *ngIf="showSelect" (click)="select()"
|
||||||
appA11yTitle="{{'select' | i18n}}">
|
appA11yTitle="{{'select' | i18n}}">
|
||||||
<i class="fa fa-lg fa-fw fa-check"></i>
|
<i class="fa fa-lg fa-fw fa-check" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{(showSelect ? 'cancel' : 'close') | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{(showSelect ? 'cancel' : 'close') | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
|
||||||
(click)="copy(h.password)">
|
(click)="copy(h.password)">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -44,8 +44,8 @@
|
|||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
<button appBlurClick type="submit" class="primary" appA11yTitle="{{'save' | i18n}}"
|
||||||
[disabled]="form.loading || !canSave" *ngIf="organizations && organizations.length">
|
[disabled]="form.loading || !canSave" *ngIf="organizations && organizations.length">
|
||||||
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading"></i>
|
<i class="fa fa-save fa-lg fa-fw" [hidden]="form.loading" aria-hidden="true"></i>
|
||||||
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading"></i>
|
<i class="fa fa-spinner fa-spin fa-lg fa-fw" [hidden]="!form.loading" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
<button type="button" data-dismiss="modal">{{'cancel' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUsername' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUsername' | i18n}}"
|
||||||
(click)="copy(cipher.login.username, 'username', 'Username')">
|
(click)="copy(cipher.login.username, 'username', 'Username')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -35,17 +35,19 @@
|
|||||||
<button type="button" #checkPasswordBtn class="row-btn btn" appBlurClick
|
<button type="button" #checkPasswordBtn class="row-btn btn" appBlurClick
|
||||||
appA11yTitle="{{'checkPassword' | i18n}}" (click)="checkPassword()"
|
appA11yTitle="{{'checkPassword' | i18n}}" (click)="checkPassword()"
|
||||||
[appApiAction]="checkPasswordPromise" [disabled]="checkPasswordBtn.loading">
|
[appApiAction]="checkPasswordPromise" [disabled]="checkPasswordBtn.loading">
|
||||||
<i class="fa fa-lg fa-check-circle" [hidden]="checkPasswordBtn.loading"></i>
|
<i class="fa fa-lg fa-check-circle" [hidden]="checkPasswordBtn.loading"
|
||||||
<i class="fa fa-lg fa-spinner fa-spin" [hidden]="!checkPasswordBtn.loading"></i>
|
aria-hidden="true"></i>
|
||||||
|
<i class="fa fa-lg fa-spinner fa-spin" [hidden]="!checkPasswordBtn.loading"
|
||||||
|
aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'toggleVisibility' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'toggleVisibility' | i18n}}"
|
||||||
(click)="togglePassword()">
|
(click)="togglePassword()">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
[ngClass]="{'fa-eye': !showPassword, 'fa-eye-slash': showPassword}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyPassword' | i18n}}"
|
||||||
(click)="copy(cipher.login.password, 'password', 'Password')">
|
(click)="copy(cipher.login.password, 'password', 'Password')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -68,7 +70,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyValue' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyValue' | i18n}}"
|
||||||
(click)="copy(totpCode, 'verificationCodeTotp', 'TOTP')">
|
(click)="copy(totpCode, 'verificationCodeTotp', 'TOTP')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -87,7 +89,7 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyNumber' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyNumber' | i18n}}"
|
||||||
(click)="copy(cipher.card.number, 'number', 'Number')">
|
(click)="copy(cipher.card.number, 'number', 'Number')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -108,12 +110,12 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'toggleVisibility' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'toggleVisibility' | i18n}}"
|
||||||
(click)="toggleCardCode()">
|
(click)="toggleCardCode()">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !showCardCode, 'fa-eye-slash': showCardCode}"></i>
|
[ngClass]="{'fa-eye': !showCardCode, 'fa-eye-slash': showCardCode}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copySecurityCode' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copySecurityCode' | i18n}}"
|
||||||
(click)="copy(cipher.card.code, 'securityCode', 'Security Code')">
|
(click)="copy(cipher.card.code, 'securityCode', 'Security Code')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -179,11 +181,11 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'launch' | i18n}}" *ngIf="u.canLaunch"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'launch' | i18n}}" *ngIf="u.canLaunch"
|
||||||
(click)="launch(u)">
|
(click)="launch(u)">
|
||||||
<i class="fa fa-lg fa-share-square-o"></i>
|
<i class="fa fa-lg fa-share-square-o" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUri' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyUri' | i18n}}"
|
||||||
(click)="copy(u.uri, u.isWebsite ? 'website' : 'uri', 'URI')">
|
(click)="copy(u.uri, u.isWebsite ? 'website' : 'uri', 'URI')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -220,13 +222,13 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'toggleVisibility' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'toggleVisibility' | i18n}}"
|
||||||
*ngIf="field.type === fieldType.Hidden" (click)="toggleFieldValue(field)">
|
*ngIf="field.type === fieldType.Hidden" (click)="toggleFieldValue(field)">
|
||||||
<i class="fa fa-lg"
|
<i class="fa fa-lg" aria-hidden="true"
|
||||||
[ngClass]="{'fa-eye': !field.showValue, 'fa-eye-slash': field.showValue}"></i>
|
[ngClass]="{'fa-eye': !field.showValue, 'fa-eye-slash': field.showValue}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyValue' | i18n}}"
|
<a class="row-btn" href="#" appStopClick appA11yTitle="{{'copyValue' | i18n}}"
|
||||||
*ngIf="field.value && field.type !== fieldType.Boolean"
|
*ngIf="field.value && field.type !== fieldType.Boolean"
|
||||||
(click)="copy(field.value, 'value', 'Field')">
|
(click)="copy(field.value, 'value', 'Field')">
|
||||||
<i class="fa fa-lg fa-clipboard"></i>
|
<i class="fa fa-lg fa-clipboard" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -261,7 +263,7 @@
|
|||||||
<b class="font-weight-semibold">{{'passwordHistory' | i18n}}:</b>
|
<b class="font-weight-semibold">{{'passwordHistory' | i18n}}:</b>
|
||||||
<a href="#" (click)="viewHistory()" appStopClick
|
<a href="#" (click)="viewHistory()" appStopClick
|
||||||
appA11yTitle="{{'passwordHistory' | i18n}}, {{cipher.passwordHistory.length}}">
|
appA11yTitle="{{'passwordHistory' | i18n}}, {{cipher.passwordHistory.length}}">
|
||||||
{{cipher.passwordHistory.length}}
|
<span aria-hidden="true">{{cipher.passwordHistory.length}}</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -270,6 +272,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
<button appBlurClick class="primary" (click)="edit()" appA11yTitle="{{'edit' | i18n}}">
|
<button appBlurClick class="primary" (click)="edit()" appA11yTitle="{{'edit' | i18n}}">
|
||||||
<i class="fa fa-pencil fa-fw fa-lg"></i>
|
<i class="fa fa-pencil fa-fw fa-lg" aria-hidden="true"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user