mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-26 01:02:16 +00:00
feat(console): MDC components (#6482)
mdc components --------- Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
parent
cb7b50b513
commit
b099a26a16
@@ -6,15 +6,17 @@
|
||||
</div>
|
||||
|
||||
<span class="count-slash">|</span>
|
||||
<a mat-stroked-button [ngClass]="{ 'cnsl-action-button': showSelectionActionButton }" (click)="selection.clear()">
|
||||
<span>{{ 'ORG_DETAIL.TABLE.CLEAR' | translate }}</span>
|
||||
<cnsl-action-keys
|
||||
*ngIf="showSelectionActionButton"
|
||||
[doNotUseContrast]="true"
|
||||
[type]="ActionKeysType.CLEAR"
|
||||
(actionTriggered)="selection.clear()"
|
||||
>
|
||||
</cnsl-action-keys>
|
||||
<a mat-stroked-button (click)="selection.clear()">
|
||||
<div [ngClass]="{ 'cnsl-action-button': showSelectionActionButton }">
|
||||
<span>{{ 'ORG_DETAIL.TABLE.CLEAR' | translate }}</span>
|
||||
<cnsl-action-keys
|
||||
*ngIf="showSelectionActionButton"
|
||||
[doNotUseContrast]="true"
|
||||
[type]="ActionKeysType.CLEAR"
|
||||
(actionTriggered)="selection.clear()"
|
||||
>
|
||||
</cnsl-action-keys>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
<ng-template #leftActions>
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
@mixin refresh-table-theme($theme) {
|
||||
$foreground: map-get($theme, foreground);
|
||||
|
||||
@@ -48,6 +46,8 @@
|
||||
|
||||
.icon {
|
||||
font-size: 1.2rem;
|
||||
height: 1.2rem;
|
||||
width: 1.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { MatButtonModule } from '@angular/material/button';
|
||||
import { MatIconModule } from '@angular/material/icon';
|
||||
import { MatLegacyButtonModule as MatButtonModule } from '@angular/material/legacy-button';
|
||||
import { MatLegacyProgressSpinnerModule as MatProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
|
||||
import { MatLegacyTooltipModule as MatTooltipModule } from '@angular/material/legacy-tooltip';
|
||||
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
||||
import { MatTooltipModule } from '@angular/material/tooltip';
|
||||
import { TranslateModule } from '@ngx-translate/core';
|
||||
import { PaginatorModule } from 'src/app/modules/paginator/paginator.module';
|
||||
import { LocalizedDatePipeModule } from 'src/app/pipes/localized-date-pipe/localized-date-pipe.module';
|
||||
|
||||
Reference in New Issue
Block a user