-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7f14735
commit ee0cfbf
Showing
3 changed files
with
176 additions
and
132 deletions.
There are no files selected for viewing
216 changes: 112 additions & 104 deletions
216
...directives/unit-tasks-editor/task-definition-editor/task-definition-editor.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,138 +1,146 @@ | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
1 | ||
<div class="flex-col pr-32"> | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
1 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Task details</h3> | ||
<p class="font-normal text-gray-700">Name the task and set target grade</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-general [taskDefinition]="taskDefinition"></f-task-definition-general> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Task details</h3> | ||
<p class="font-normal text-gray-700">Name the task and set target grade</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-general [taskDefinition]="taskDefinition"></f-task-definition-general> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
2 | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
2 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Inbox</h3> | ||
<p class="font-normal text-gray-700">Who assesses {{ unit.hasGroupwork() ? 'and submits ' : '' }}this task?</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-who [taskDefinition]="taskDefinition"></f-task-definition-who> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Inbox</h3> | ||
<p class="font-normal text-gray-700"> | ||
Who assesses {{ unit.hasGroupwork() ? 'and submits ' : '' }}this task? | ||
</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-who [taskDefinition]="taskDefinition"></f-task-definition-who> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
3 | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
3 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Due dates</h3> | ||
<p class="font-normal text-gray-700">When is this task due?</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-dates [taskDefinition]="taskDefinition"></f-task-definition-dates> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Due dates</h3> | ||
<p class="font-normal text-gray-700">When is this task due?</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-dates [taskDefinition]="taskDefinition"></f-task-definition-dates> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
4 | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
4 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Upload requirements</h3> | ||
<p class="font-normal text-gray-700">What do students need to upload?</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-upload [taskDefinition]="taskDefinition"></f-task-definition-upload> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Upload requirements</h3> | ||
<p class="font-normal text-gray-700">What do students need to upload?</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-upload [taskDefinition]="taskDefinition"></f-task-definition-upload> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
5 | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
5 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Task description and resources</h3> | ||
<p class="font-normal text-gray-700">Upload task descriptions and resources</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-resources [taskDefinition]="taskDefinition"></f-task-definition-resources> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900"> | ||
Task description and resources | ||
</h3> | ||
<p class="font-normal text-gray-700">Upload task descriptions and resources</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6"> | ||
<f-task-definition-resources | ||
[taskDefinition]="taskDefinition" | ||
></f-task-definition-resources> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
6 | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
6 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Task assessment automation</h3> | ||
<p class="font-normal text-gray-700" *ngIf="!overseerEnabled">Automation is not enabled</p> | ||
<p class="font-normal text-gray-700" *ngIf="overseerEnabled">Configure automated assessment</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6" *ngIf="overseerEnabled"> | ||
<f-task-definition-overseer [taskDefinition]="taskDefinition"></f-task-definition-overseer> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900"> | ||
Task assessment automation | ||
</h3> | ||
<p class="font-normal text-gray-700" *ngIf="!overseerEnabled">Automation is not enabled</p> | ||
<p class="font-normal text-gray-700" *ngIf="overseerEnabled"> | ||
Configure automated assessment | ||
</p> | ||
<div class="bg-white border border-gray-200 rounded-xl shadow p-6" *ngIf="overseerEnabled"> | ||
<f-task-definition-overseer [taskDefinition]="taskDefinition"></f-task-definition-overseer> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
7 | ||
<div class="flex mt-10"> | ||
<div class="mr-6"> | ||
<div | ||
class="font-bold text-formatif-blue text-3xl rounded-full bg-formatif-blue-lighter flex items-center justify-center w-16 h-16" | ||
> | ||
7 | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Optional settings</h3> | ||
<p class="font-normal text-gray-700">Configure automated assessment</p> | ||
<mat-accordion> | ||
<mat-expansion-panel> | ||
<mat-expansion-panel-header> | ||
<mat-panel-title> Options </mat-panel-title> | ||
</mat-expansion-panel-header> | ||
<f-task-definition-options [taskDefinition]="taskDefinition"></f-task-definition-options> | ||
</mat-expansion-panel> | ||
</mat-accordion> | ||
<div class="w-full"> | ||
<h3 class="mb-1 text-2xl font-bold tracking-tight text-gray-900">Optional settings</h3> | ||
<p class="font-normal text-gray-700">Configure automated assessment</p> | ||
<mat-accordion> | ||
<mat-expansion-panel> | ||
<mat-expansion-panel-header> | ||
<mat-panel-title> Options </mat-panel-title> | ||
</mat-expansion-panel-header> | ||
<f-task-definition-options [taskDefinition]="taskDefinition"></f-task-definition-options> | ||
</mat-expansion-panel> | ||
</mat-accordion> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<mat-toolbar> | ||
<mat-toolbar-row class="flex flex-row"> | ||
<span class="flex-grow"></span> | ||
<button mat-button mat-raised-button color="primary" (click)="save()"><mat-icon>save</mat-icon>Save</button> | ||
</mat-toolbar-row> | ||
</mat-toolbar> | ||
<div class="w-full flex flex-row place-content-end sticky bottom-16 z-10"> | ||
<button mat-fab color="primary" (click)="save()"><mat-icon>save</mat-icon></button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.