Commit 2d3a8e9c375e89b96fb35eb7f800cd33d1495fc9
1 parent
102209e4d5
Exists in
master
and in
2 other branches
added pdf link
Showing
2 changed files
with
15 additions
and
6 deletions
Show diff stats
src/pages/Dashboard/ChapterInfo.vue
... | ... | @@ -45,10 +45,16 @@ |
45 | 45 | > |
46 | 46 | <v-btn flat>Live online classes</v-btn> |
47 | 47 | </li> |
48 | - <!-- <li> | |
49 | - <v-btn flat>Tutorial-pharmacetutical</v-btn> | |
50 | - </li> | |
51 | 48 | <li> |
49 | + <a | |
50 | + :href="chapter.chapters[0].pdfFileUrl" | |
51 | + target="_blank" | |
52 | + style="text-decoration: none!important;" | |
53 | + > | |
54 | + <v-btn flat>Open PDF</v-btn> | |
55 | + </a> | |
56 | + </li> | |
57 | + <!-- <li> | |
52 | 58 | <v-btn flat>HSP Interactive content</v-btn> |
53 | 59 | </li> |
54 | 60 | <li> |
... | ... | @@ -116,7 +122,8 @@ export default { |
116 | 122 | chapterNames: [], |
117 | 123 | chapterIds: [], |
118 | 124 | selectedChapterId: "", |
119 | - indexSelectedChapter: "" | |
125 | + indexSelectedChapter: "", | |
126 | + pdfLink: "" | |
120 | 127 | }; |
121 | 128 | }, |
122 | 129 | methods: { | ... | ... |
src/pages/Dashboard/dashboard.vue
... | ... | @@ -149,7 +149,8 @@ |
149 | 149 | v-if="studentsData.length === 0 && role == 'PARENT'" |
150 | 150 | class="text-center title grey lighten-4 error--text" |
151 | 151 | >You have no student registered with school</p> |
152 | - <v-layout v-if="role != 'PARENT'"> | |
152 | + <!-- ACCOUNT --> | |
153 | + <!-- <v-layout v-if="role != 'PARENT'"> | |
153 | 154 | <v-flex xs12> |
154 | 155 | <v-card class="card mt-2 account-Card"> |
155 | 156 | <h4> |
... | ... | @@ -212,7 +213,8 @@ |
212 | 213 | </v-layout> |
213 | 214 | </v-card> |
214 | 215 | </v-flex> |
215 | - </v-layout> | |
216 | + </v-layout> --> | |
217 | + | |
216 | 218 | <v-card class="mt-2 card" v-if="role != 'PARENT'"> |
217 | 219 | <!-- <full-calendar |
218 | 220 | ref="calendar" | ... | ... |