Standardthema als FABRIC hinzugefügt

This commit is contained in:
Developer 02 2024-06-24 13:29:58 +02:00
parent 12bfcb1f25
commit d94d9f045e
4 changed files with 18 additions and 9 deletions

View File

@ -7,5 +7,7 @@
[searching]="searching" [searching]="searching"
[infoPanel]="infoPanel" [infoPanel]="infoPanel"
[localization]="localization" [localization]="localization"
[theme]="theme"
[autoResizeWidth] = "true"
> >
</gui-grid> </gui-grid>

View File

@ -1,6 +1,6 @@
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { EnvelopeReceiverService } from '../../services/envelope-receiver.service'; import { EnvelopeReceiverService } from '../../services/envelope-receiver.service';
import { GuiColumn, GuiColumnMenu, GuiGridModule, GuiInfoPanel, GuiLocalization, GuiPaging, GuiPagingDisplay, GuiSearching, GuiSorting, GuiSummaries } from '@generic-ui/ngx-grid'; import { GuiColumn, GuiColumnMenu, GuiGridModule, GuiInfoPanel, GuiLocalization, GuiPaging, GuiPagingDisplay, GuiSearching, GuiSorting, GuiSummaries, GuiTheme } from '@generic-ui/ngx-grid';
@Component({ @Component({
selector: 'app-envelope-table', selector: 'app-envelope-table',
@ -51,6 +51,8 @@ export class EnvelopeTableComponent {
translationResolver: (key: string, value: string) => EnvelopeTableComponent.Translation[key] ?? value translationResolver: (key: string, value: string) => EnvelopeTableComponent.Translation[key] ?? value
}; };
theme: GuiTheme = GuiTheme.FABRIC;
source: Array<any> = [] source: Array<any> = []
constructor(private erService: EnvelopeReceiverService) { } constructor(private erService: EnvelopeReceiverService) { }

View File

@ -1,8 +1,10 @@
<mat-tab-group> <div id="table">
<mat-tab label="Offene Umschläge"> <mat-tab-group>
<app-envelope-table></app-envelope-table> <mat-tab label="Offene Umschläge">
</mat-tab> <app-envelope-table></app-envelope-table>
<mat-tab label="Abgeschlossene Umschläge"> </mat-tab>
<app-envelope-table></app-envelope-table> <mat-tab label="Abgeschlossene Umschläge">
</mat-tab> <app-envelope-table></app-envelope-table>
</mat-tab-group> </mat-tab>
</mat-tab-group>
</div>