2018-12-12 04:09:16 +01:00
|
|
|
<div class="page-header">
|
|
|
|
<h1>{{'exposedPasswordsReport' | i18n}}</h1>
|
|
|
|
</div>
|
|
|
|
<p>{{'exposedPasswordsReportDesc' | i18n}}</p>
|
|
|
|
<button type="button" class="btn btn-primary btn-submit" [disabled]="loading" (click)="load()">
|
2019-10-11 16:35:24 +02:00
|
|
|
<i class="fa fa-spinner fa-spin" title="{{'loading' | i18n}}" aria-hidden="true"></i>
|
2018-12-12 04:09:16 +01:00
|
|
|
<span>{{'checkExposedPasswords' | i18n}}</span>
|
|
|
|
</button>
|
|
|
|
<div class="mt-4" *ngIf="hasLoaded">
|
|
|
|
<app-callout type="success" title="{{'goodNews' | i18n}}" *ngIf="!ciphers.length">
|
2018-12-12 15:30:57 +01:00
|
|
|
{{'noExposedPasswords' | i18n}}
|
2018-12-12 04:09:16 +01:00
|
|
|
</app-callout>
|
|
|
|
<ng-container *ngIf="ciphers.length">
|
|
|
|
<app-callout type="danger" title="{{'exposedPasswordsFound' | i18n}}">
|
|
|
|
{{'exposedPasswordsFoundDesc' | i18n : (ciphers.length | number)}}
|
|
|
|
</app-callout>
|
|
|
|
<table class="table table-hover table-list table-ciphers">
|
|
|
|
<tbody>
|
|
|
|
<tr *ngFor="let c of ciphers">
|
|
|
|
<td class="table-list-icon">
|
|
|
|
<app-vault-icon [cipher]="c"></app-vault-icon>
|
|
|
|
</td>
|
|
|
|
<td class="reduced-lh wrap">
|
2021-01-12 21:31:22 +01:00
|
|
|
<ng-container *ngIf="!organization || canManageCipher(c) ; else cantManage">
|
|
|
|
<a href="#" appStopClick (click)="selectCipher(c)" title="{{'editItem' | i18n}}">{{c.name}}</a>
|
|
|
|
</ng-container>
|
|
|
|
<ng-template #cantManage>
|
|
|
|
<span>{{c.name}}</span>
|
|
|
|
</ng-template>
|
2019-10-11 16:35:24 +02:00
|
|
|
<ng-container *ngIf="!organization && c.organizationId">
|
|
|
|
<i class="fa fa-share-alt" appStopProp title="{{'shared' | i18n}}" aria-hidden="true"></i>
|
|
|
|
<span class="sr-only">{{'shared' | i18n}}</span>
|
|
|
|
</ng-container>
|
|
|
|
<ng-container *ngIf="c.hasAttachments">
|
|
|
|
<i class="fa fa-paperclip" appStopProp title="{{'attachments' | i18n}}"
|
|
|
|
aria-hidden="true"></i>
|
|
|
|
<span class="sr-only">{{'attachments' | i18n}}</span>
|
|
|
|
</ng-container>
|
2018-12-12 04:09:16 +01:00
|
|
|
<br>
|
|
|
|
<small>{{c.subTitle}}</small>
|
|
|
|
</td>
|
|
|
|
<td class="text-right">
|
|
|
|
<span class="badge badge-warning">
|
|
|
|
{{'exposedXTimes' | i18n : (exposedPasswordMap.get(c.id) | number)}}
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</ng-container>
|
|
|
|
</div>
|
|
|
|
<ng-template #cipherAddEdit></ng-template>
|