Commit 06d0b653370af2de3a23507408d23c02c1739379

Authored by Amber Dev
1 parent 2d3a8e9c37

added pdf link

src/pages/Common/UploadFiles.vue
... ... @@ -80,15 +80,15 @@ export default {
80 80 },
81 81 beforeDestroy() {
82 82 this.resetInput();
83   - },
84   - computed: {
85   - respondToTrigger() {
86   - this.respondToTrigger = this.trigger;
87   - if ((this.respondToTrigger = "reset")) {
88   - this.resetInput;
89   - }
90   - }
91 83 }
  84 + // computed: {
  85 + // respondToTrigger() {
  86 + // this.respondToTrigger = this.trigger;
  87 + // if ((this.respondToTrigger = "reset")) {
  88 + // this.resetInput;
  89 + // }
  90 + // }
  91 + // }
92 92 };
93 93 </script>
94 94 <style scoped >
... ...
src/pages/Dashboard/ChapterInfo.vue
... ... @@ -39,21 +39,28 @@
39 39 </div>
40 40 <!-- OTHER OPTIONS -->
41 41 <div class="mt-5">
42   - <ul class="subheading" style="cursor: pointer">
43   - <li
44   - @click="$router.push({name: 'Live Online Class', query: {chapterId: $route.query.selectedChapterId, chapterName: chapter.chapters[0].chapterName, courseId: $route.query.courseId, classId: localStorage.getItem('parentClassId') } })"
45   - >
46   - <v-btn flat>Live online classes</v-btn>
47   - </li>
48   - <li>
  42 + <ul class="subheading">
  43 + <!-- LIVE ONLINE CLASSES -->
  44 + <div>
  45 + <v-btn flat class="px-4">
  46 + <li
  47 + @click="$router.push({name: 'Live Online Class', query: {chapterId: $route.query.selectedChapterId, chapterName: chapter.chapters[0].chapterName, courseId: $route.query.courseId, classId: localStorage.getItem('parentClassId') } })"
  48 + >Live online classes</li>
  49 + </v-btn>
  50 + </div>
  51 + <!-- OPEN PDF IN NEW TAB -->
  52 + <div>
49 53 <a
50 54 :href="chapter.chapters[0].pdfFileUrl"
51 55 target="_blank"
52 56 style="text-decoration: none!important;"
53 57 >
54   - <v-btn flat>Open PDF</v-btn>
  58 + <v-btn flat class="px-4">
  59 + <li>Open PDF</li>
  60 + </v-btn>
55 61 </a>
56   - </li>
  62 + </div>
  63 +
57 64 <!-- <li>
58 65 <v-btn flat>HSP Interactive content</v-btn>
59 66 </li>
... ...