Commit db965de899db0136765ad631f994b5842e75ccdd

Authored by Amber Dev
1 parent 25766f5a4f

added dialog persistence

Showing 61 changed files with 609 additions and 136 deletions   Show diff stats
src/Services/AllApiCalls.js
... ... @@ -12,7 +12,9 @@ export default {
12 12 pptFile: "",
13 13 pptFileName: "",
14 14 pdfFile: "",
15   - pdfFileName: ""
  15 + pdfFileName: "",
  16 + courseData: [],
  17 + teachersList: [],
16 18  
17 19 }
18 20 },
... ...
src/Services/GetApis.js
... ... @@ -118,7 +118,33 @@ export default {
118 118 } catch (error) {
119 119 console.log("Error in getAnnoucementesList - ", error.message)
120 120 }
  121 + },
  122 +
  123 + /***********************************************************************************************/
  124 +
  125 + /* APIS USED IN AssignTeachers.vue */
  126 + async getCourseesList(params) {
  127 + try {
  128 + let response = await this.getMethod("/getCourseesList", {
  129 + classId: params.classId
  130 + })
  131 + this.courseData = response.data.data;
  132 + return response;
  133 + } catch (error) {
  134 + console.log("Error in getAnnoucementesList - ", error.message)
  135 + }
  136 + },
  137 + async getTeachersList(params) {
  138 + try {
  139 + let response = await this.getMethod("/getTeachersList")
  140 + this.teachersList = response.data.data;
  141 + console.log("teachers list - ", this.teachersList)
  142 + return response;
  143 + } catch (error) {
  144 + console.log("Error in getAnnoucementesList - ", error.message)
  145 + }
121 146 }
122 147  
  148 +
123 149 },
124 150 }
125 151 \ No newline at end of file
... ...
... ... @@ -13,6 +13,16 @@ const adminMenu = [
13 13 icon: '/static/icon/class.png',
14 14 },
15 15 {
  16 + title: 'Course',
  17 + group: 'AdminCourse',
  18 + component: 'AdminCourse',
  19 + icon: '/static/icon/attendence.png',
  20 + items: [
  21 + { name: 'AssignTeachers', title: 'Assign Teachers', component: 'AssignTeachers', action: '', },
  22 +
  23 + ]
  24 + },
  25 + {
16 26 title: 'Section',
17 27 // group: 'apps',
18 28 name: 'Section',
... ...
src/components/pageHeader/AppDrawer.vue
... ... @@ -27,6 +27,7 @@
27 27 />
28 28 </v-toolbar>
29 29 <v-list dense dark>
  30 + <!-- NAVIGATION DRAWER IF ROLE IS ADMIN -->
30 31 <template v-for="(item, i) in menus" v-if="role === 'ADMIN'">
31 32 <!-- {{menus}} -->
32 33 <!--group with subitems-->
... ... @@ -211,6 +212,7 @@
211 212 <!-- </a> -->
212 213 </v-list-tile>
213 214 </template>
  215 + <!-- NAVIGATION DRAWER IF ROLE IS LIBRARIAN -->
214 216 <template v-for="(item, i) in menuLibrarian" v-if="role === 'LIBRARIAN'">
215 217 <!-- {{menus}} -->
216 218 <!--group with subitems-->
... ...
src/pages/Academic/assignment.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Assignment ****** -->
4   - <v-dialog v-model="editAssignmentDialog" max-width="400px">
  4 + <v-dialog v-model="editAssignmentDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -141,7 +141,7 @@
141 141 </v-dialog>
142 142  
143 143 <!-- ****** VIEW PROFIL NOTICE BOARD ****** -->
144   - <v-dialog v-model="viewAssignmentDialog" max-width="500px">
  144 + <v-dialog v-model="viewAssignmentDialog" max-width="500px" persistent>
145 145 <v-card flat class="card-style pa-3" dark>
146 146 <v-layout>
147 147 <v-flex xs12>
... ... @@ -329,7 +329,7 @@
329 329 v-model="snackbar"
330 330 :color="color"
331 331 >{{ text }}</v-snackbar>
332   - <v-dialog v-model="addAssignmentDialog" max-width="400px" v-if="addAssignmentDialog">
  332 + <v-dialog v-model="addAssignmentDialog" max-width="400px" v-if="addAssignmentDialog" persistent>
333 333 <v-card flat class="card-style pa-2" dark>
334 334 <v-layout>
335 335 <v-flex xs12>
... ...
src/pages/Academic/routine.vue
... ... @@ -372,7 +372,7 @@
372 372 v-model="snackbar"
373 373 :color="color"
374 374 >{{ text }}</v-snackbar>
375   - <v-dialog v-model="addRoutineDialog" max-width="600px" v-if="addRoutineDialog">
  375 + <v-dialog v-model="addRoutineDialog" max-width="600px" v-if="addRoutineDialog" persistent>
376 376 v-if="addRoutineDialog"
377 377 <v-card flat class="card-style pa-2" dark>
378 378 <v-layout>
... ...
src/pages/Academic/subject.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Subject ****** -->
4   - <v-dialog v-model="editSubjectDialog" max-width="600px">
  4 + <v-dialog v-model="editSubjectDialog" max-width="600px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -149,7 +149,7 @@
149 149  
150 150 <!-- ****** VIEW PROFIL NOTICE BOARD ****** -->
151 151  
152   - <v-dialog v-model="viewSubjectDialog" max-width="500px">
  152 + <v-dialog v-model="viewSubjectDialog" max-width="500px" persistent>
153 153 <v-card flat class="card-style pa-3" dark>
154 154 <v-layout>
155 155 <v-flex xs12>
... ... @@ -365,7 +365,7 @@
365 365 v-model="snackbar"
366 366 :color="color"
367 367 >{{ text }}</v-snackbar>
368   - <v-dialog v-model="addSubjectDialog" max-width="600px" v-if="addSubjectDialog">
  368 + <v-dialog v-model="addSubjectDialog" max-width="600px" v-if="addSubjectDialog" persistent>
369 369 <v-card flat class="card-style pa-2" dark>
370 370 <v-layout>
371 371 <v-flex xs12>
... ...
src/pages/Academic/syllabus.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Syllabus ****** -->
4   - <v-dialog v-model="editSyllabusDialog" max-width="400px">
  4 + <v-dialog v-model="editSyllabusDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -262,7 +262,7 @@
262 262 v-model="snackbar"
263 263 :color="color"
264 264 >{{ text }}</v-snackbar>
265   - <v-dialog v-model="addSyllabusDialog" max-width="400px" v-if="addSyllabusDialog">
  265 + <v-dialog v-model="addSyllabusDialog" max-width="400px" v-if="addSyllabusDialog" persistent>
266 266 <v-card flat class="card-style pa-2" dark>
267 267 <v-layout>
268 268 <v-flex xs12>
... ...
src/pages/Account/expense.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT EXPENSE ****** -->
4   - <v-dialog v-model="editExpenseDialog" max-width="600px" scrollable>
  4 + <v-dialog v-model="editExpenseDialog" max-width="600px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -156,7 +156,7 @@
156 156  
157 157 <!-- ****** PROFILE VIEW EXPENSE DETAILS ****** -->
158 158  
159   - <v-dialog v-model="viewExpenseDialog" max-width="600px" scrollable>
  159 + <v-dialog v-model="viewExpenseDialog" max-width="600px" scrollable persistent>
160 160 <v-card flat class="card-style pa-3" dark>
161 161 <v-layout>
162 162 <v-flex xs12>
... ... @@ -324,7 +324,7 @@
324 324 </v-data-table>
325 325  
326 326 <!-- ****** Add Expense Data ****** -->
327   - <v-dialog v-model="addExpenseDialog" max-width="600px" v-if="addExpenseDialog">
  327 + <v-dialog v-model="addExpenseDialog" max-width="600px" v-if="addExpenseDialog" persistent>
328 328 <v-card flat class="card-style pa-2" dark>
329 329 <v-layout>
330 330 <v-flex xs12>
... ...
src/pages/Account/feeTypes.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT SECTION ****** -->
4   - <v-dialog v-model="editFeeTypeDialog" max-width="600px">
  4 + <v-dialog v-model="editFeeTypeDialog" max-width="600px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -57,7 +57,7 @@
57 57  
58 58 <!-- ****** PROFILE VIEW FEE TYPE DATA ****** -->
59 59  
60   - <v-dialog v-model="viewFeeTypeDialog" max-width="400px">
  60 + <v-dialog v-model="viewFeeTypeDialog" max-width="400px" persistent>
61 61 <v-card flat class="card-style pa-3" dark>
62 62 <v-layout>
63 63 <v-flex xs12>
... ... @@ -192,7 +192,7 @@
192 192 </v-data-table>
193 193  
194 194 <!-- ****** ADD Fee Type ****** -->
195   - <v-dialog v-model="addFeeTypeDialog" max-width="500px" v-if="addFeeTypeDialog">
  195 + <v-dialog v-model="addFeeTypeDialog" max-width="500px" v-if="addFeeTypeDialog" persistent>
196 196 <v-card flat class="card-style pa-2" dark>
197 197 <v-layout>
198 198 <v-flex xs12>
... ...
src/pages/Account/income.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Income DETAILS ****** -->
4   - <v-dialog v-model="editIncomeDialog" max-width="600px" scrollable>
  4 + <v-dialog v-model="editIncomeDialog" max-width="600px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -152,7 +152,7 @@
152 152 </v-dialog>
153 153  
154 154 <!-- ****** PROFILE VIEW INCOME DETAILS ****** -->
155   - <v-dialog v-model="profileIncomeDialog" max-width="400px">
  155 + <v-dialog v-model="profileIncomeDialog" max-width="400px" persistent>
156 156 <v-card flat class="card-style pa-3" dark>
157 157 <v-layout>
158 158 <v-flex xs12>
... ... @@ -321,7 +321,7 @@
321 321 </v-data-table>
322 322  
323 323 <!-- ****** Add Income Data****** -->
324   - <v-dialog v-model="addIncomeDialog" max-width="600px" v-if="addIncomeDialog">
  324 + <v-dialog v-model="addIncomeDialog" max-width="600px" v-if="addIncomeDialog" persistent>
325 325 <v-card flat class="card-style pa-2" dark>
326 326 <v-layout>
327 327 <v-flex xs12>
... ...
src/pages/Account/invoice.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit INVOICE ****** -->
4   - <v-dialog v-model="editInvoiceDialog">
  4 + <v-dialog v-model="editInvoiceDialog" persistent>
5 5 <v-card flat class="text-xs-center white--text">
6 6 <v-layout>
7 7 <v-flex xs12 class="card-styles pa-2">
... ... @@ -14,7 +14,7 @@
14 14 </v-dialog>
15 15  
16 16 <!-- ****PAYMENT INVOICE DIALOG -->
17   - <v-dialog v-model="paymentInvoiceDialog">
  17 + <v-dialog v-model="paymentInvoiceDialog" persistent>
18 18 <v-card flat class="text-xs-center white--text">
19 19 <v-layout>
20 20 <v-flex xs12 class="card-styles pa-2">
... ... @@ -28,7 +28,7 @@
28 28  
29 29 <!-- ****** PROFILE VIEW SECTION DATA ****** -->
30 30  
31   - <v-dialog v-model="dialog1" max-width="800px">
  31 + <v-dialog v-model="dialog1" max-width="800px" persistent>
32 32 <v-card flat class="text-xs-center white--text">
33 33 <v-layout>
34 34 <v-flex xs12 class="card-style pa-2">
... ... @@ -261,7 +261,7 @@
261 261 v-model="snackbar"
262 262 :color="color"
263 263 >{{ text }}</v-snackbar>
264   - <v-dialog v-model="addInvoiceDialog" v-if="addInvoiceDialog">
  264 + <v-dialog v-model="addInvoiceDialog" v-if="addInvoiceDialog" persistent>
265 265 <v-card flat class="text-xs-center white--text">
266 266 <v-layout>
267 267 <v-flex xs12 class="card-styles pa-2">
... ...
src/pages/Account/paymentHistory.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit Payment History ****** -->
4   - <v-dialog v-model="editPaymentDialog" max-width="400px">
  4 + <v-dialog v-model="editPaymentDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ...
src/pages/Administrator/academicYear.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT ACADEMIC YEAR ****** -->
4   - <v-dialog v-model="editAcademinYearDialog" max-width="600px">
  4 + <v-dialog v-model="editAcademinYearDialog" max-width="600px" persistent >
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -124,7 +124,7 @@
124 124 </v-card>
125 125 </v-dialog>
126 126 <!-- ****** PROFILE ACADEMIC YEAR DEATILS ****** -->
127   - <v-dialog v-model="viewAcademinYearDialog" max-width="500px">
  127 + <v-dialog v-model="viewAcademinYearDialog" max-width="500px" persistent>
128 128 <v-card flat class="card-style pa-3" dark>
129 129 <v-layout>
130 130 <v-flex xs12>
... ... @@ -285,7 +285,7 @@
285 285 >Your search for "{{ search }}" found no results.</v-alert>
286 286 </v-data-table>
287 287 <!-- ****** ADD ACADEMIC YEAR ****** -->
288   - <v-dialog v-model="addAcademicYearDialog" max-width="600px" v-if="addAcademicYearDialog">
  288 + <v-dialog v-model="addAcademicYearDialog" max-width="600px" v-if="addAcademicYearDialog" persistent>
289 289 <v-card flat class="card-style pa-2" dark>
290 290 <v-layout>
291 291 <v-flex xs12>
... ...
src/pages/Administrator/role.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS Role Distribution ****** -->
4   - <v-dialog v-model="editRoleDialog" max-width="400px">
  4 + <v-dialog v-model="editRoleDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -114,7 +114,7 @@
114 114  
115 115 <!-- ****** ADD ROLE ****** -->
116 116  
117   - <v-dialog v-model="addRoleDialog" max-width="400px">
  117 + <v-dialog v-model="addRoleDialog" max-width="400px" persistent>
118 118 <v-card flat class="card-style pa-2" dark>
119 119 <v-layout>
120 120 <v-flex xs12>
... ...
src/pages/Administrator/systemAdmin.vue
... ... @@ -26,7 +26,7 @@
26 26 v-model="snackbar"
27 27 color="success"
28 28 >{{ text }}</v-snackbar>
29   - <v-dialog v-model="dialog" max-width="1100px" scrollable>
  29 + <v-dialog v-model="dialog" max-width="1100px" scrollable persistent>
30 30 <v-card flat>
31 31 <v-toolbar color="grey lighten-2" flat>
32 32 <v-spacer></v-spacer>
... ... @@ -348,7 +348,7 @@
348 348  
349 349 <!-- ****** PROFILE VIEW System Admin DETAILS ****** -->
350 350  
351   - <v-dialog v-model="dialog1" max-width="600px" scrollable>
  351 + <v-dialog v-model="dialog1" max-width="600px" scrollable persistent>
352 352 <v-card>
353 353 <v-toolbar color="grey lighten-2" flat>
354 354 <v-spacer></v-spacer>
... ...
src/pages/Annoucement/annoucement.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS COURSES DETAILS ****** -->
4   - <v-dialog v-model="editStudentDialog" max-width="600px" scrollable>
  4 + <v-dialog v-model="editStudentDialog" max-width="600px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -121,7 +121,7 @@
121 121  
122 122 <!-- ****** PROFILE VIEW STUDENTS DEATILS ****** -->
123 123  
124   - <v-dialog v-model="profileStudentDialog" max-width="600px" scrollable>
  124 + <v-dialog v-model="profileStudentDialog" max-width="600px" scrollable persistent>
125 125 <v-card flat class="card-style pa-3" dark>
126 126 <v-layout>
127 127 <v-flex xs12>
... ... @@ -324,7 +324,7 @@
324 324 >Your search for "{{ search }}" found no results.</v-alert>
325 325 </v-data-table>
326 326 <!-- ****** Add Annoucement DETAILS******-->
327   - <v-dialog v-model="addAnnoucementDialog" max-width="500" v-if="addAnnoucementDialog">
  327 + <v-dialog v-model="addAnnoucementDialog" max-width="500" v-if="addAnnoucementDialog" persistent>
328 328 <v-card flat class="card-style pa-2" dark>
329 329 <v-layout>
330 330 <v-flex xs12>
... ...
src/pages/AssignTeachers.vue
... ... @@ -0,0 +1,419 @@
  1 +<template>
  2 + <v-container fluid class="body-color">
  3 + <!-- LOADER -->
  4 + <div class="loader" v-if="showLoader">
  5 + <v-progress-circular indeterminate color="white"></v-progress-circular>
  6 + </div>
  7 +
  8 + <!-- SNACKBAR -->
  9 + <v-snackbar
  10 + :timeout="timeout"
  11 + :top="y === 'top'"
  12 + :right="x === 'right'"
  13 + :vertical="mode === 'vertical'"
  14 + v-model="snackbar"
  15 + :color="snackbarColor"
  16 + >
  17 + {{ text }}
  18 + <v-spacer></v-spacer>
  19 + <v-btn flat text @click="snackbar = false">X</v-btn>
  20 + </v-snackbar>
  21 +
  22 + <!-- DIALOG ENROLL TEACHER -->
  23 + <v-dialog v-model="dialogEnrollTeacher" max-width="600px" scrollable persistent>
  24 + <v-card flat class="card-style pa-3" dark>
  25 + <v-layout>
  26 + <v-flex xs12>
  27 + <label class="title text-xs-center">View Course</label>
  28 + <v-icon size="24" class="right" @click="profileStudentDialog = false">cancel</v-icon>
  29 + </v-flex>
  30 + </v-layout>
  31 + <v-card-text>
  32 + <v-flex align-center justify-center layout text-xs-center class="mt-3">
  33 + <v-avatar size="100px">
  34 + <img src="/static/icon/user.png" v-if="!editedItem.courseImageUrl" />
  35 + <img :src="editedItem.courseImageUrl" v-else-if="editedItem.courseImageUrl" />
  36 + </v-avatar>
  37 + </v-flex>
  38 + <v-container grid-list-md>
  39 + <v-layout wrap>
  40 + <v-flex xs12>
  41 + <v-layout>
  42 + <v-flex xs6 sm6>
  43 + <h5 class="right my-1">
  44 + <b>Course :</b>
  45 + </h5>
  46 + </v-flex>
  47 + <v-flex sm6 xs6>
  48 + <h5 class="my-1 left">{{ editedItem.courseName }}</h5>
  49 + </v-flex>
  50 + </v-layout>
  51 + </v-flex>
  52 + </v-layout>
  53 + </v-container>
  54 + </v-card-text>
  55 + </v-card>
  56 + </v-dialog>
  57 +
  58 + <v-toolbar color="transparent" flat>
  59 + <v-card-actions>
  60 + <v-layout row wrap>
  61 + <!-- SELECT CLASS -->
  62 + <v-flex xs12 sm6>
  63 + <v-select
  64 + :items="classesList"
  65 + label="Select Class"
  66 + v-model="classId"
  67 + item-text="classNum"
  68 + item-value="_id"
  69 + name="Select Class"
  70 + :rules="classRules"
  71 + required
  72 + @change="populateCourses(classId)"
  73 + class="ml-2"
  74 + ></v-select>
  75 + </v-flex>
  76 + <!-- SELECT COURSE -->
  77 + <v-flex xs12 sm6>
  78 + <v-select
  79 + :items="courseData"
  80 + label="Select Course"
  81 + v-model="courseId"
  82 + item-text="courseName"
  83 + item-value="_id"
  84 + required
  85 + class="ml-2"
  86 + @change="getTeachersList()"
  87 + ></v-select>
  88 + </v-flex>
  89 + </v-layout>
  90 + </v-card-actions>
  91 + </v-toolbar>
  92 +
  93 + <!-- LIST OF TEACHERS -->
  94 + <v-data-table
  95 + :headers="headers"
  96 + :items="teachersList"
  97 + :pagination.sync="pagination"
  98 + :search="search"
  99 + select-all
  100 + v-model="selected"
  101 + item-key="_id"
  102 + >
  103 + <template slot="items" slot-scope="props">
  104 + <tr class="tr" :active="props.selected" @click="props.selected = !props.selected">
  105 + <td class="text-xs-center td td-row">
  106 + <v-checkbox
  107 + v-model="props.item.enroll"
  108 + @change="enrollTeacher(props.item)"
  109 + primary
  110 + hide-details
  111 + ></v-checkbox>
  112 + </td>
  113 +
  114 + <td class="text-xs-center td td-row">{{ props.item.name}}</td>
  115 + <td class="text-xs-center td td-row">{{ props.item.email }}</td>
  116 + </tr>
  117 + </template>
  118 + <template slot="headers" slot-scope="props">
  119 + <tr>
  120 + <th>
  121 + <v-checkbox
  122 + :input-value="props.all"
  123 + :indeterminate="props.indeterminate"
  124 + primary
  125 + hide-details
  126 + @click.native="toggleAll"
  127 + ></v-checkbox>
  128 + </th>
  129 + <th
  130 + v-for="header in props.headers"
  131 + :key="header.text"
  132 + :class="['column sortable', pagination.descending ? 'desc' : 'asc', header.value === pagination.sortBy ? 'active' : '']"
  133 + @click="changeSort(header.value)"
  134 + >
  135 + <v-icon small>arrow_upward</v-icon>
  136 + {{ header.text }}
  137 + </th>
  138 + </tr>
  139 + </template>
  140 + <v-alert
  141 + slot="no-results"
  142 + :value="true"
  143 + color="error"
  144 + icon="warning"
  145 + >Your search for "{{ search }}" found no results.</v-alert>
  146 + </v-data-table>
  147 +
  148 + <v-snackbar
  149 + :timeout="timeout"
  150 + :top="y === 'top'"
  151 + :right="x === 'right'"
  152 + :vertical="mode === 'vertical'"
  153 + v-model="snackbar"
  154 + :color="color"
  155 + >{{ text }}</v-snackbar>
  156 + <div class="loader" v-if="showLoader">
  157 + <v-progress-circular indeterminate color="white"></v-progress-circular>
  158 + </div>
  159 + </v-container>
  160 +</template>
  161 +
  162 +<script>
  163 +import http from "@/Services/http.js";
  164 +import moment from "moment";
  165 +import countryList from "@/script/country.js";
  166 +import parent from "@/script/parents.js";
  167 +import AllApicalls from "@/Services/AllApiCalls.js";
  168 +
  169 +export default {
  170 + mixins: [AllApicalls],
  171 + data: () => ({
  172 + showNext: false,
  173 + snackbar: false,
  174 + y: "top",
  175 + x: "right",
  176 + role: "",
  177 + mode: "",
  178 + append: "",
  179 + timeout: 3000,
  180 + text: "",
  181 + show: true,
  182 + color: "",
  183 + showSearch: false,
  184 + showLoader: false,
  185 + loading: false,
  186 + editLoading: false,
  187 + date: null,
  188 + search: "",
  189 + menu: false,
  190 + menu1: false,
  191 + editStudentDialog: false,
  192 + profileStudentDialog: false,
  193 + addCourseDialog: false,
  194 + valid: true,
  195 +
  196 + addSection: [],
  197 + pagination: {
  198 + rowsPerPage: 10,
  199 + },
  200 + imageData: {},
  201 + imageName: "",
  202 + imageUrl: "",
  203 + imageFile: "",
  204 + editImageName: "",
  205 + editImageUrl: "",
  206 + courseRules: [(v) => !!v || " Course Name is required"],
  207 + classRules: [(v) => !!v || " Class Name is required"],
  208 + sectionRules: [(v) => !!v || " Section Name is required"],
  209 + errorMessages: "",
  210 + /* LIST OF TEACHERS */
  211 + headers: [
  212 + {
  213 + text: "Teacher Name",
  214 + value: "name",
  215 + sortable: false,
  216 + align: "center",
  217 + },
  218 + {
  219 + text: "Email",
  220 + value: "email",
  221 + sortable: false,
  222 + align: "center",
  223 + },
  224 + ],
  225 + selected: [],
  226 + teachers: [],
  227 + // courseData: [],
  228 + editedIndex: -1,
  229 + addCourses: {},
  230 + selectStudents: {
  231 + select: "",
  232 + selectSection: "",
  233 + },
  234 + editedItem: {},
  235 + /* DIALOG ENROLL TEACHER */
  236 + dialogEnrollTeacher: false,
  237 + /* SELECT CLASS*/
  238 + classesList: [],
  239 + classId: "",
  240 + /* SELECT COURSE */
  241 + courseId: "",
  242 + }),
  243 +
  244 + methods: {
  245 + async populateCourses() {
  246 + let response = await this.getCourseesList({ classId: this.classId });
  247 + },
  248 + enrollTeacher(selected) {
  249 + let selectedTeachersArray = [];
  250 + selectedTeachersArray.push({ teacherId: selected._id });
  251 +
  252 + let isExists = false;
  253 + for (let item of this.selected) {
  254 + if (item._id === selected._id) {
  255 + isExists = true;
  256 + break;
  257 + }
  258 + }
  259 +
  260 + if (selected.enroll === true) {
  261 + if (!isExists) this.selected.push(selected);
  262 + var payload = {
  263 + courseId: this.courseId,
  264 + teacherId: selectedTeachersArray,
  265 + };
  266 + http()
  267 + .put("/assignTeacherToCourse", payload)
  268 + .then((response) => {
  269 + this.snackbar = true;
  270 + this.text = response.data.message;
  271 + this.getParticularCourse("noSnackbar");
  272 + })
  273 + .catch((error) => {
  274 + this.snackbar = true;
  275 + this.text = error.response.data.message;
  276 + });
  277 + }
  278 + if (
  279 + selected.enroll == false &&
  280 + selected.enroll != undefined &&
  281 + selected.enroll != null
  282 + ) {
  283 + var payloadDeleteStudents = {
  284 + courseId: this.courseId,
  285 + teacherId: selected.enrollId,
  286 + };
  287 + http()
  288 + .put("/deleteStudents", payloadDeleteStudents)
  289 + .then((response) => {
  290 + this.snackbar = true;
  291 + this.text = response.data.message;
  292 + this.getParticularCourse();
  293 + })
  294 + .catch((error) => {
  295 + this.snackbar = true;
  296 + this.text = error.response.data.message;
  297 + });
  298 + }
  299 + },
  300 +
  301 + toggleAll() {
  302 + let withdraw = false;
  303 + if (this.selected.length === this.studentsData.length) withdraw = true;
  304 +
  305 + if (withdraw) {
  306 + var payload = {
  307 + courseId: this.courseId,
  308 + teacherId: [],
  309 + };
  310 + http()
  311 + .put("/assignTeacherToCourse", payload)
  312 + .then((response) => {
  313 + this.snackbar = true;
  314 + this.text = response.data.message;
  315 + this.selected = [];
  316 + for (let i = 0; i < this.studentsData.length; i++) {
  317 + this.studentsData[i].enroll = false;
  318 + }
  319 + this.getParticularCourse();
  320 + })
  321 + .catch((error) => {
  322 + this.snackbar = true;
  323 + this.text = error.response.data.message;
  324 + });
  325 + } else {
  326 + let selectedTeachersArray = [];
  327 + for (let item of this.studentsData) {
  328 + if (item.enroll === false || !item.enroll) {
  329 + selectedTeachersArray.push({ teacherId: item._id });
  330 + }
  331 + }
  332 +
  333 + var payload = {
  334 + courseId: this.courseId,
  335 + teacherId: selectedTeachersArray,
  336 + };
  337 + http()
  338 + .put("/assignTeacherToCourse", payload)
  339 + .then((response) => {
  340 + this.snackbar = true;
  341 + this.text = response.data.message;
  342 + for (let i = 0; i < this.studentsData.length; i++) {
  343 + this.studentsData[i].enroll = true;
  344 + }
  345 + this.getParticularCourse();
  346 + })
  347 + .catch((error) => {
  348 + this.snackbar = true;
  349 + this.text = error.response.data.message;
  350 + });
  351 + }
  352 + },
  353 + // getCourses() {
  354 + // this.showLoader = true;
  355 + // http()
  356 + // .get("/getCourseesList", {
  357 + // params: {
  358 + // classId: this.selectStudents.select,
  359 + // },
  360 + // })
  361 + // .then((response) => {
  362 + // this.courseData = response.data.data;
  363 + // this.showLoader = false;
  364 + // })
  365 + // .catch((err) => {
  366 + // console.log("err====>", err);
  367 + // this.showLoader = false;
  368 + // });
  369 + // },
  370 + // getSections(_id) {
  371 + // var token = this.$store.state.token;
  372 + // this.showLoader = true;
  373 + // http()
  374 + // .get(
  375 + // "/getSectionsList",
  376 + // { params: { classId: _id } },
  377 + // {
  378 + // headers: { Authorization: "Bearer " + token },
  379 + // }
  380 + // )
  381 + // .then((response) => {
  382 + // this.addSection = response.data.data;
  383 + // this.showLoader = false;
  384 + // })
  385 + // .catch((err) => {
  386 + // this.showLoader = false;
  387 + // });
  388 + // },
  389 + },
  390 + mounted() {
  391 + var token = this.$store.state.token;
  392 + http()
  393 + .get("/getClassesList", {
  394 + headers: { Authorization: "Bearer " + token },
  395 + })
  396 + .then((response) => {
  397 + this.classesList = response.data.data;
  398 + })
  399 + .catch((error) => {
  400 + this.showLoader = false;
  401 + if (error.response.status === 401) {
  402 + this.$router.replace({ path: "/" });
  403 + this.$store.dispatch("setToken", null);
  404 + this.$store.dispatch("Id", null);
  405 + this.$store.dispatch("Role", null);
  406 + }
  407 + });
  408 + },
  409 +};
  410 +</script>
  411 +<style scoped>
  412 +.active {
  413 + background-color: gray;
  414 + color: white !important;
  415 +}
  416 +.activebtn {
  417 + color: black !important;
  418 +}
  419 +</style>
0 420 \ No newline at end of file
... ...
src/pages/Attendence/studentAttendence.vue
... ... @@ -122,7 +122,7 @@
122 122 >Your search for "{{ search }}" found no results.</v-alert>
123 123 </v-data-table>
124 124 <!-- ****** Add Students Attendece****** -->
125   - <v-dialog v-model="addStudentAttendenceDialog" width="1600" v-if="addStudentAttendenceDialog">
  125 + <v-dialog v-model="addStudentAttendenceDialog" width="1600" v-if="addStudentAttendenceDialog" persistent>
126 126 <v-card flat class="pa-2">
127 127 <v-layout>
128 128 <v-flex xs12>
... ...
src/pages/Attendence/teacherAttendence.vue
... ... @@ -85,7 +85,7 @@
85 85 >Your search for "{{ search }}" found no results.</v-alert>
86 86 </v-data-table>
87 87 <!-- ****** Add Teachers Attendece****** -->
88   - <v-dialog v-model="addTeacherAttendenceDialog" width="1600" v-if="addTeacherAttendenceDialog">
  88 + <v-dialog v-model="addTeacherAttendenceDialog" width="1600" v-if="addTeacherAttendenceDialog" persistent>
89 89 <v-card flat class="pa-2">
90 90 <v-layout>
91 91 <v-flex xs12>
... ...
src/pages/Attendence/viewStudentsAttendence.vue
... ... @@ -6,7 +6,7 @@
6 6 Export Pdf
7 7 <v-icon dark right size="20">save_alt</v-icon>
8 8 </v-btn>
9   - <v-dialog v-model="dialogExport" max-width="500px">
  9 + <v-dialog v-model="dialogExport" max-width="500px" persistent>
10 10 <v-btn round slot="activator" class="right open-dialog-button" dark>
11 11 Export csv
12 12 <v-icon dark right size="20">save_alt</v-icon>
... ...
src/pages/Attendence/viewTeacherAttendence.vue
... ... @@ -6,7 +6,7 @@
6 6 Export Pdf
7 7 <v-icon dark right size="20">save_alt</v-icon>
8 8 </v-btn>
9   - <v-dialog v-model="dialogExport" max-width="500px">
  9 + <v-dialog v-model="dialogExport" max-width="500px" persistent>
10 10 <v-btn round slot="activator" class="right open-dialog-button" dark>
11 11 Export csv
12 12 <v-icon dark right size="20">save_alt</v-icon>
... ...
src/pages/Class/addclass.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT ClASS ****** -->
4   - <v-dialog v-model="editClassDialog" max-width="400px">
  4 + <v-dialog v-model="editClassDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -27,7 +27,7 @@
27 27 </v-dialog>
28 28  
29 29 <!-- ****** PROFILE VIEW STUDENTS ****** -->
30   - <v-dialog v-model="profileClassDialog" max-width="400px">
  30 + <v-dialog v-model="profileClassDialog" max-width="400px" persistent>
31 31 <v-card flat class="card-style pa-3" dark>
32 32 <v-layout>
33 33 <v-flex xs12>
... ... @@ -147,7 +147,7 @@
147 147 </v-data-table>
148 148  
149 149 <!-- DIALOG BOX - ADD Class -->
150   - <v-dialog v-model="addClassDialog" max-width="400px" v-if="addClassDialog">
  150 + <v-dialog v-model="addClassDialog" max-width="400px" v-if="addClassDialog" persistent>
151 151 <v-card flat class="card-style pa-2" dark>
152 152 <v-layout>
153 153 <v-flex xs12>
... ...
src/pages/Course/course.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS COURSES DETAILS ****** -->
4   - <v-dialog v-model="editStudentDialog" max-width="600px" scrollable>
  4 + <v-dialog v-model="editStudentDialog" max-width="600px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -101,7 +101,7 @@
101 101  
102 102 <!-- ****** PROFILE VIEW STUDENTS DEATILS ****** -->
103 103  
104   - <v-dialog v-model="profileStudentDialog" max-width="600px" scrollable>
  104 + <v-dialog v-model="profileStudentDialog" max-width="600px" scrollable persistent>
105 105 <v-card flat class="card-style pa-3" dark>
106 106 <v-layout>
107 107 <v-flex xs12>
... ... @@ -287,7 +287,7 @@
287 287 >Your search for "{{ search }}" found no results.</v-alert>
288 288 </v-data-table>
289 289 <!-- ****** Add CourseS DETAILS****** -->
290   - <v-dialog v-model="addCourseDialog" max-width="500" v-if="addCourseDialog">
  290 + <v-dialog v-model="addCourseDialog" max-width="500" v-if="addCourseDialog" persistent>
291 291 <v-card flat class="card-style pa-2" dark>
292 292 <v-layout>
293 293 <v-flex xs12>
... ...
src/pages/Course/courseDetail.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit Chapter detail ****** -->
4   - <v-dialog v-model="editCourseDetailDialog" max-width="1000px" scrollable>
  4 + <v-dialog v-model="editCourseDetailDialog" max-width="1000px" scrollable persistent>
5 5 <v-card class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -68,7 +68,7 @@
68 68 </v-card>
69 69 </v-dialog>
70 70 <!-- DIALOG BOX - EDIT CHAPTER-->
71   - <v-dialog v-model="editChapterDetailDialog" max-width="1000px" scrollable>
  71 + <v-dialog v-model="editChapterDetailDialog" max-width="1000px" scrollable persistent>
72 72 <v-card class="card-style pa-2" dark>
73 73 <v-layout>
74 74 <v-flex xs12>
... ... @@ -221,7 +221,7 @@
221 221 </v-card>
222 222 </v-dialog>
223 223 <!-- ADD NEW CHAPTER-->
224   - <v-dialog v-model="addChapterDialog" max-width="1000px" scrollable>
  224 + <v-dialog v-model="addChapterDialog" max-width="1000px" scrollable persistent>
225 225 <v-card class="card-style pa-2" dark>
226 226 <v-layout>
227 227 <v-flex xs12>
... ... @@ -347,7 +347,7 @@
347 347  
348 348 <!-- ****** PROFILE Gallery ****** -->
349 349  
350   - <v-dialog v-model="viewProfileGallery" max-width="1000" scrollable>
  350 + <v-dialog v-model="viewProfileGallery" max-width="1000" scrollable persistent>
351 351 <v-card flat class="card-style pa-3" dark>
352 352 <v-layout>
353 353 <v-flex xs12>
... ...
src/pages/Course/courseDiscussion.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3   - <v-dialog v-model="editDialog" max-width="600px" scrollable>
  3 + <v-dialog v-model="editDialog" max-width="600px" scrollable persistent>
4 4 <v-card flat class="card-style pa-2" dark>
5 5 <v-layout>
6 6 <v-flex xs12>
... ...
src/pages/Dashboard/LiveOnlineClass.vue
... ... @@ -236,6 +236,7 @@ export default {
236 236 });
237 237 _this.api.on("readyToClose", () => {
238 238 this.$router.push({ name: "Refresh" });
  239 + this.showLoader = false;
239 240 });
240 241 } catch (error) {
241 242 console.error("Failed to load Jitsi API", error);
... ...
src/pages/Dashboard/dashboard.vue
... ... @@ -69,7 +69,7 @@
69 69 </v-snackbar>
70 70  
71 71 <!-- DIALOG BOX EVENT DETAILS -->
72   - <v-dialog v-model="viewEventDetails" max-width="500">
  72 + <v-dialog v-model="viewEventDetails" max-width="500" persistent>
73 73 <v-card flat class="card-style pa-2" dark>
74 74 <!-- TITLE -->
75 75 <v-layout>
... ... @@ -614,7 +614,7 @@
614 614 </v-flex>
615 615 </v-layout>
616 616  
617   - <v-dialog v-model="dialog" max-width="500">
  617 + <v-dialog v-model="dialog" max-width="500" persistent>
618 618 <v-card color="grey lighten-4" flat>
619 619 <v-toolbar dark color="fixcolors">
620 620 <v-spacer></v-spacer>
... ...
src/pages/Event/event.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS EVENT ****** -->
4   - <v-dialog v-model="editEventdialog" max-width="500px">
  4 + <v-dialog v-model="editEventdialog" max-width="500px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -89,7 +89,7 @@
89 89 </v-card>
90 90 </v-dialog>
91 91 <!-- ****** PROFILE VIEW EVENT ****** -->
92   - <v-dialog v-model="viewEventdialog" max-width="500px">
  92 + <v-dialog v-model="viewEventdialog" max-width="500px" persistent>
93 93 <v-card flat class="card-style pa-3" dark>
94 94 <v-layout>
95 95 <v-flex xs12>
... ... @@ -230,7 +230,7 @@
230 230 >Your search for "{{ search }}" found no results.</v-alert>
231 231 </v-data-table>
232 232 <!-- ****** ADD MULTIPLE EVENT ****** -->
233   - <v-dialog v-model="addEventDialog" max-width="500px" v-if="addEventDialog">
  233 + <v-dialog v-model="addEventDialog" max-width="500px" v-if="addEventDialog" persistent>
234 234 <v-card flat class="card-style pa-2" dark>
235 235 <v-layout>
236 236 <v-flex xs12>
... ...
src/pages/Exam/exam.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT EXAM ****** -->
4   - <v-dialog v-model="editExamDialog" max-width="600px" scrollable>
  4 + <v-dialog v-model="editExamDialog" max-width="600px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -88,7 +88,7 @@
88 88  
89 89 <!-- ****** PROFILE VIEW PARTICULAR EXAM ****** -->
90 90  
91   - <v-dialog v-model="profileExamDialog" max-width="500px">
  91 + <v-dialog v-model="profileExamDialog" max-width="500px" persistent>
92 92 <v-card flat class="card-style pa-3" dark>
93 93 <v-layout>
94 94 <v-flex xs12>
... ... @@ -234,7 +234,7 @@
234 234 </v-data-table>
235 235  
236 236 <!-- ****** ADD EXAM ****** -->
237   - <v-dialog v-model="addExamDialog" max-width="500px" v-if="addExamDialog">
  237 + <v-dialog v-model="addExamDialog" max-width="500px" v-if="addExamDialog" persistent>
238 238 <v-card flat class="card-style pa-2" dark>
239 239 <v-layout>
240 240 <v-flex xs12>
... ...
src/pages/Exam/examAttendence.vue
... ... @@ -133,7 +133,7 @@
133 133 </v-data-table>
134 134  
135 135 <!-- ****** ADD Student Attendence ****** -->
136   - <v-dialog v-model="changeStudentAttendenceDialog" max-width="500px">
  136 + <v-dialog v-model="changeStudentAttendenceDialog" max-width="500px" persistent>
137 137 <v-card flat>
138 138 <v-layout class="pa-3 card-style white--text">
139 139 <v-flex xs12>
... ... @@ -174,7 +174,7 @@
174 174 </v-dialog>
175 175  
176 176 <!-- ****** ADD Exam Attendence ****** -->
177   - <v-dialog v-model="addExamAttendenceDialog" max-width="800px" v-if="addExamAttendenceDialog">
  177 + <v-dialog v-model="addExamAttendenceDialog" max-width="800px" v-if="addExamAttendenceDialog" persistent>
178 178 <v-card flat>
179 179 <v-layout class="pa-3 card-style white--text">
180 180 <v-flex xs12>
... ...
src/pages/Exam/examSchedule.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit Exam Schedule****** -->
4   - <v-dialog v-model="editExamScheduleDialog" max-width="800px" scrollable>
  4 + <v-dialog v-model="editExamScheduleDialog" max-width="800px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -196,7 +196,7 @@
196 196  
197 197 <!-- ****** PROFILE VIEW Exam Schedule DATA ****** -->
198 198  
199   - <v-dialog v-model="profileExamScheduleDialog" max-width="600px">
  199 + <v-dialog v-model="profileExamScheduleDialog" max-width="600px" persistent>
200 200 <v-card flat class="card-style pa-3" dark>
201 201 <v-layout>
202 202 <v-flex xs12>
... ... @@ -418,7 +418,7 @@
418 418 </v-data-table>
419 419  
420 420 <!-- ****** ADD Exam Schedule ****** -->
421   - <v-dialog v-model="addExamScheduleDialog" max-width="600" v-if="addExamScheduleDialog">
  421 + <v-dialog v-model="addExamScheduleDialog" max-width="600" v-if="addExamScheduleDialog" persistent>
422 422 <v-card flat class="card-style pa-2" dark>
423 423 <v-layout>
424 424 <v-flex xs12>
... ...
src/pages/Exam/grade.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT GRADE ****** -->
4   - <v-dialog v-model="editGradeDialog" max-width="500px">
  4 + <v-dialog v-model="editGradeDialog" max-width="500px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -102,7 +102,7 @@
102 102  
103 103 <!-- ****** PROFILE VIEW PARTICULAR GRDAE DATA ****** -->
104 104  
105   - <v-dialog v-model="viewGradeDialog" max-width="500px">
  105 + <v-dialog v-model="viewGradeDialog" max-width="500px" persistent>
106 106 <v-card flat class="card-style pa-3" dark>
107 107 <v-layout>
108 108 <v-flex xs12>
... ... @@ -269,7 +269,7 @@
269 269 >Your search for "{{ search }}" found no results.</v-alert>
270 270 </v-data-table>
271 271 <!-- ****** ADD GRADE ****** -->
272   - <v-dialog v-model="addGradeDialog" max-width="500px" v-if="addGradeDialog">
  272 + <v-dialog v-model="addGradeDialog" max-width="500px" v-if="addGradeDialog" persistent>
273 273 <v-card flat class="card-style pa-2" dark>
274 274 <v-layout>
275 275 <v-flex xs12>
... ...
src/pages/Gallery/gallery.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS Gallery ****** -->
4   - <v-dialog v-model="editGalleryDialog" max-width="1000px" scrollable>
  4 + <v-dialog v-model="editGalleryDialog" max-width="1000px" scrollable persistent>
5 5 <v-card class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -194,7 +194,7 @@
194 194  
195 195 <!-- ****** PROFILE Gallery ****** -->
196 196  
197   - <v-dialog v-model="viewProfileGallery" max-width="1000" scrollable>
  197 + <v-dialog v-model="viewProfileGallery" max-width="1000" scrollable persistent>
198 198 <v-card flat class="card-style pa-3" dark>
199 199 <v-layout>
200 200 <v-flex xs12>
... ... @@ -358,7 +358,7 @@
358 358 >Your search for "{{ search }}" found no results.</v-alert>
359 359 </v-data-table>
360 360 <!-- ****** ADD Gallery ****** -->
361   - <v-dialog v-model="addGalleryDialog" max-width="600px" v-if="addGalleryDialog">
  361 + <v-dialog v-model="addGalleryDialog" max-width="600px" v-if="addGalleryDialog" persistent>
362 362 <v-card flat class="card-style pa-2" dark>
363 363 <v-layout>
364 364 <v-flex xs12>
... ...
src/pages/Holiday/holiday.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT HOLIDAY ****** -->
4   - <v-dialog v-model="editHolidayDialog" max-width="500px">
  4 + <v-dialog v-model="editHolidayDialog" max-width="500px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -79,7 +79,7 @@
79 79  
80 80 <!-- ****** PROFILE VIEW Holiday DEATILS ****** -->
81 81  
82   - <v-dialog v-model="viewHolidayDialog" max-width="500px">
  82 + <v-dialog v-model="viewHolidayDialog" max-width="500px" persistent>
83 83 <v-card flat class="card-style pa-3" dark>
84 84 <v-layout>
85 85 <v-flex xs12>
... ... @@ -212,7 +212,7 @@
212 212 >Your search for "{{ search }}" found no results.</v-alert>
213 213 </v-data-table>
214 214 <!-- ****** ADD MULTIPLE Holiday ****** -->
215   - <v-dialog v-model="addHolidayDialog" max-width="400px" v-if="addHolidayDialog">
  215 + <v-dialog v-model="addHolidayDialog" max-width="400px" v-if="addHolidayDialog" persistent>
216 216 <v-card flat class="card-style pa-3" dark>
217 217 <v-layout>
218 218 <v-flex xs12>
... ...
src/pages/Library/books.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit Member ****** -->
4   - <v-dialog v-model="editBookDialog" max-width="500px">
  4 + <v-dialog v-model="editBookDialog" max-width="500px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -87,7 +87,7 @@
87 87  
88 88 <!-- ****** PROFILE VIEW BOOKS DATA ****** -->
89 89  
90   - <v-dialog v-model="viewBookDialog" max-width="500px">
  90 + <v-dialog v-model="viewBookDialog" max-width="500px" persistent>
91 91 <v-card flat class="card-style pa-3" dark>
92 92 <v-layout>
93 93 <v-flex xs12>
... ... @@ -272,7 +272,7 @@
272 272 >Your search for "{{ search }}" found no results.</v-alert>
273 273 </v-data-table>
274 274 <!-- ****** ADD BOOK ****** -->
275   - <v-dialog v-model="addBookDialog" max-width="600px" v-if="addBookDialog">
  275 + <v-dialog v-model="addBookDialog" max-width="600px" v-if="addBookDialog" persistent>
276 276 <v-card flat class="card-style pa-2" dark>
277 277 <v-layout>
278 278 <v-flex xs12>
... ...
src/pages/Library/eBook.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS EBOOK DETAILS ****** -->
4   - <v-dialog v-model="editEbookDialog" max-width="600px">
  4 + <v-dialog v-model="editEbookDialog" max-width="600px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -137,7 +137,7 @@
137 137  
138 138 <!-- ****** PROFILE VIEW ALL NEWS DEATILS ****** -->
139 139  
140   - <v-dialog v-model="viewEbookDialog" max-width="600px" scrollable>
  140 + <v-dialog v-model="viewEbookDialog" max-width="600px" scrollable persistent>
141 141 <v-card flat class="card-style pa-3" dark>
142 142 <v-layout>
143 143 <v-flex xs12>
... ... @@ -297,7 +297,7 @@
297 297 >Your search for "{{ search }}" found no results.</v-alert>
298 298 </v-data-table>
299 299 <!-- ****** ADD MULTIPLE E-BOOK ****** -->
300   - <v-dialog v-model="addEBookDialog" max-width="600px" v-if="addEBookDialog">
  300 + <v-dialog v-model="addEBookDialog" max-width="600px" v-if="addEBookDialog" persistent>
301 301 <v-card flat class="card-style pa-2" dark>
302 302 <v-layout>
303 303 <v-flex xs12>
... ...
src/pages/Library/issue.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT ISSUE ****** -->
4   - <v-dialog v-model="editIssueDialog" max-width="600px" scrollable>
  4 + <v-dialog v-model="editIssueDialog" max-width="600px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -149,7 +149,7 @@
149 149  
150 150 <!-- ****** PROFILE VIEW PARTICULAR ISSUE DATA ****** -->
151 151  
152   - <v-dialog v-model="viewIssueDialog" max-width="500px">
  152 + <v-dialog v-model="viewIssueDialog" max-width="500px" persistent>
153 153 <v-card flat class="card-style pa-3" dark>
154 154 <v-layout>
155 155 <v-flex xs12>
... ... @@ -380,7 +380,7 @@
380 380 </v-data-table>
381 381  
382 382 <!-- ****** ADD Issue ****** -->
383   - <v-dialog v-model="addIssueDialog" max-width="600px" v-if="addIssueDialog">
  383 + <v-dialog v-model="addIssueDialog" max-width="600px" v-if="addIssueDialog" persistent>
384 384 <v-card flat class="card-style pa-2" dark>
385 385 <v-layout>
386 386 <v-flex xs12>
... ...
src/pages/Library/member.vue
... ... @@ -11,7 +11,7 @@
11 11  
12 12 <!-- ****** PROFILE VIEW STUDENTS LIBRARY MEMBER DEATILS ****** -->
13 13  
14   - <v-dialog v-model="dialogStudents" max-width="1100px" scrollable>
  14 + <v-dialog v-model="dialogStudents" max-width="1100px" scrollable persistent>
15 15 <v-card>
16 16 <v-toolbar dark class="card-styles" flat>
17 17 <v-spacer></v-spacer>
... ... @@ -334,7 +334,7 @@
334 334  
335 335 <!-- Edit Student Library Member Dialog -->
336 336  
337   - <v-dialog v-model="editStudentdialog" max-width="600px" scrollable>
  337 + <v-dialog v-model="editStudentdialog" max-width="600px" scrollable persistent>
338 338 <v-card flat>
339 339 <v-toolbar dark class="card-styles" flat>
340 340 <v-spacer></v-spacer>
... ... @@ -420,7 +420,7 @@
420 420 </v-dialog>
421 421 <!-- Add Student Library Member Dialog -->
422 422  
423   - <v-dialog v-model="addLibrary" max-width="600px" v-if="addLibrary">
  423 + <v-dialog v-model="addLibrary" max-width="600px" v-if="addLibrary" persistent>
424 424 <v-card flat class="card-style pa-2" dark>
425 425 <v-layout>
426 426 <v-flex xs12>
... ...
src/pages/Mark/mark.vue
... ... @@ -167,7 +167,7 @@
167 167 >Your search for "{{ search }}" found no results.</v-alert>
168 168 </v-data-table>
169 169 <!-- ****** ADD Mark Schedule ****** -->
170   - <v-dialog v-model="addMarkDialog" max-width v-if="addMarkDialog">
  170 + <v-dialog v-model="addMarkDialog" max-width v-if="addMarkDialog" persistent>
171 171 <v-card flat class>
172 172 <v-layout class="pa-3 card-style white--text">
173 173 <v-flex xs12>
... ...
src/pages/Mark/markDistribution.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Mark Distribution ****** -->
4   - <v-dialog v-model="editMarkDistributionDialog" max-width="500px">
  4 + <v-dialog v-model="editMarkDistributionDialog" max-width="500px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -116,7 +116,7 @@
116 116 >Your search for "{{ search }}" found no results.</v-alert>
117 117 </v-data-table>
118 118 <!-- ****** ADD MULTIPLE REMINDER ****** -->
119   - <v-dialog v-model="addMarkDistributionDialog" max-width="500px">
  119 + <v-dialog v-model="addMarkDistributionDialog" max-width="500px" persistent>
120 120 <v-card flat class="card-style pa-2" dark>
121 121 <v-layout>
122 122 <v-flex xs12>
... ...
src/pages/News/news.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT NEWS ****** -->
4   - <v-dialog v-model="editNewsDialog" max-width="600px">
  4 + <v-dialog v-model="editNewsDialog" max-width="600px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -127,7 +127,7 @@
127 127 </v-card>
128 128 </v-dialog>
129 129 <!-- ****** PROFILE NEWS ****** -->
130   - <v-dialog v-model="dialog1" max-width="500px">
  130 + <v-dialog v-model="dialog1" max-width="500px" persistent>
131 131 <v-card flat class="card-style pa-3" dark>
132 132 <v-layout>
133 133 <v-flex xs12>
... ... @@ -283,7 +283,7 @@
283 283 >Your search for "{{ search }}" found no results.</v-alert>
284 284 </v-data-table>
285 285 <!-- ****** ADD NEWS ****** -->
286   - <v-dialog v-model="addNewsDialog" max-width="600px" v-if="addNewsDialog">
  286 + <v-dialog v-model="addNewsDialog" max-width="600px" v-if="addNewsDialog" persistent>
287 287 <v-card flat class="card-style pa-2" dark>
288 288 <v-layout>
289 289 <v-flex xs12>
... ...
src/pages/NoticeBoard/noticeBoard.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit Notice Board ****** -->
4   - <v-dialog v-model="editNoticeBoardDialog" max-width="500px" scrollable>
  4 + <v-dialog v-model="editNoticeBoardDialog" max-width="500px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -107,7 +107,7 @@
107 107  
108 108 <!-- ****** VIEW PROFIL NOTICE BOARD ****** -->
109 109  
110   - <v-dialog v-model="viewNoticeBoardDialog" max-width="600px" scrollable>
  110 + <v-dialog v-model="viewNoticeBoardDialog" max-width="600px" scrollable persistent>
111 111 <v-card flat class="card-style pa-3" dark>
112 112 <v-layout>
113 113 <v-flex xs12>
... ... @@ -263,7 +263,7 @@
263 263 >Your search for "{{ search }}" found no results.</v-alert>
264 264 </v-data-table>
265 265 <!-- ****** ADD Notice Board ****** -->
266   - <v-dialog v-model="addNoticeBoardDialog" max-width="600px" v-if="addNoticeBoardDialog">
  266 + <v-dialog v-model="addNoticeBoardDialog" max-width="600px" v-if="addNoticeBoardDialog" persistent>
267 267 <v-card flat class="card-style pa-2" dark>
268 268 <v-layout>
269 269 <v-flex xs12>
... ...
src/pages/Notification/notification.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS NOTIFICATION DETAILS ****** -->
4   - <v-dialog v-model="editNotificationDialog" max-width="500px">
  4 + <v-dialog v-model="editNotificationDialog" max-width="500px" persistent>
5 5 <v-flex xs12 sm12>
6 6 <v-card flat class="card-style pa-3" dark>
7 7 <v-layout>
... ... @@ -54,7 +54,7 @@
54 54  
55 55 <!-- ****** PROFILE VIEW NOTIFICATION DEATILS ****** -->
56 56  
57   - <v-dialog v-model="profileNotificationDialog" max-width="400px">
  57 + <v-dialog v-model="profileNotificationDialog" max-width="400px" persistent>
58 58 <v-card flat class="card-style pa-3" dark>
59 59 <v-layout>
60 60 <v-flex xs12>
... ... @@ -188,7 +188,7 @@
188 188 </v-data-table>
189 189  
190 190 <!-- ****** ADD MULTIPLE NOTIFICATION ****** -->
191   - <v-dialog v-model="addNotificationDialog" max-width="480px" v-if="addNotificationDialog">
  191 + <v-dialog v-model="addNotificationDialog" max-width="480px" v-if="addNotificationDialog" persistent>
192 192 <v-card flat class="card-style pa-2" dark>
193 193 <v-layout>
194 194 <v-flex xs12>
... ...
src/pages/Parent/parents.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3   - <v-dialog v-model="editParentDilaog" max-width="600px" scrollable>
  3 + <v-dialog v-model="editParentDilaog" max-width="600px" scrollable persistent>
4 4 <v-card flat class="card-style pa-2" dark>
5 5 <v-layout>
6 6 <v-flex xs12>
... ... @@ -269,7 +269,7 @@
269 269 </v-dialog>
270 270  
271 271 <!-- ****** RESET Parents MPIN ****** -->
272   - <v-dialog v-model="resetParentMpin" max-width="500px" scrollable>
  272 + <v-dialog v-model="resetParentMpin" max-width="500px" scrollable persistent>
273 273 <v-card class="card-style pa-2" dark>
274 274 <v-layout>
275 275 <v-flex xs12>
... ... @@ -312,7 +312,7 @@
312 312  
313 313 <!-- ****** PROFILE VIEW Parents DEATILS ****** -->
314 314  
315   - <v-dialog v-model="profileParentDialog" max-width="500px" scrollable>
  315 + <v-dialog v-model="profileParentDialog" max-width="500px" scrollable persistent>
316 316 <v-card class="card-style pa-2" dark>
317 317 <v-layout>
318 318 <v-flex xs12>
... ... @@ -564,7 +564,7 @@
564 564 </v-data-table>
565 565  
566 566 <!-- ******DIALOG BOX - ADD PARENTS DETAILS****** -->
567   - <v-dialog v-model="addParentDialog" max-width="1100px" v-if="addParentDialog">
  567 + <v-dialog v-model="addParentDialog" max-width="1100px" v-if="addParentDialog" persistent>
568 568 <v-card flat class="card-style pa-2" dark>
569 569 <v-layout>
570 570 <v-flex xs12>
... ...
src/pages/Payroll/hourlyTemplate.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** Edit Hourly Template ****** -->
4   - <v-dialog v-model="editHourDialog" max-width="400px">
  4 + <v-dialog v-model="editHourDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -139,7 +139,7 @@
139 139 </v-data-table>
140 140  
141 141 <!-- **** Add Hourly Template **** -->
142   - <v-dialog v-model="addHourDialog" max-width="400px" v-if="addHourDialog">
  142 + <v-dialog v-model="addHourDialog" max-width="400px" v-if="addHourDialog" persistent>
143 143 <v-card flat class="card-style pa-2" dark>
144 144 <v-layout>
145 145 <v-flex xs12>
... ...
src/pages/Payroll/manageSalary.vue
... ... @@ -87,7 +87,7 @@
87 87  
88 88 <!-- ****** PROFILE VIEW ****** -->
89 89  
90   - <v-dialog v-model="profileSalaryDialog">
  90 + <v-dialog v-model="profileSalaryDialog" persistent>
91 91 <v-card flat class="text-xs-center white--text">
92 92 <v-layout>
93 93 <v-flex xs12 class="card-style pa-2">
... ... @@ -430,7 +430,7 @@
430 430 </v-dialog>
431 431  
432 432 <!-- ****** Edit Hourly Template ****** -->
433   - <v-dialog v-model="editSalaryDialog" max-width="400px">
  433 + <v-dialog v-model="editSalaryDialog" max-width="400px" persistent>
434 434 <v-card flat class="card-style pa-2" dark>
435 435 <v-layout>
436 436 <v-flex xs12>
... ...
src/pages/Payroll/salaryTemplate.vue
1 1 <template>
2 2 <v-container fluid class="body-color" style="box-sizing: border-box;">
3 3 <!-- ****** EDIT SALARY ****** -->
4   - <v-dialog v-model="editSalaryDialog">
  4 + <v-dialog v-model="editSalaryDialog" persistent>
5 5 <v-card flat class="text-xs-center white--text">
6 6 <v-layout>
7 7 <v-flex xs12 class="card-style pa-2">
... ... @@ -236,7 +236,7 @@
236 236  
237 237 <!-- ****** PROFILE VIEW ****** -->
238 238  
239   - <v-dialog v-model="profileSalaryDialog">
  239 + <v-dialog v-model="profileSalaryDialog" persistent>
240 240 <v-card flat class="text-xs-center white--text">
241 241 <v-layout>
242 242 <v-flex xs12 class="card-style pa-2">
... ... @@ -531,7 +531,7 @@
531 531 </v-data-table>
532 532  
533 533 <!-- ****** ADD SALARY ****** -->
534   - <v-dialog v-model="addSalaryDialog" v-if="addSalaryDialog">
  534 + <v-dialog v-model="addSalaryDialog" v-if="addSalaryDialog" persistent>
535 535 <v-card flat class="text-xs-center white--text">
536 536 <v-layout>
537 537 <v-flex xs12 class="card-style pa-2">
... ...
src/pages/Reminder/reminder.vue
... ... @@ -72,7 +72,7 @@
72 72 v-model="snackbar"
73 73 color="success"
74 74 >{{ text }}</v-snackbar>
75   - <v-dialog v-model="dialog" max-width="600px">
  75 + <v-dialog v-model="dialog" max-width="600px" persistent>
76 76 <v-flex xs12 sm12 class="">
77 77 <v-toolbar color="white">
78 78 <v-spacer></v-spacer>
... ... @@ -150,7 +150,7 @@
150 150 </v-dialog>
151 151  
152 152 <!-- ****** PROFILE VIEW REMINDER DEATILS ****** -->
153   - <v-dialog v-model="dialog1" max-width="600px">
  153 + <v-dialog v-model="dialog1" max-width="600px" persistent>
154 154 <v-toolbar color="white">
155 155 <v-spacer></v-spacer>
156 156 <v-toolbar-title>Profile</v-toolbar-title>
... ...
src/pages/School/appVersion.vue
... ... @@ -26,7 +26,7 @@
26 26 </v-data-table>
27 27  
28 28 <!-- EDIT VERSION DILAOG -->
29   - <v-dialog v-model="editVerionDilaog" max-width="600px" scrollable>
  29 + <v-dialog v-model="editVerionDilaog" max-width="600px" scrollable persistent>
30 30 <v-card flat class="card-style pa-2" dark>
31 31 <v-layout>
32 32 <v-flex xs12>
... ...
src/pages/School/school.vue
... ... @@ -28,7 +28,7 @@
28 28 v-model="snackbar"
29 29 color="success"
30 30 >{{ text }}</v-snackbar>
31   - <v-dialog v-model="dialog" max-width="1500px" scrollable>
  31 + <v-dialog v-model="dialog" max-width="1500px" scrollable persistent>
32 32 <v-card flat>
33 33 <v-toolbar dark class="card-styles" flat>
34 34 <v-spacer></v-spacer>
... ...
src/pages/School/viewSchoolDashboard.vue
... ... @@ -244,7 +244,7 @@
244 244 </v-layout>
245 245 </v-flex>
246 246 </v-layout>
247   - <v-dialog v-model="dialog" max-width="500">
  247 + <v-dialog v-model="dialog" max-width="500" persistent>
248 248 <v-card color="grey lighten-4" flat>
249 249 <v-toolbar dark color="fixcolors">
250 250 <v-spacer></v-spacer>
... ...
src/pages/Section/section.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3   - <v-dialog v-model="editSectionDialog" max-width="460px">
  3 + <v-dialog v-model="editSectionDialog" max-width="460px" persistent>
4 4 <v-card flat class="card-style pa-2" dark>
5 5 <v-layout>
6 6 <v-flex xs12>
... ... @@ -73,7 +73,7 @@
73 73  
74 74 <!-- ****** PROFILE VIEW SECTION DATA ****** -->
75 75  
76   - <v-dialog v-model="viewSectionDialog" max-width="500px">
  76 + <v-dialog v-model="viewSectionDialog" max-width="500px" persistent>
77 77 <v-card flat class="card-style pa-3" dark>
78 78 <v-layout>
79 79 <v-flex xs12>
... ... @@ -236,7 +236,7 @@
236 236 <!-- </v-tab-item> -->
237 237  
238 238 <!-- DIALOG BOX - ADD Students Dialog box -->
239   - <v-dialog v-model="addSectionDialog" max-width="400px" v-if="addSectionDialog">
  239 + <v-dialog v-model="addSectionDialog" max-width="400px" v-if="addSectionDialog" persistent>
240 240 <v-card flat class="card-style pa-2" dark>
241 241 <v-layout>
242 242 <v-flex xs12>
... ...
src/pages/Students/students.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS STUDENTS DETAILS ****** -->
4   - <v-dialog v-model="editStudentDialog" max-width="1700px" scrollable>
  4 + <v-dialog v-model="editStudentDialog" max-width="1700px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -448,7 +448,7 @@
448 448  
449 449 <!-- ****** PROFILE VIEW STUDENTS DEATILS ****** -->
450 450  
451   - <v-dialog v-model="profileStudentDialog" max-width="1000px" scrollable>
  451 + <v-dialog v-model="profileStudentDialog" max-width="1000px" scrollable persistent>
452 452 <v-card flat class="card-style pa-3" dark>
453 453 <v-layout>
454 454 <v-flex xs12>
... ... @@ -1016,7 +1016,7 @@
1016 1016 >Your search for "{{ search }}" found no results.</v-alert>
1017 1017 </v-data-table>
1018 1018 <!-- DIALOG -- ADD STUDENTS DETAILS -->
1019   - <v-dialog v-model="addStudentDialog" max-width="1280" v-if="addStudentDialog">
  1019 + <v-dialog v-model="addStudentDialog" max-width="1280" v-if="addStudentDialog" persistent>
1020 1020 <v-card flat class="card-style pa-2" dark>
1021 1021 <v-layout>
1022 1022 <v-flex xs12>
... ...
src/pages/Subjects/subjects.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Subject ****** -->
4   - <v-dialog v-model="editSubjectDialog" max-width="600px">
  4 + <v-dialog v-model="editSubjectDialog" max-width="600px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -143,7 +143,7 @@
143 143  
144 144 <!-- ****** VIEW PROFIL NOTICE BOARD ****** -->
145 145  
146   - <v-dialog v-model="viewSubjectDialog" max-width="500px">
  146 + <v-dialog v-model="viewSubjectDialog" max-width="500px" persistent>
147 147 <v-card flat class="card-style pa-3" dark>
148 148 <v-layout>
149 149 <v-flex xs12>
... ... @@ -359,7 +359,7 @@
359 359 v-model="snackbar"
360 360 :color="color"
361 361 >{{ text }}</v-snackbar>
362   - <v-dialog v-model="addSubjectDialog" max-width="600px">
  362 + <v-dialog v-model="addSubjectDialog" max-width="600px" persistent>
363 363 <v-card flat class="card-style pa-2" dark>
364 364 <v-layout>
365 365 <v-flex xs12>
... ...
src/pages/Teachers/teachers.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT TEACHERS DETAILS ****** -->
4   - <v-dialog v-model="editTeacherDialog" max-width="1160px" scrollable>
  4 + <v-dialog v-model="editTeacherDialog" max-width="1160px" scrollable persistent>
5 5 <v-card flat class="card-style" dark>
6 6 <v-card-text>
7 7 <v-layout>
... ... @@ -322,7 +322,7 @@
322 322  
323 323 <!-- ****** PROFILE VIEW TEACHERS DETAILS ****** -->
324 324  
325   - <v-dialog v-model="viewTeacherProfileDialog" max-width="500px" scrollable>
  325 + <v-dialog v-model="viewTeacherProfileDialog" max-width="500px" scrollable persistent>
326 326 <v-card flat class="card-style pa-3" dark>
327 327 <v-layout>
328 328 <v-flex xs12>
... ... @@ -569,7 +569,7 @@
569 569 </v-data-table>
570 570  
571 571 <!-- ****** DIALOG BOX - Add Teachers Data****** -->
572   - <v-dialog v-model="addTeacherDialog" max-width="1160" v-if="addTeacherDialog">
  572 + <v-dialog v-model="addTeacherDialog" max-width="1160" v-if="addTeacherDialog" persistent>
573 573 <v-card flat class="card-style pa-2" dark>
574 574 <v-layout>
575 575 <v-flex xs12 class="pa-0">
... ...
src/pages/TimeTable/timeTable.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT TIME-TABLE****** -->
4   - <v-dialog v-model="dialog" max-width="600px">
  4 + <v-dialog v-model="dialog" max-width="600px" persistent>
5 5 <v-flex xs12 sm12>
6 6 <v-card flat class="card-style pa-2" dark>
7 7 <v-layout>
... ... @@ -83,7 +83,7 @@
83 83  
84 84 <!-- ****** ADD Dialog Schedule IN TIME-TABLE ****** -->
85 85  
86   - <v-dialog v-model="dialogSchedule" max-width="600px">
  86 + <v-dialog v-model="dialogSchedule" max-width="600px" persistent>
87 87 <v-flex xs12 sm12>
88 88 <v-card flat class="card-style pa-2" dark>
89 89 <v-layout>
... ... @@ -278,7 +278,7 @@
278 278  
279 279 <!-- ****** EDIT PARTICULAR LECTURES TIME-TABLE ****** -->
280 280  
281   - <v-dialog v-model="dialogUpdateLectures" max-width="600px">
  281 + <v-dialog v-model="dialogUpdateLectures" max-width="600px" persistent>
282 282 <v-flex xs12 sm12 class>
283 283 <v-card flat class="card-style pa-2" dark>
284 284 <v-layout>
... ... @@ -679,7 +679,7 @@
679 679 </v-flex>
680 680  
681 681 <!-- ****** ADD TIME-TABLE ****** -->
682   - <v-dialog v-model="addTimeTableDialog" max-width="600px" v-if="addTimeTableDialog">
  682 + <v-dialog v-model="addTimeTableDialog" max-width="600px" v-if="addTimeTableDialog" persistent>
683 683 <v-card flat class="card-style pa-2" dark>
684 684 <v-layout>
685 685 <v-flex xs12>
... ...
src/pages/User/user.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT USERS DETAILS ****** -->
4   - <v-dialog v-model="editUserDialog" max-width="1100px" scrollable>
  4 + <v-dialog v-model="editUserDialog" max-width="1100px" scrollable persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -257,7 +257,7 @@
257 257 </v-card>
258 258 </v-dialog>
259 259 <!-- ****** PROFILE User DETAILS ****** -->
260   - <v-dialog v-model="viewUserDialog" max-width="560px" scrollable>
  260 + <v-dialog v-model="viewUserDialog" max-width="560px" scrollable persistent>
261 261 <v-card flat class="card-style pa-3" dark>
262 262 <v-layout>
263 263 <v-flex xs12>
... ... @@ -481,7 +481,7 @@
481 481 >Your search for "{{ search }}" found no results.</v-alert>
482 482 </v-data-table>
483 483 <!-- DIALOG BOX - Add User Data -->
484   - <v-dialog v-model="addUserDialog" max-width="900px" v-if="addUserDialog">
  484 + <v-dialog v-model="addUserDialog" max-width="900px" v-if="addUserDialog" persistent>
485 485 <v-card flat class="card-style pa-2" dark>
486 486 <v-layout>
487 487 <v-flex xs12>
... ...
src/pages/meetingEvent/meetingEvent.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDITS EVENT ****** -->
4   - <v-dialog v-model="editEventdialog" max-width="500px">
  4 + <v-dialog v-model="editEventdialog" max-width="500px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -113,7 +113,7 @@
113 113 </v-card>
114 114 </v-dialog>
115 115 <!-- ****** PROFILE VIEW EVENT ****** -->
116   - <v-dialog v-model="viewEventdialog" max-width="500px">
  116 + <v-dialog v-model="viewEventdialog" max-width="500px" persistent>
117 117 <v-card flat class="card-style pa-3" dark>
118 118 <v-layout>
119 119 <v-flex xs12>
... ... @@ -297,7 +297,7 @@
297 297 >Your search for "{{ search }}" found no results.</v-alert>
298 298 </v-data-table>
299 299 <!-- ****** ADD MULTIPLE EVENT ****** -->
300   - <v-dialog v-model="meetEventDialog" max-width="500px" persistent v-if="meetEventDialog">
  300 + <v-dialog v-model="meetEventDialog" max-width="500px" persistent v-if="meetEventDialog" persistent>
301 301 <v-card flat class="card-style pa-2" dark>
302 302 <v-layout>
303 303 <v-flex xs12>
... ...
src/pages/socialMedia/socialMedia.vue
1 1 <template>
2 2 <v-container fluid class="body-color">
3 3 <!-- ****** EDIT Social Media ****** -->
4   - <v-dialog v-model="editSocialMediaDialog" max-width="400px">
  4 + <v-dialog v-model="editSocialMediaDialog" max-width="400px" persistent>
5 5 <v-card flat class="card-style pa-2" dark>
6 6 <v-layout>
7 7 <v-flex xs12>
... ... @@ -53,7 +53,7 @@
53 53  
54 54 <!-- ****** PROFILE VIEW Social ****** -->
55 55  
56   - <v-dialog v-model="profileSocialMediaDialog" max-width="500px">
  56 + <v-dialog v-model="profileSocialMediaDialog" max-width="500px" persistent>
57 57 <v-card flat class="card-style pa-3" dark>
58 58 <v-layout>
59 59 <v-flex xs12>
... ... @@ -182,7 +182,7 @@
182 182 >Your search for "{{ search }}" found no results.</v-alert>
183 183 </v-data-table>
184 184 <!-- ****** ADD MULTIPLE REMINDER ****** -->
185   - <v-dialog v-model="addSocialMediaDialog" max-width="400px" v-if="addSocialMediaDialog">
  185 + <v-dialog v-model="addSocialMediaDialog" max-width="400px" v-if="addSocialMediaDialog" persistent>
186 186 <v-card flat class="card-style pa-2" dark>
187 187 <v-layout>
188 188 <v-flex xs12>
... ...
src/router/paths.js
... ... @@ -88,6 +88,19 @@ export default [{
88 88 )
89 89 },
90 90 {
  91 + path: '/AssignTeachers',
  92 + meta: {
  93 + breadcrumb: false
  94 + },
  95 + name: 'AssignTeachers',
  96 + component: () =>
  97 + import(
  98 + /* webpackChunkName: "routes" */
  99 + /* webpackMode: "lazy-once" */
  100 + `@/pages/AssignTeachers.vue`
  101 + )
  102 +},
  103 +{
91 104 path: '/',
92 105 meta: {
93 106 public: true,
... ...