diff --git a/src/app/components/table/table.component.html b/src/app/components/table/table.component.html index 955a759..e2a2486 100644 --- a/src/app/components/table/table.component.html +++ b/src/app/components/table/table.component.html @@ -1,234 +1,244 @@
-
- - - - - Filter - - - - - nur ungespeicherte Elemente anzeigen - - -
-
- - - - - - - + + + + + + + + - - - - - - - + + + + + + - - - - - - - - - - - -
- - - - + + + + + + + + + {{ getTranslation(column.name) }} + + + + {{ element[column.name] }} + {{ element[column.name] }} - - - {{ getTranslation(column.name) }} - - + +
+
-
- - - - - - - - - - - - - locked -
-
+ more_vert + + - -
-
- - - - -
+ + + + + + + + locked +
+
+ + +
+ + + + + + + + + + + - + diff --git a/src/app/components/table/table.component.scss b/src/app/components/table/table.component.scss index 78604c2..6af3060 100644 --- a/src/app/components/table/table.component.scss +++ b/src/app/components/table/table.component.scss @@ -2,6 +2,9 @@ display: flex; flex-direction: column; height: 100%; + .headline { + margin: 0 0.5em; + } .table-control { margin: 0.5em; flex: none; diff --git a/src/app/components/table/table.component.ts b/src/app/components/table/table.component.ts index 42d40f7..8024f8d 100644 --- a/src/app/components/table/table.component.ts +++ b/src/app/components/table/table.component.ts @@ -23,6 +23,8 @@ import { MatDialog, MatDialogRef } from '@angular/material/dialog'; styleUrls: ['./table.component.scss'], }) export class TableComponent { + @Input() + headline: string = "Keine Überschrift"; /** this array defines the columns and translations of the table and the order they are displayed */ @Input() columnInfo: { diff --git a/src/app/pages/tables/bikes/bikes.component.html b/src/app/pages/tables/bikes/bikes.component.html index ba243e4..ecca39d 100644 --- a/src/app/pages/tables/bikes/bikes.component.html +++ b/src/app/pages/tables/bikes/bikes.component.html @@ -1,4 +1,5 @@