54 lines
2.0 KiB
HTML
54 lines
2.0 KiB
HTML
<div class="container">
|
|
<div class="main-container">
|
|
<mat-card *ngIf="missedSchedules" class="red-card">
|
|
<mat-card-content>
|
|
<p>There are missed schedules. Please reschedule them.</p>
|
|
<a class="btn-link" routerLink="/">Reschedule</a>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
<h1 class="dashboard-heading">Now<b class="today-worked-info">Today: 0 min</b></h1>
|
|
|
|
<mat-card class="green-card" *ngIf="!taskRunning">
|
|
<mat-card-content>
|
|
<p>Currently there is no task in progress.</p>
|
|
<a class="btn-link" routerLink="/">Did you forget to start an activity?</a>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
|
|
<h1 class="dashboard-heading">Scheduled for today</h1>
|
|
<mat-card class="green-card" *ngIf="schedules.length == 0">
|
|
<mat-card-content>
|
|
<p>There is no scheduled Task for today</p>
|
|
</mat-card-content>
|
|
</mat-card>
|
|
|
|
<div>
|
|
<mat-card *ngFor="let schedule of schedules">
|
|
<mat-card-header>
|
|
<mat-card-title>
|
|
<a routerLink="/" class="link-no-deco">{{schedule.task.taskName}}</a>
|
|
</mat-card-title>
|
|
</mat-card-header>
|
|
<mat-card-content>
|
|
<span *ngFor="let taskgroupPath of schedule.taskgroupPath">{{taskgroupPath.taskgroupName}} /</span>
|
|
<p class="gray-text" *ngIf="schedule.scheduleType==='BASIC'">To be done sometime today</p>
|
|
</mat-card-content>
|
|
<mat-card-actions>
|
|
<button mat-raised-button color="primary" class="primaryBtn">Start now</button>
|
|
<button mat-raised-button class="yellowBtn">Reschedule</button>
|
|
</mat-card-actions>
|
|
</mat-card>
|
|
</div>
|
|
|
|
</div>
|
|
<span class="spacer"></span>
|
|
<div class="taskgroup-overview">
|
|
<mat-action-list>
|
|
<button mat-list-item class="lightBlueBtn">Manage Taskgroups</button>
|
|
<button mat-list-item class="taskgroup-btn">Algorithmen II</button>
|
|
<button mat-list-item class="taskgroup-last-btn">Computer Grafik</button>
|
|
</mat-action-list>
|
|
</div>
|
|
|
|
</div>
|