Memuat data...
{:else if !$authIsTeacher}Anda tidak memiliki akses ke halaman ini.
{:else} {#if students.length === 0}Belum ada data siswa. Gunakan Import CSV untuk menambah siswa pertama.
{:else}| Nama Siswa | {#each lessons as lesson}{lesson.title} | {/each}Selesai | |
|---|---|---|---|
| studentSelection.toggle(student.id as string)} aria-label={`Pilih ${student.nama_siswa}`} /> | {student.nama_siswa} | {#each lessons as lesson} {@const key = lesson.filename.replace('.md', '')} {@const status = student[key]}
{#if status === 'completed'}
✓
{:else if status && status !== 'not_started'}
{status}
{:else}
—
{/if}
{#if status && status !== 'not_started'}
{/if}
|
{/each}
{student.completed_count}/{totalLessons} |