31 lines
1.1 KiB
HTML
31 lines
1.1 KiB
HTML
<div class="container">
|
|
<mat-card class="navLink-bar">
|
|
<mat-card-content>
|
|
<a class="navLink" routerLink="/">Dashboard</a>
|
|
<a class="navLink-disabled">/ Taskgroups</a>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
|
|
<mat-card *ngFor="let taskgroup of taskgroups">
|
|
<mat-card-content>
|
|
<h1>{{taskgroup.taskgroupName}}</h1>
|
|
<button mat-raised-button color="primary" [routerLink]="['/taskgroups', taskgroup.taskgroupID]">Detail</button>
|
|
<button mat-raised-button class="edit-btn" (click)="openTaskgroupEditor(taskgroup)">Rename</button>
|
|
<button mat-raised-button color="warn" (click)="openTaskgroupDeletion(taskgroup)">Delete</button>
|
|
</mat-card-content>
|
|
|
|
</mat-card>
|
|
|
|
<mat-card style="width: 100%">
|
|
<mat-card-content>
|
|
<app-task-dashboard [taskgroupID]="taskgroupID"></app-task-dashboard>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
<div style="width: 100%">
|
|
<button id="addTaskBtn" mat-raised-button color="primary" (click)="openTaskCreation()">Create New Task</button>
|
|
<button id="addTaskgroupBtn" mat-raised-button color="primary" (click)="openTaskgroupCreation()">Create new Taskgroup</button>
|
|
</div>
|
|
|
|
|
|
</div>
|