Add grade filter by category
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9ad021fa65
commit
19a759536b
4 changed files with 29 additions and 2 deletions
6
ui/src/routes/grades/[promo]/[cid]/+page.js
Normal file
6
ui/src/routes/grades/[promo]/[cid]/+page.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
export async function load({ params }) {
|
||||
return {
|
||||
promo: parseInt(params.promo),
|
||||
cid: parseInt(params.cid),
|
||||
};
|
||||
}
|
||||
7
ui/src/routes/grades/[promo]/[cid]/+page.svelte
Normal file
7
ui/src/routes/grades/[promo]/[cid]/+page.svelte
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<script>
|
||||
import StudentGrades from '$lib/components/StudentGrades.svelte';
|
||||
|
||||
export let data;
|
||||
</script>
|
||||
|
||||
<StudentGrades promo={data.promo} category={data.cid} />
|
||||
Reference in a new issue