mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
migrate breach and unsecured websites reports
This commit is contained in:
@@ -24,12 +24,12 @@
|
|||||||
<div class="mt-4" *ngIf="!form.loading && checkedUsername">
|
<div class="mt-4" *ngIf="!form.loading && checkedUsername">
|
||||||
<p *ngIf="error">{{ "reportError" | i18n }}...</p>
|
<p *ngIf="error">{{ "reportError" | i18n }}...</p>
|
||||||
<ng-container *ngIf="!error">
|
<ng-container *ngIf="!error">
|
||||||
<app-callout type="success" title="{{ 'goodNews' | i18n }}" *ngIf="!breachedAccounts.length">
|
<bit-callout type="success" title="{{ 'goodNews' | i18n }}" *ngIf="!breachedAccounts.length">
|
||||||
{{ "breachUsernameNotFound" | i18n: checkedUsername }}
|
{{ "breachUsernameNotFound" | i18n: checkedUsername }}
|
||||||
</app-callout>
|
</bit-callout>
|
||||||
<app-callout type="danger" title="{{ 'breachFound' | i18n }}" *ngIf="breachedAccounts.length">
|
<bit-callout type="danger" title="{{ 'breachFound' | i18n }}" *ngIf="breachedAccounts.length">
|
||||||
{{ "breachUsernameFound" | i18n: checkedUsername : breachedAccounts.length }}
|
{{ "breachUsernameFound" | i18n: checkedUsername : breachedAccounts.length }}
|
||||||
</app-callout>
|
</bit-callout>
|
||||||
<ul class="list-group list-group-breach" *ngIf="breachedAccounts.length">
|
<ul class="list-group list-group-breach" *ngIf="breachedAccounts.length">
|
||||||
<li *ngFor="let a of breachedAccounts" class="list-group-item min-height-fix">
|
<li *ngFor="let a of breachedAccounts" class="list-group-item min-height-fix">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
|||||||
@@ -11,13 +11,13 @@
|
|||||||
<span class="sr-only">{{ "loading" | i18n }}</span>
|
<span class="sr-only">{{ "loading" | i18n }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-4" *ngIf="hasLoaded">
|
<div class="mt-4" *ngIf="hasLoaded">
|
||||||
<app-callout type="success" title="{{ 'goodNews' | i18n }}" *ngIf="!ciphers.length">
|
<bit-callout type="success" title="{{ 'goodNews' | i18n }}" *ngIf="!ciphers.length">
|
||||||
{{ "noUnsecuredWebsites" | i18n }}
|
{{ "noUnsecuredWebsites" | i18n }}
|
||||||
</app-callout>
|
</bit-callout>
|
||||||
<ng-container *ngIf="ciphers.length">
|
<ng-container *ngIf="ciphers.length">
|
||||||
<app-callout type="danger" title="{{ 'unsecuredWebsitesFound' | i18n }}">
|
<bit-callout type="danger" title="{{ 'unsecuredWebsitesFound' | i18n }}">
|
||||||
{{ "unsecuredWebsitesFoundReportDesc" | i18n: (ciphers.length | number) : vaultMsg }}
|
{{ "unsecuredWebsitesFoundReportDesc" | i18n: (ciphers.length | number) : vaultMsg }}
|
||||||
</app-callout>
|
</bit-callout>
|
||||||
|
|
||||||
<bit-toggle-group
|
<bit-toggle-group
|
||||||
*ngIf="showFilterToggle && !isAdminConsoleActive"
|
*ngIf="showFilterToggle && !isAdminConsoleActive"
|
||||||
@@ -32,27 +32,24 @@
|
|||||||
</bit-toggle>
|
</bit-toggle>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</bit-toggle-group>
|
</bit-toggle-group>
|
||||||
<table class="table table-hover table-list table-ciphers">
|
<bit-table [dataSource]="dataSource">
|
||||||
<thead
|
<ng-container header *ngIf="!isAdminConsoleActive">
|
||||||
class="tw-border-0 tw-border-b-2 tw-border-solid tw-border-secondary-300 tw-font-bold tw-text-muted"
|
|
||||||
*ngIf="!isAdminConsoleActive"
|
|
||||||
>
|
|
||||||
<tr>
|
<tr>
|
||||||
<th></th>
|
<th></th>
|
||||||
<th>{{ "name" | i18n }}</th>
|
<th>{{ "name" | i18n }}</th>
|
||||||
<th>{{ "owner" | i18n }}</th>
|
<th>{{ "owner" | i18n }}</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</ng-container>
|
||||||
<tbody>
|
<ng-template body let-rows$>
|
||||||
<tr *ngFor="let c of ciphers">
|
<tr bitRow *ngFor="let r of rows$ | async">
|
||||||
<td class="table-list-icon">
|
<td bitCell>
|
||||||
<app-vault-icon [cipher]="c"></app-vault-icon>
|
<app-vault-icon [cipher]="r"></app-vault-icon>
|
||||||
</td>
|
</td>
|
||||||
<td class="reduced-lh wrap">
|
<td class="reduced-lh wrap">
|
||||||
<a href="#" appStopClick (click)="selectCipher(c)" title="{{ 'editItem' | i18n }}">{{
|
<a href="#" appStopClick (click)="selectCipher(r)" title="{{ 'editItem' | i18n }}">{{
|
||||||
c.name
|
r.name
|
||||||
}}</a>
|
}}</a>
|
||||||
<ng-container *ngIf="!organization && c.organizationId">
|
<ng-container *ngIf="!organization && r.organizationId">
|
||||||
<i
|
<i
|
||||||
class="bwi bwi-collection"
|
class="bwi bwi-collection"
|
||||||
appStopProp
|
appStopProp
|
||||||
@@ -61,7 +58,7 @@
|
|||||||
></i>
|
></i>
|
||||||
<span class="sr-only">{{ "shared" | i18n }}</span>
|
<span class="sr-only">{{ "shared" | i18n }}</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<ng-container *ngIf="c.hasAttachments">
|
<ng-container *ngIf="r.hasAttachments">
|
||||||
<i
|
<i
|
||||||
class="bwi bwi-paperclip"
|
class="bwi bwi-paperclip"
|
||||||
appStopProp
|
appStopProp
|
||||||
@@ -71,21 +68,21 @@
|
|||||||
<span class="sr-only">{{ "attachments" | i18n }}</span>
|
<span class="sr-only">{{ "attachments" | i18n }}</span>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
<br />
|
<br />
|
||||||
<small>{{ c.subTitle }}</small>
|
<small>{{ r.subTitle }}</small>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<app-org-badge
|
<app-org-badge
|
||||||
*ngIf="!organization"
|
*ngIf="!organization"
|
||||||
[disabled]="disabled"
|
[disabled]="disabled"
|
||||||
[organizationId]="c.organizationId"
|
[organizationId]="r.organizationId"
|
||||||
[organizationName]="c.organizationId | orgNameFromId: (organizations$ | async)"
|
[organizationName]="r.organizationId | orgNameFromId: (organizations$ | async)"
|
||||||
appStopProp
|
appStopProp
|
||||||
>
|
>
|
||||||
</app-org-badge>
|
</app-org-badge>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</ng-template>
|
||||||
</table>
|
</bit-table>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
<ng-template #cipherAddEdit></ng-template>
|
<ng-template #cipherAddEdit></ng-template>
|
||||||
|
|||||||
Reference in New Issue
Block a user