Nach langem wieder committed
This commit is contained in:
32
src/app/modul/modul.component.html
Normal file
32
src/app/modul/modul.component.html
Normal file
@@ -0,0 +1,32 @@
|
||||
<div class="container col-5 float-left">
|
||||
<div class="clearfix">
|
||||
<div class="display-6">Module</div>
|
||||
<button type="button" class="btn btn-primary float-left">Neu</button>
|
||||
</div>
|
||||
<mat-form-field appearance="standard">
|
||||
<mat-label>Filter</mat-label>
|
||||
<input matInput (keyup)="applyFilter($event)" placeholder="Suchbegriff" #input>
|
||||
</mat-form-field>
|
||||
|
||||
<table mat-table [dataSource]="dataSource" matSort (matSortChange)="announceSortChange($event)" class="mat-elevation-z8">
|
||||
<ng-container matColumnDef="moduleid">
|
||||
<th class="kopf col-1" mat-header-cell *matHeaderCellDef> ID </th>
|
||||
<td mat-cell *matCellDef="let mod"> {{mod.moduleid}} </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="moduleshort">
|
||||
<th class="kopf col-1" mat-sort-header mat-header-cell *matHeaderCellDef> Modul </th>
|
||||
<td mat-cell *matCellDef="let mod"> {{mod.moduleshort}} </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="modulename">
|
||||
<th class="kopf col-5" mat-sort-header mat-header-cell *matHeaderCellDef> Name </th>
|
||||
<td mat-cell *matCellDef="let mod"> {{mod.modulename}} </td>
|
||||
</ng-container>
|
||||
<ng-container matColumnDef="moduledescription">
|
||||
<th class="kopf col-5" mat-sort-header mat-header-cell *matHeaderCellDef> Beschreibung </th>
|
||||
<td mat-cell *matCellDef="let mod"> {{mod.moduledescription}} </td>
|
||||
</ng-container>
|
||||
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
|
||||
<tr mat-row *matRowDef="let modrow; columns: displayedColumns;"></tr>
|
||||
</table>
|
||||
<mat-paginator class="mat-elevation-z8 mt-2" #paginator [pageSizeOptions]="[10, 20, 50]" showFirstLastButtons></mat-paginator>
|
||||
</div>
|
Reference in New Issue
Block a user