Skip to content

Commit 608cafa

Browse files
update layouts
1 parent 2da552c commit 608cafa

File tree

4 files changed

+70
-45
lines changed

4 files changed

+70
-45
lines changed

src/views/Home.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<template>
2-
<v-container>
2+
<v-container class="container-sm">
33
<v-breadcrumbs :items="breadcrumbs"></v-breadcrumbs>
44

55
<v-row>
66
<v-col
7-
cols="3"
7+
cols="6"
88
v-for="link of links"
99
:key="link.text"
1010
>

src/views/classroom/ClassroomList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-container>
2+
<v-container class="container-sm">
33
<v-breadcrumbs :items="breadcrumbs" />
44

55
<h1>Classrooms</h1>

src/views/classroom/ClassroomOverviewStudentReport.vue

Lines changed: 66 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -19,47 +19,72 @@
1919
<span v-if="student !== null">{{ student.email }}</span>
2020
</v-card-subtitle>
2121
<v-card-text>
22-
<v-simple-table>
23-
<thead>
24-
<tr>
25-
<th>Reading</th>
26-
<th>Passage 1</th>
27-
<th>Passage 2</th>
28-
<th>Passage 3</th>
29-
<th>Total</th>
30-
<th>Band score</th>
31-
</tr>
32-
</thead>
33-
<tbody>
34-
<tr
35-
v-for="report of reports"
36-
:key="report.pk"
37-
class="cursor-pointer"
38-
@click="$router.push({
39-
name: 'ReadingExerciseSubmitResult',
40-
params: {
41-
pk: classroom.pk,
42-
exercisePk: report.exercise.pk,
43-
studentPk
44-
}
45-
})"
46-
>
47-
<td>{{ report.exercise.identifier }}</td>
48-
<template v-if="!report.submitted">
49-
<td colspan="6">
50-
Not submitted
51-
</td>
52-
</template>
53-
<template v-else>
54-
<td>{{ report.passage_1_total }}</td>
55-
<td>{{ report.passage_2_total }}</td>
56-
<td>{{ report.passage_3_total }}</td>
57-
<td>{{ report.total }}</td>
58-
<td>{{ report.band_score }}</td>
59-
</template>
60-
</tr>
61-
</tbody>
62-
</v-simple-table>
22+
<v-row>
23+
<v-col cols="6">
24+
<v-simple-table>
25+
<thead>
26+
<tr>
27+
<th>Reading</th>
28+
<th>Passage 1</th>
29+
<th>Passage 2</th>
30+
<th>Passage 3</th>
31+
<th>Total</th>
32+
<th>Band score</th>
33+
</tr>
34+
</thead>
35+
<tbody>
36+
<tr
37+
v-for="report of reports"
38+
:key="report.pk"
39+
class="cursor-pointer"
40+
@click="$router.push({
41+
name: 'ReadingExerciseSubmitResult',
42+
params: {
43+
pk: classroom.pk,
44+
exercisePk: report.exercise.pk,
45+
studentPk
46+
}
47+
})"
48+
>
49+
<td>{{ report.exercise.identifier }}</td>
50+
<template v-if="!report.submitted">
51+
<td colspan="6">
52+
Not submitted
53+
</td>
54+
</template>
55+
<template v-else>
56+
<td>{{ report.passage_1_total }}</td>
57+
<td>{{ report.passage_2_total }}</td>
58+
<td>{{ report.passage_3_total }}</td>
59+
<td>{{ report.total }}</td>
60+
<td>{{ report.band_score }}</td>
61+
</template>
62+
</tr>
63+
</tbody>
64+
</v-simple-table>
65+
</v-col>
66+
<v-divider vertical></v-divider>
67+
<v-col cols="6">
68+
<v-simple-table>
69+
<thead>
70+
<tr>
71+
<th>Listening</th>
72+
<th>Section 1</th>
73+
<th>Section 2</th>
74+
<th>Section 3</th>
75+
<th>Section 4</th>
76+
<th>Total</th>
77+
<th>Band score</th>
78+
</tr>
79+
</thead>
80+
<tbody>
81+
<tr>
82+
<td colspan="7">Coming soon</td>
83+
</tr>
84+
</tbody>
85+
</v-simple-table>
86+
</v-col>
87+
</v-row>
6388
</v-card-text>
6489
</v-card>
6590
</div>

src/views/reading-exercise/ReadingExerciseList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<v-container>
2+
<v-container class="container-sm">
33
<v-breadcrumbs :items="breadcrumbs"></v-breadcrumbs>
44

55
<h1>Manage reading exercises</h1>

0 commit comments

Comments
 (0)