mirror of
https://github.com/bitwarden/browser
synced 2026-01-06 10:33:57 +00:00
[CL-581] Update svgs to new designs and make responsive (#16219)
This commit is contained in:
@@ -103,7 +103,7 @@
|
||||
<bit-no-items
|
||||
class="tw-text-main"
|
||||
*ngIf="!loading && tableDataSource.data.length == 0"
|
||||
[icon]="Devices"
|
||||
[icon]="DevicesIcon"
|
||||
>
|
||||
<ng-container slot="title">{{ "noDeviceRequests" | i18n }}</ng-container>
|
||||
<ng-container slot="description">{{ "noDeviceRequestsDesc" | i18n }}</ng-container>
|
||||
|
||||
@@ -6,7 +6,7 @@ import { BehaviorSubject, Subject, switchMap, takeUntil, tap } from "rxjs";
|
||||
|
||||
import { OrganizationUserApiService } from "@bitwarden/admin-console/common";
|
||||
import { SafeProvider, safeProvider } from "@bitwarden/angular/platform/utils/safe-provider";
|
||||
import { Devices } from "@bitwarden/assets/svg";
|
||||
import { DevicesIcon } from "@bitwarden/assets/svg";
|
||||
import { OrganizationAuthRequestApiService } from "@bitwarden/bit-common/admin-console/auth-requests/organization-auth-request-api.service";
|
||||
import { OrganizationAuthRequestService } from "@bitwarden/bit-common/admin-console/auth-requests/organization-auth-request.service";
|
||||
import { PendingAuthRequestWithFingerprintView } from "@bitwarden/bit-common/admin-console/auth-requests/pending-auth-request-with-fingerprint.view";
|
||||
@@ -51,7 +51,7 @@ export class DeviceApprovalsComponent implements OnInit, OnDestroy {
|
||||
loading = true;
|
||||
actionInProgress = false;
|
||||
|
||||
protected readonly Devices = Devices;
|
||||
protected readonly DevicesIcon = DevicesIcon;
|
||||
|
||||
private destroy$ = new Subject<void>();
|
||||
private refresh$ = new BehaviorSubject<void>(null);
|
||||
|
||||
@@ -103,21 +103,13 @@
|
||||
class="tw-mt-6 tw-flex tw-flex-col tw-items-center tw-justify-center"
|
||||
*ngIf="orgDomains?.length == 0"
|
||||
>
|
||||
<img src="../../images/domain-verification/domain.svg" class="tw-mb-4" alt="" />
|
||||
|
||||
<div class="tw-mb-2 tw-flex tw-flex-row tw-justify-center">
|
||||
<span class="tw-text-lg tw-font-bold">{{ "noDomains" | i18n }}</span>
|
||||
</div>
|
||||
|
||||
<div class="tw-mb-4 tw-flex tw-flex-row tw-justify-center">
|
||||
<span>
|
||||
{{ "noDomainsSubText" | i18n }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<button type="button" buttonType="secondary" bitButton (click)="addDomain()">
|
||||
<i class="bwi bwi-plus bwi-fw" aria-hidden="true"></i> {{ "newDomain" | i18n }}
|
||||
</button>
|
||||
<bit-no-items [icon]="domainIcon">
|
||||
<div slot="title">{{ "noDomains" | i18n }}</div>
|
||||
<div slot="description">{{ "noDomainsSubText" | i18n }}</div>
|
||||
<button slot="button" type="button" buttonType="secondary" bitButton (click)="addDomain()">
|
||||
<i class="bwi bwi-plus bwi-fw" aria-hidden="true"></i> {{ "newDomain" | i18n }}
|
||||
</button>
|
||||
</bit-no-items>
|
||||
</div>
|
||||
</ng-container>
|
||||
</ng-container>
|
||||
|
||||
@@ -13,6 +13,7 @@ import {
|
||||
takeUntil,
|
||||
} from "rxjs";
|
||||
|
||||
import { DomainIcon } from "@bitwarden/assets/svg";
|
||||
import { OrgDomainApiServiceAbstraction } from "@bitwarden/common/admin-console/abstractions/organization-domain/org-domain-api.service.abstraction";
|
||||
import { OrgDomainServiceAbstraction } from "@bitwarden/common/admin-console/abstractions/organization-domain/org-domain.service.abstraction";
|
||||
import { OrganizationDomainResponse } from "@bitwarden/common/admin-console/abstractions/organization-domain/responses/organization-domain.response";
|
||||
@@ -40,6 +41,7 @@ import {
|
||||
export class DomainVerificationComponent implements OnInit, OnDestroy {
|
||||
private componentDestroyed$ = new Subject<void>();
|
||||
private singleOrgPolicyEnabled = false;
|
||||
protected domainIcon = DomainIcon;
|
||||
|
||||
loading = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user