because icons are pretty
This commit is contained in:
parent
f07170a82f
commit
8e7a571097
@ -175,6 +175,7 @@ import {
|
|||||||
download,
|
download,
|
||||||
envelope,
|
envelope,
|
||||||
envelopeAt,
|
envelopeAt,
|
||||||
|
envelopeAtFill,
|
||||||
exclamationCircleFill,
|
exclamationCircleFill,
|
||||||
exclamationTriangle,
|
exclamationTriangle,
|
||||||
exclamationTriangleFill,
|
exclamationTriangleFill,
|
||||||
@ -281,6 +282,7 @@ const icons = {
|
|||||||
download,
|
download,
|
||||||
envelope,
|
envelope,
|
||||||
envelopeAt,
|
envelopeAt,
|
||||||
|
envelopeAtFill,
|
||||||
exclamationCircleFill,
|
exclamationCircleFill,
|
||||||
exclamationTriangle,
|
exclamationTriangle,
|
||||||
exclamationTriangleFill,
|
exclamationTriangleFill,
|
||||||
|
@ -40,10 +40,10 @@
|
|||||||
<div class="col d-flex align-items-center">
|
<div class="col d-flex align-items-center">
|
||||||
<button class="btn btn-link p-0 text-start" type="button" (click)="editMailAccount(account)" [disabled]="!permissionsService.currentUserCan(PermissionAction.Change, PermissionType.MailAccount)">
|
<button class="btn btn-link p-0 text-start" type="button" (click)="editMailAccount(account)" [disabled]="!permissionsService.currentUserCan(PermissionAction.Change, PermissionType.MailAccount)">
|
||||||
{{account.name}}
|
{{account.name}}
|
||||||
@if (account.account_type === MailAccountType.Gmail) {
|
@switch (account.account_type) {
|
||||||
<i-bs name="google" class="ms-2"></i-bs>
|
@case (MailAccountType.IMAP) { <i-bs name="envelope-at-fill" class="ms-2"></i-bs> }
|
||||||
} @else if (account.account_type === MailAccountType.Outlook) {
|
@case (MailAccountType.Gmail) { <i-bs name="google" class="ms-2"></i-bs> }
|
||||||
<i-bs name="microsoft" class="ms-2"></i-bs>
|
@case (MailAccountType.Outlook) { <i-bs name="microsoft" class="ms-2"></i-bs> }
|
||||||
}
|
}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
@ -694,3 +694,8 @@ canvas.hiddenCanvasElement {
|
|||||||
height: 0;
|
height: 0;
|
||||||
width: 0;
|
width: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// bs icons
|
||||||
|
i-bs svg {
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user