Standardthema als FABRIC hinzugefügt
This commit is contained in:
parent
12bfcb1f25
commit
d94d9f045e
@ -7,5 +7,7 @@
|
|||||||
[searching]="searching"
|
[searching]="searching"
|
||||||
[infoPanel]="infoPanel"
|
[infoPanel]="infoPanel"
|
||||||
[localization]="localization"
|
[localization]="localization"
|
||||||
|
[theme]="theme"
|
||||||
|
[autoResizeWidth] = "true"
|
||||||
>
|
>
|
||||||
</gui-grid>
|
</gui-grid>
|
||||||
@ -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) { }
|
||||||
|
|||||||
@ -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>
|
||||||
@ -0,0 +1,3 @@
|
|||||||
|
#table {
|
||||||
|
padding: 2rem;
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user