CLASSROOMIO-T-154: Notify tutors when a student submits an exercise
CLASSROOMIO-T-154: Fix textarea grade issue CLASSROOMIO-T-154: Get it to work properly Merge branch 'CLASSROOMIO-T-154' of https://gitlab.com/thenextgreat/classroomio into CLASSROOMIO-T-154 CLASSROOMIO-T-154: PR fixes CLASSROOMIO-T-154:Updated the code Merge branch 'main' into CLASSROOMIO-T-154 CLASSROOMIO-T-154:Notify tutors when a student submits an exercise Co-authored-by: Ifeanyi Nwosu <ifeanyi@digdippa.com> Co-authored-by: Rotimi Best <rotimiibitoyeemma@gmail.com> Merge-request: CLASSROOMIO-MR-109 Merged-by: Best Admin <best@digdippa.com>
This commit is contained in:
committed by
Space Cloud
co-authored by
Rotimi Best
parent
91f28a345f
commit
0f2d60534d
@@ -0,0 +1,21 @@
|
||||
<script lang="ts">
|
||||
import TextField from '$lib/components/Form/TextField.svelte';
|
||||
export let gradeMax = 0;
|
||||
export let disableGrading = false;
|
||||
export let grade: number | undefined = 0;
|
||||
</script>
|
||||
|
||||
{#if typeof grade === 'number'}
|
||||
<div class="flex items-center">
|
||||
<TextField
|
||||
placeholder="Points"
|
||||
bind:value={grade}
|
||||
type="number"
|
||||
className="w-12"
|
||||
isDisabled={disableGrading}
|
||||
/>
|
||||
<p class="dark:text-white ml-2 text-lg flex items-center">
|
||||
<span class="mr-1">/</span> <span>{gradeMax}</span>
|
||||
</p>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user