File tree Expand file tree Collapse file tree 3 files changed +25
-28
lines changed Expand file tree Collapse file tree 3 files changed +25
-28
lines changed Original file line number Diff line number Diff line change 5
5
<h1 >Classrooms</h1 >
6
6
<v-divider ></v-divider >
7
7
8
- <span
8
+ <v-btn
9
9
v-if =" isTeacher"
10
- class =" cursor-pointer d-inline-flex mt-5"
10
+ class =" mt-5"
11
+ depressed
11
12
@click =" $router.push({ name: 'ClassroomCreate' })"
12
13
>
13
- <v-icon >
14
+ <v-icon left >
14
15
mdi-plus-circle-outline
15
16
</v-icon >
16
- <span
17
- v-text =" 'New classroom'"
18
- class =" ml-3"
19
- ></span >
20
- </span >
17
+ New classroom
18
+ </v-btn >
21
19
22
20
<v-progress-circular
23
21
v-if =" loading"
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
- <span
4
- class = " cursor-pointer d-inline-flex "
3
+ <v-btn
4
+ depressed
5
5
@click =" showAddStudent = !showAddStudent"
6
6
>
7
- <v-icon >
8
- mdi-plus-circle-outline
7
+ <v-icon left >
8
+ {{ showAddStudent ? ' mdi-minus-circle-outline' : 'mdi- plus-circle-outline' }}
9
9
</v-icon >
10
- <span
11
- v-text =" 'Add student'"
12
- class =" ml-3"
13
- ></span >
14
- </span >
10
+ Add student
11
+ </v-btn >
15
12
16
- <div v-show =" showAddStudent" >
13
+ <div
14
+ v-if =" showAddStudent"
15
+ class =" mt-3"
16
+ >
17
17
<v-card width =" 50%" >
18
18
<v-card-subtitle >
19
- An email containing temporary password will be sent to your student after creating .
19
+ An email containing temporary password will be sent to your student after adding .
20
20
Tell them to login with that password.
21
21
</v-card-subtitle >
22
22
<v-card-text >
51
51
color =" primary"
52
52
:loading =" loadingAddStudent"
53
53
@click =" addStudent"
54
+ min-width =" 110"
54
55
>
55
- Add student
56
+ Add
56
57
</v-btn >
57
58
</v-card-actions >
58
59
</v-card >
Original file line number Diff line number Diff line change 5
5
<h1 >Manage reading exercises</h1 >
6
6
<v-divider ></v-divider >
7
7
8
- <span
9
- class =" cursor-pointer d-inline-flex mt-5"
8
+ <v-btn
9
+ class =" mt-5"
10
+ depressed
10
11
@click =" goToNewExercise"
11
12
>
12
- <v-icon >
13
+ <v-icon left >
13
14
mdi-plus-circle-outline
14
15
</v-icon >
15
- <span
16
- v-text =" 'Add exercise'"
17
- class =" ml-3"
18
- ></span >
19
- </span >
16
+ New exercise
17
+ </v-btn >
20
18
<br >
21
19
22
20
<v-progress-circular
You can’t perform that action at this time.
0 commit comments