Blame view

src/pages/Teachers/teachers.vue 50.7 KB
93a68cfa1   Jatinder Singh   first commit
1
  <template>
6b6e4e83d   Neeraj Sharma   design modified i...
2
    <v-app id="pages-dasboard">
813e55a79   Neeraj Sharma   implement parents...
3
      <v-toolbar class="fixcolors" fixed app>
6b6e4e83d   Neeraj Sharma   design modified i...
4
5
6
7
8
9
10
11
12
13
14
15
16
17
        <v-toolbar-title class="ml-0 pl-3">
          <v-toolbar-side-icon @click.stop="handleDrawerToggle" class="hide"></v-toolbar-side-icon>
        </v-toolbar-title>
        <!-- ****** SEARCH ALL Teachers ****** -->
        <v-flex xs7 sm3 class="userSearch">
          <v-text-field
            flat
            append-icon="search"
            label="Find your Teachers"
            v-model="search"
            color="white"
            dark
          ></v-text-field>
        </v-flex>
f7979ec1a   Neeraj Sharma   add seach in heal...
18
        <v-spacer></v-spacer>
f7979ec1a   Neeraj Sharma   add seach in heal...
19
        <v-menu offset-y origin="center center" :nudge-bottom="10" transition="scale-transition">
6b6e4e83d   Neeraj Sharma   design modified i...
20
          <v-btn icon large flat slot="activator">
f7979ec1a   Neeraj Sharma   add seach in heal...
21
            <v-avatar size="40px">
813e55a79   Neeraj Sharma   implement parents...
22
              <img src="/static/icon/user.png" />
f7979ec1a   Neeraj Sharma   add seach in heal...
23
            </v-avatar>
6b6e4e83d   Neeraj Sharma   design modified i...
24
          </v-btn>
f7979ec1a   Neeraj Sharma   add seach in heal...
25
          <v-list class="pa-0">
6b6e4e83d   Neeraj Sharma   design modified i...
26
27
28
29
30
31
32
33
34
35
36
37
            <v-list-tile
              v-for="(item,index) in items"
              :to="!item.href ? { name: item.name } : null"
              :href="item.href"
              @click="item.click"
              ripple="ripple"
              :disabled="item.disabled"
              :target="item.target"
              rel="noopener"
              :key="index"
            >
              <v-list-tile-action v-if="item.icon">
f7979ec1a   Neeraj Sharma   add seach in heal...
38
39
40
41
42
43
                <v-icon>{{ item.icon }}</v-icon>
              </v-list-tile-action>
              <v-list-tile-content>
                <v-list-tile-title>{{ item.title }}</v-list-tile-title>
              </v-list-tile-content>
            </v-list-tile>
6b6e4e83d   Neeraj Sharma   design modified i...
44
          </v-list>
f7979ec1a   Neeraj Sharma   add seach in heal...
45
        </v-menu>
6b6e4e83d   Neeraj Sharma   design modified i...
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
      </v-toolbar>
      <v-tabs grow slider-color="black">
        <v-tab
          ripple
          @click="activeTab('existing')"
          v-bind:class="{ active: isActive }"
          id="tab"
          class="subheading"
        >Existing Teachers</v-tab>
        <v-tab
          ripple
          @click="activeTab('new')"
          v-bind:class="{ active: newActive }"
          id="tab1"
          User
          class="subheading"
        >Add New Teachers</v-tab>
        <!-- ****** EDIT TEACHERS DETAILS ****** -->
        <v-tab-item>
          <v-snackbar
            :timeout="timeout"
            :top="y === 'top'"
            :right="x === 'right'"
            :vertical="mode === 'vertical'"
            v-model="snackbar"
            color="success"
          >{{ text }}</v-snackbar>
79006bdcb   Neeraj Sharma   uplaod images all...
73
          <v-dialog v-model="dialog" max-width="1100px" scrollable>
813e55a79   Neeraj Sharma   implement parents...
74
75
            <v-card flat>
              <v-toolbar color="grey lighten-2" flat>
6b6e4e83d   Neeraj Sharma   design modified i...
76
                <v-spacer></v-spacer>
fc82ac667   Neeraj Sharma   fix design and re...
77
                <v-toolbar-title>Edit Teacher Profile</v-toolbar-title>
6b6e4e83d   Neeraj Sharma   design modified i...
78
                <v-spacer></v-spacer>
813e55a79   Neeraj Sharma   implement parents...
79
80
              </v-toolbar>
              <v-card-text style="height: 800px;">
6b6e4e83d   Neeraj Sharma   design modified i...
81
82
83
84
85
86
87
                <v-form ref="form">
                  <v-container fluid>
                    <v-layout>
                      <v-flex
                        xs12
                        class="text-xs-center text-sm-center text-md-center text-lg-center my-4 mr-4"
                      >
79006bdcb   Neeraj Sharma   uplaod images all...
88
                        <v-avatar size="160px">
79006bdcb   Neeraj Sharma   uplaod images all...
89
                          <img
813e55a79   Neeraj Sharma   implement parents...
90
91
92
93
94
95
96
97
98
99
100
101
102
                            src="/static/icon/user.png"
                            v-if="!editedItem.profilePicUrl && !imageUrl"
                          />
                          <img
                            :src="editedItem.profilePicUrl"
                            v-else-if="editedItem.profilePicUrl && !imageUrl"
                          />
                          <img
                            v-if="imageUrl"
                            :src="imageUrl"
                            height="150"
                            style="border-radius:50%; width:200px"
                          />
6b6e4e83d   Neeraj Sharma   design modified i...
103
104
105
                        </v-avatar>
                        <input
                          type="file"
2b0e316ee   Neeraj Sharma   upload mytiple im...
106
                          style="display:none"
6b6e4e83d   Neeraj Sharma   design modified i...
107
108
109
                          ref="image"
                          accept="image/*"
                          @change="onFilePicked"
813e55a79   Neeraj Sharma   implement parents...
110
                        />
6b6e4e83d   Neeraj Sharma   design modified i...
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Full Name:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.name"
                              placeholder="fill your full Name"
                              name="name"
                              type="text"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Email ID:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              placeholder="fill your email"
                              v-model="editedItem.email"
                              type="text"
                              name="email"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Date of Birth:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-menu
                              ref="menu"
                              :close-on-content-click="false"
                              v-model="menu2"
                              :nudge-right="40"
                              lazy
                              transition="scale-transition"
                              offset-y
                              full-width
                              min-width="290px"
                            >
                              <v-text-field
                                slot="activator"
                                v-model="editedItem.dob"
                                placeholder="Select date"
                              ></v-text-field>
                              <v-date-picker
                                ref="picker"
                                v-model="editedItem.dob"
                                :max="new Date().toISOString().substr(0, 10)"
                                min="1950-01-01"
                                @input="menu2 = false"
                              ></v-date-picker>
                            </v-menu>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">City:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.city"
                              placeholder="fill your City Name"
                              name="City"
                              type="text"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">State:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.state"
                              placeholder="fill your State Name"
                              name="state"
                              type="text"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">PinCode:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.pincode"
                              placeholder="fill your pincode"
                              name="pincode"
                              type="number"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Mobile NO:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.mobileNo"
                              placeholder="fill your MobileNo"
                              name="mobileNo"
                              type="number"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Select Country:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-autocomplete
                              v-model="editedItem.country"
                              :items="countries"
                              placeholder="Select Country Name"
                              required
                            ></v-autocomplete>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
fc82ac667   Neeraj Sharma   fix design and re...
269
                            <label class="right">Join Date:</label>
6b6e4e83d   Neeraj Sharma   design modified i...
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-menu
                              ref="menu"
                              :close-on-content-click="false"
                              v-model="menu3"
                              :nudge-right="40"
                              lazy
                              transition="scale-transition"
                              offset-y
                              full-width
                              min-width="290px"
                            >
                              <v-text-field
                                slot="activator"
                                v-model="editedItem.joinDate"
                                placeholder="Select date"
                              ></v-text-field>
                              <v-date-picker
                                ref="picker"
                                v-model="editedItem.joinDate"
                                :max="new Date().toISOString().substr(0, 10)"
                                min="1950-01-01"
                                @input="menu3 = false"
                              ></v-date-picker>
                            </v-menu>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Uplaod Image:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              label="Select Image"
                              @click="pickFile"
                              v-model="imageName"
2b0e316ee   Neeraj Sharma   upload mytiple im...
309
                              append-icon="attach_file"
6b6e4e83d   Neeraj Sharma   design modified i...
310
311
312
313
314
315
316
317
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm12>
                        <v-layout>
fc82ac667   Neeraj Sharma   fix design and re...
318
                          <v-flex xs3 class="pt-4 subheading pl-3" style="max-width: 17%;">
6b6e4e83d   Neeraj Sharma   design modified i...
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
                            <label class>Present Address:</label>
                          </v-flex>
                          <v-flex xs12>
                            <v-text-field
                              name="input-4-3"
                              v-model="editedItem.presentAddress"
                              placeholder="fill Your present Address"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm12>
                        <v-layout>
                          <v-flex xs3 class="pt-4 subheading" style="max-width: 17%;">
                            <label>Permanent Address:</label>
                          </v-flex>
                          <v-flex xs12>
                            <v-text-field
                              name="input-4-3"
                              v-model="editedItem.permanentAddress"
                              placeholder="fill Your Permanent Address"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm12>
                        <v-card-actions>
                          <v-btn round dark @click.native="close">Cancel</v-btn>
                          <v-spacer></v-spacer>
d791fb8d2   Neeraj Sharma   edit image solve ...
352
                          <v-btn round dark :loading="loading" @click="save">Save</v-btn>
6b6e4e83d   Neeraj Sharma   design modified i...
353
354
355
356
357
                        </v-card-actions>
                      </v-flex>
                    </v-layout>
                  </v-container>
                </v-form>
813e55a79   Neeraj Sharma   implement parents...
358
359
              </v-card-text>
            </v-card>
6b6e4e83d   Neeraj Sharma   design modified i...
360
          </v-dialog>
813e55a79   Neeraj Sharma   implement parents...
361
          <!-- ****** PROFILE VIEW TEACHERS DETAILS ******  -->
6b6e4e83d   Neeraj Sharma   design modified i...
362

79006bdcb   Neeraj Sharma   uplaod images all...
363
364
365
          <v-dialog v-model="dialog1" max-width="600px" scrollable>
            <v-card>
              <v-toolbar color="grey lighten-2" flat>
813e55a79   Neeraj Sharma   implement parents...
366
367
368
369
370
371
372
                <v-spacer></v-spacer>
                <v-toolbar-title>
                  <h3>Teacher Profile</h3>
                </v-toolbar-title>
                <v-spacer></v-spacer>
                <v-icon @click="close1">close</v-icon>
              </v-toolbar>
79006bdcb   Neeraj Sharma   uplaod images all...
373
              <v-card-text style="height: 700px;">
6b6e4e83d   Neeraj Sharma   design modified i...
374
375
376
                <v-container grid-list-md>
                  <v-layout wrap>
                    <v-flex>
813e55a79   Neeraj Sharma   implement parents...
377
378
379
380
381
                      <v-flex align-center justify-center layout text-xs-center>
                        <v-avatar size="160px">
                          <img src="/static/icon/user.png" v-if="!editedItem.profilePicUrl" />
                          <img :src="editedItem.profilePicUrl" v-else-if="editedItem.profilePicUrl" />
                        </v-avatar>
79006bdcb   Neeraj Sharma   uplaod images all...
382
                      </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
383
384
385
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Full Name:</h5>
03dcbf0c1   Neeraj Sharma   fix all api and r...
386
                        </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
387
388
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.name }}</h5>
03dcbf0c1   Neeraj Sharma   fix all api and r...
389
390
                        </v-flex>
                      </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
391
                      <v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
392
393
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Email:</h5>
03dcbf0c1   Neeraj Sharma   fix all api and r...
394
                        </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
395
396
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.email }}</h5>
03dcbf0c1   Neeraj Sharma   fix all api and r...
397
398
                        </v-flex>
                      </v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
399
400
401
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">City:</h5>
03dcbf0c1   Neeraj Sharma   fix all api and r...
402
                        </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
403
404
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.city }}</h5>
03dcbf0c1   Neeraj Sharma   fix all api and r...
405
                        </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
                      </v-layout>
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">State:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.state }}</h5>
                        </v-flex>
                      </v-layout>
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Country:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.country }}</h5>
                        </v-flex>
                      </v-layout>
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Pincode:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.pincode }}</h5>
                        </v-flex>
                      </v-layout>
813e55a79   Neeraj Sharma   implement parents...
431
                      <v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
432
433
434
435
436
437
438
439
440
441
442
443
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Mobile No:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.mobileNo }}</h5>
                        </v-flex>
                      </v-layout>
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Join Date:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
506be6fd7   Neeraj Sharma   implemet dyamic i...
444
                          <h5 class="my-1">{{ dates(editedItem.joinDate) }}</h5>
6b6e4e83d   Neeraj Sharma   design modified i...
445
446
447
448
449
450
451
                        </v-flex>
                      </v-layout>
                      <v-layout>
                        <v-flex xs5 sm6>
                          <h5 class="right my-1">Date Of Birth:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
506be6fd7   Neeraj Sharma   implemet dyamic i...
452
                          <h5 class="my-1">{{ dates(editedItem.dob) }}</h5>
6b6e4e83d   Neeraj Sharma   design modified i...
453
454
455
                        </v-flex>
                      </v-layout>
                      <v-layout>
813e55a79   Neeraj Sharma   implement parents...
456
457
458
459
460
461
                        <v-flex xs6 sm6>
                          <h5 class="right my-1">Permanent Address:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.permanentAddress }}</h5>
                        </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
462
463
                      </v-layout>
                      <v-layout>
813e55a79   Neeraj Sharma   implement parents...
464
465
466
467
468
469
                        <v-flex xs6 sm6>
                          <h5 class="right my-1">present Address:</h5>
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.presentAddress }}</h5>
                        </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
                      </v-layout>
                    </v-flex>
                  </v-layout>
                </v-container>
              </v-card-text>
            </v-card>
          </v-dialog>
          <v-snackbar
            :timeout="timeout"
            :top="y === 'top'"
            :right="x === 'right'"
            :vertical="mode === 'vertical'"
            v-model="snackbar"
            color="success"
          >{{ text }}</v-snackbar>
1c1942362   Neeraj Sharma   commit code Schoo...
485

6b6e4e83d   Neeraj Sharma   design modified i...
486
          <!-- ****** EXISTING-Teachers TABLE DATA****** -->
d791fb8d2   Neeraj Sharma   edit image solve ...
487

6b6e4e83d   Neeraj Sharma   design modified i...
488
489
490
491
492
493
494
495
          <v-data-table
            :headers="headers"
            :items="desserts"
            :pagination.sync="pagination"
            :search="search"
          >
            <template slot="items" slot-scope="props">
              <td id="td" class="text-xs-center">{{ props.index}}</td>
79006bdcb   Neeraj Sharma   uplaod images all...
496
              <td id="td" class="text-xs-center">
813e55a79   Neeraj Sharma   implement parents...
497
498
499
500
501
                <v-avatar>
                  <img :src="props.item.profilePicUrl" v-if="props.item.profilePicUrl" />
                  <img src="/static/icon/user.png" v-else-if="!props.item.profilePicUrl" />
                </v-avatar>
              </td>
6b6e4e83d   Neeraj Sharma   design modified i...
502
503
              <td id="td" class="text-xs-center">{{ props.item.name}}</td>
              <td id="td" class="text-xs-center">{{ props.item.email }}</td>
506be6fd7   Neeraj Sharma   implemet dyamic i...
504
505
              <td id="td" class="text-xs-center">{{ dates(props.item.dob) }}</td>
              <td id="td" class="text-xs-center">{{ dates(props.item.joinDate)}}</td>
6b6e4e83d   Neeraj Sharma   design modified i...
506
507
508
509
510
511
512
513
              <td id="td" class="text-xs-center">{{ props.item.mobileNo }}</td>
              <td class="text-xs-center">
                <span>
                  <img
                    style="cursor:pointer; width:25px; height:18px; "
                    class="mr-5"
                    @click="profile(props.item)"
                    src="/static/icon/eye1.png"
813e55a79   Neeraj Sharma   implement parents...
514
                  />
6b6e4e83d   Neeraj Sharma   design modified i...
515
516
517
518
519
                  <img
                    style="cursor:pointer; width:20px; height:18px; "
                    class="mr-5"
                    @click="editItem(props.item)"
                    src="/static/icon/edit1.png"
813e55a79   Neeraj Sharma   implement parents...
520
                  />
6b6e4e83d   Neeraj Sharma   design modified i...
521
                  <img
b39d2afd2   Neeraj Sharma   responsive dashboard
522
                    style="cursor:pointer;width:20px; height:20px; "
6b6e4e83d   Neeraj Sharma   design modified i...
523
524
525
                    class="mr-5"
                    @click="deleteItem(props.item)"
                    src="/static/icon/delete1.png"
813e55a79   Neeraj Sharma   implement parents...
526
                  />
6b6e4e83d   Neeraj Sharma   design modified i...
527
528
529
530
531
532
533
534
535
536
537
                </span>
              </td>
            </template>
            <v-alert
              slot="no-results"
              :value="true"
              color="error"
              icon="warning"
            >Your search for "{{ search }}" found no results.</v-alert>
          </v-data-table>
        </v-tab-item>
1c1942362   Neeraj Sharma   commit code Schoo...
538

6b6e4e83d   Neeraj Sharma   design modified i...
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
        <!-- ****** Add Teachers Data****** -->
        <v-tab-item>
          <v-container>
            <v-snackbar
              :timeout="timeout"
              :top="y === 'top'"
              :right="x === 'right'"
              :vertical="mode === 'vertical'"
              v-model="snackbar"
              color="success"
            >{{ text }}</v-snackbar>
            <v-flex xs12 sm12 class="my-4">
              <v-card flat>
                <v-form ref="form" v-model="valid" lazy-validation>
                  <v-container fluid>
                    <v-layout>
                      <v-flex
                        xs12
                        class="text-xs-center text-sm-center text-md-center text-lg-center my-4 mr-4"
                      >
                        <v-avatar size="100px">
813e55a79   Neeraj Sharma   implement parents...
560
                          <img src="/static/icon/user.png" v-if="!imageUrl" />
6b6e4e83d   Neeraj Sharma   design modified i...
561
                        </v-avatar>
6b6e4e83d   Neeraj Sharma   design modified i...
562
                        <img
2b0e316ee   Neeraj Sharma   upload mytiple im...
563
                          :src="imageUrl"
6b6e4e83d   Neeraj Sharma   design modified i...
564
565
566
                          height="150"
                          v-if="imageUrl"
                          style="border-radius:50%; width:200px"
813e55a79   Neeraj Sharma   implement parents...
567
                        />
6b6e4e83d   Neeraj Sharma   design modified i...
568
569
                      </v-flex>
                    </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
570
                    <v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Full Name:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addTeachers.name"
                              placeholder="fill your full Name"
                              name="name"
                              type="text"
                              :rules="nameRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
587
                      </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Email ID:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              placeholder="fill your email"
                              :rules="emailRules"
                              v-model="addTeachers.email"
                              type="text"
                              name="email"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
604
605
                      </v-flex>
                    </v-layout>
0cefd6eff   Neeraj Sharma   add country input...
606
                    <v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Date of Birth:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-menu
                              ref="menu"
                              :close-on-content-click="false"
                              v-model="menu"
                              :nudge-right="40"
                              lazy
                              transition="scale-transition"
                              offset-y
                              full-width
                              min-width="290px"
                            >
                              <v-text-field
                                slot="activator"
                                :rules="dateRules"
                                v-model="addTeachers.date"
                                placeholder="Select date"
                              ></v-text-field>
                              <v-date-picker
                                ref="picker"
                                v-model="addTeachers.date"
                                :max="new Date().toISOString().substr(0, 10)"
                                min="1950-01-01"
                                @input="menu = false"
                              ></v-date-picker>
                            </v-menu>
                          </v-flex>
                        </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
640
                      </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">City:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addTeachers.city"
                              placeholder="fill your City Name"
                              name="City"
                              type="text"
                              :rules="cityRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
657
658
                      </v-flex>
                    </v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">State:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addTeachers.state"
                              placeholder="fill your State Name"
                              name="state"
                              type="text"
                              :rules="stateRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">PinCode:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addTeachers.pincode"
                              placeholder="fill your pincode"
                              name="pincode"
                              type="number"
                              :rules="pincode"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
03dcbf0c1   Neeraj Sharma   fix all api and r...
693
                      </v-flex>
03dcbf0c1   Neeraj Sharma   fix all api and r...
694
                    </v-layout>
6b6e4e83d   Neeraj Sharma   design modified i...
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Mobile NO:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addTeachers.mobileNo"
                              placeholder="fill your MobileNo"
                              name="mobileNo"
                              type="number"
                              :rules="mobileNoRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Select Country:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-autocomplete
                              v-model="addTeachers.country"
                              :rules="country"
                              :items="countries"
                              placeholder="Select Country Name"
                              required
                            ></v-autocomplete>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Join Date</label>
                          </v-flex>
813e55a79   Neeraj Sharma   implement parents...
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
                          <v-flex xs8 class="ml-3">
                            <v-menu
                              ref="menu1"
                              :close-on-content-click="false"
                              v-model="menu1"
                              :nudge-right="40"
                              lazy
                              transition="scale-transition"
                              offset-y
                              full-width
                              min-width="290px"
                            >
                              <v-text-field
                                slot="activator"
                                :rules="joinDateRules"
                                v-model="addTeachers.joinDate"
                                placeholder="Select date"
                              ></v-text-field>
                              <v-date-picker
                                ref="picker"
                                v-model="addTeachers.joinDate"
                                :max="new Date().toISOString().substr(0, 10)"
                                min="1950-01-01"
                                @input="menu1 = false"
                              ></v-date-picker>
                            </v-menu>
                          </v-flex>
6b6e4e83d   Neeraj Sharma   design modified i...
763
764
765
766
767
768
769
770
771
772
773
774
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Uplaod Image:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              label="Select Image"
                              @click="pickFile"
                              v-model="imageName"
fc82ac667   Neeraj Sharma   fix design and re...
775
                              append-icon="attach_file"
6b6e4e83d   Neeraj Sharma   design modified i...
776
                            ></v-text-field>
813e55a79   Neeraj Sharma   implement parents...
777
778
779
780
781
782
783
                            <input
                              type="file"
                              style="display:none"
                              ref="image"
                              accept="image/*"
                              @change="onFilePicked"
                            />
6b6e4e83d   Neeraj Sharma   design modified i...
784
785
786
787
788
789
790
791
792
793
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm12>
                        <v-layout>
                          <v-flex xs3 class="pt-4 subheading pl-4" style="max-width: 17%;">
                            <label class>Present Address:</label>
                          </v-flex>
fc82ac667   Neeraj Sharma   fix design and re...
794
                          <v-flex xs12 class="presentInput">
6b6e4e83d   Neeraj Sharma   design modified i...
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
                            <v-text-field
                              name="input-4-3"
                              v-model="addTeachers.presentAddress"
                              :rules="presentAddress"
                              placeholder="fill Your present Address"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm12>
                        <v-layout>
                          <v-flex xs3 class="pt-4 subheading" style="max-width: 17%;">
                            <label>Permanent Address:</label>
                          </v-flex>
fc82ac667   Neeraj Sharma   fix design and re...
810
                          <v-flex xs12 class="presentInput">
6b6e4e83d   Neeraj Sharma   design modified i...
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
                            <v-text-field
                              name="input-4-3"
                              v-model="addTeachers.permanentAddress"
                              :rules="permanentAddress"
                              placeholder="fill Your Permanent Address"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm12>
                        <v-card-actions>
                          <v-btn @click="clear" round dark>clear</v-btn>
                          <v-spacer></v-spacer>
                          <v-btn @click="submit" round dark :loading="loading">Add</v-btn>
                        </v-card-actions>
                      </v-flex>
                    </v-layout>
                  </v-container>
                </v-form>
              </v-card>
            </v-flex>
          </v-container>
        </v-tab-item>
      </v-tabs>
36fc987df   Neeraj Sharma   add loader in all...
838
839
840
      <div class="loader" v-if="showLoader">
        <v-progress-circular indeterminate color="white"></v-progress-circular>
      </div>
6b6e4e83d   Neeraj Sharma   design modified i...
841
    </v-app>
93a68cfa1   Jatinder Singh   first commit
842
843
844
  </template>
  
  <script>
f7979ec1a   Neeraj Sharma   add seach in heal...
845
  // import AppToolbar from '@/components/AppToolbar';
03dcbf0c1   Neeraj Sharma   fix all api and r...
846
  import http from "@/Services/http.js";
f7979ec1a   Neeraj Sharma   add seach in heal...
847
  import Util from "@/util";
506be6fd7   Neeraj Sharma   implemet dyamic i...
848
  import moment from "moment";
03dcbf0c1   Neeraj Sharma   fix all api and r...
849

93a68cfa1   Jatinder Singh   first commit
850
  export default {
f84ff8f5a   Jatinder Singh   report page changes
851
    components: {
e3e2a04c6   Neeraj Sharma   first commit
852
      // "one-month": onemonth,
6b6e4e83d   Neeraj Sharma   design modified i...
853
    },
93a68cfa1   Jatinder Singh   first commit
854
    data: () => ({
03dcbf0c1   Neeraj Sharma   fix all api and r...
855
856
857
858
859
860
861
      component: "report-generate",
      snackbar: false,
      y: "top",
      x: "right",
      mode: "",
      timeout: 3000,
      text: "",
813e55a79   Neeraj Sharma   implement parents...
862
      showLoader: false,
03dcbf0c1   Neeraj Sharma   fix all api and r...
863
      loading: false,
6b6e4e83d   Neeraj Sharma   design modified i...
864
865
      date: null,
      search: "",
ac10393a4   Neeraj Sharma   add calender date...
866
      menu: false,
6b6e4e83d   Neeraj Sharma   design modified i...
867
      menu1: false,
813e55a79   Neeraj Sharma   implement parents...
868
      menu2: false,
6b6e4e83d   Neeraj Sharma   design modified i...
869
      menu3: false,
93a68cfa1   Jatinder Singh   first commit
870
      dialog: false,
c35a8dafd   Jatinder Singh   minor changes
871
      dialog1: false,
c35a8dafd   Jatinder Singh   minor changes
872
      valid: true,
ee83012b3   Jatinder Singh   changes
873
874
      isActive: true,
      newActive: false,
5ac5570a9   Jatinder Singh   datatable changes
875
      pagination: {
03dcbf0c1   Neeraj Sharma   fix all api and r...
876
        rowsPerPage: 15
5ac5570a9   Jatinder Singh   datatable changes
877
      },
6b6e4e83d   Neeraj Sharma   design modified i...
878
879
880
881
      imageData: {},
      imageName: "",
      imageUrl: "",
      imageFile: "",
5f2dd99ed   Neeraj Sharma   add full name in ...
882
      nameRules: [v => !!v || " Full Name is required"],
6b6e4e83d   Neeraj Sharma   design modified i...
883
884
885
886
887
888
889
890
891
892
      dateRules: [v => !!v || " DOB is required"],
      cityRules: [v => !!v || " City Name is required"],
      pincode: [v => !!v || " Pincode is required"],
      country: [v => !!v || " Country Name is required"],
      permanentAddress: [v => !!v || " Permanent Address is required"],
      presentAddress: [v => !!v || " Present Address  is required"],
      mobileNoRules: [v => !!v || "Mobile Number is required"],
      stateRules: [v => !!v || "State Name is required"],
      joinDateRules: [v => !!v || " Join Date is required"],
      errorMessages: "",
c35a8dafd   Jatinder Singh   minor changes
893
      emailRules: [
03dcbf0c1   Neeraj Sharma   fix all api and r...
894
        v => !!v || "E-mail is required",
6b6e4e83d   Neeraj Sharma   design modified i...
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
        v =>
          /^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(v) ||
          "E-mail must be valid"
      ],
      countries: [
        "Afghanistan",
        "Albania",
        "Algeria",
        "Andorra",
        "Angola",
        "Anguilla",
        "Antigua &amp; Barbuda",
        "Argentina",
        "Armenia",
        "Aruba",
        "Australia",
        "Austria",
        "Azerbaijan",
        "Bahamas",
        "Bahrain",
        "Bangladesh",
        "Barbados",
        "Belarus",
        "Belgium",
        "Belize",
        "Benin",
        "Bermuda",
        "Bhutan",
        "Bolivia",
        "Bosnia &amp; Herzegovina",
        "Botswana",
        "Brazil",
        "British Virgin Islands",
        "Brunei",
        "Bulgaria",
        "Burkina Faso",
        "Burundi",
        "Cambodia",
        "Cameroon",
        "Cape Verde",
        "Cayman Islands",
        "Chad",
        "Chile",
        "China",
        "Colombia",
        "Congo",
        "Cook Islands",
        "Costa Rica",
        "Cote D Ivoire",
        "Croatia",
        "Cruise Ship",
        "Cuba",
        "Cyprus",
        "Czech Republic",
        "Denmark",
        "Djibouti",
        "Dominica",
        "Dominican Republic",
        "Ecuador",
        "Egypt",
        "El Salvador",
        "Equatorial Guinea",
        "Estonia",
        "Ethiopia",
        "Falkland Islands",
        "Faroe Islands",
        "Fiji",
        "Finland",
        "France",
        "French Polynesia",
        "French West Indies",
        "Gabon",
        "Gambia",
        "Georgia",
        "Germany",
        "Ghana",
        "Gibraltar",
        "Greece",
        "Greenland",
        "Grenada",
        "Guam",
        "Guatemala",
        "Guernsey",
        "Guinea",
        "Guinea Bissau",
        "Guyana",
        "Haiti",
        "Honduras",
        "Hong Kong",
        "Hungary",
        "Iceland",
        "India",
        "Indonesia",
        "Iran",
        "Iraq",
        "Ireland",
        "Isle of Man",
        "Israel",
        "Italy",
        "Jamaica",
        "Japan",
        "Jersey",
        "Jordan",
        "Kazakhstan",
        "Kenya",
        "Kuwait",
        "Kyrgyz Republic",
        "Laos",
        "Latvia",
        "Lebanon",
        "Lesotho",
        "Liberia",
        "Libya",
        "Liechtenstein",
        "Lithuania",
        "Luxembourg",
        "Macau",
        "Macedonia",
        "Madagascar",
        "Malawi",
        "Malaysia",
        "Maldives",
        "Mali",
        "Malta",
        "Mauritania",
        "Mauritius",
        "Mexico",
        "Moldova",
        "Monaco",
        "Mongolia",
        "Montenegro",
        "Montserrat",
        "Morocco",
        "Mozambique",
        "Namibia",
        "Nepal",
        "Netherlands",
        "Netherlands Antilles",
        "New Caledonia",
        "New Zealand",
        "Nicaragua",
        "Niger",
        "Nigeria",
        "Norway",
        "Oman",
        "Pakistan",
        "Palestine",
        "Panama",
        "Papua New Guinea",
        "Paraguay",
        "Peru",
        "Philippines",
        "Poland",
        "Portugal",
        "Puerto Rico",
        "Qatar",
        "Reunion",
        "Romania",
        "Russia",
        "Rwanda",
        "Saint Pierre &amp; Miquelon",
        "Samoa",
        "San Marino",
        "Satellite",
        "Saudi Arabia",
        "Senegal",
        "Serbia",
        "Seychelles",
        "Sierra Leone",
        "Singapore",
        "Slovakia",
        "Slovenia",
        "South Africa",
        "South Korea",
        "Spain",
        "Sri Lanka",
        "St Kitts &amp; Nevis",
        "St Lucia",
        "St Vincent",
        "St. Lucia",
        "Sudan",
        "Suriname",
        "Swaziland",
        "Sweden",
        "Switzerland",
        "Syria",
        "Taiwan",
        "Tajikistan",
        "Tanzania",
        "Thailand",
        "Timor L'Este",
        "Togo",
        "Tonga",
        "Trinidad &amp; Tobago",
        "Tunisia",
        "Turkey",
        "Turkmenistan",
        "Turks &amp; Caicos",
        "Uganda",
        "Ukraine",
        "United Arab Emirates",
        "United Kingdom",
        "United States",
        "Uruguay",
        "Uzbekistan",
        "Venezuela",
        "Vietnam",
        "Virgin Islands (US)",
        "Yemen",
        "Zambia",
        "Zimbabwe"
c35a8dafd   Jatinder Singh   minor changes
1106
      ],
93a68cfa1   Jatinder Singh   first commit
1107
1108
      headers: [
        {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1109
1110
          text: "No",
          align: "center",
93a68cfa1   Jatinder Singh   first commit
1111
          sortable: false,
03dcbf0c1   Neeraj Sharma   fix all api and r...
1112
          value: "No"
c35a8dafd   Jatinder Singh   minor changes
1113
        },
813e55a79   Neeraj Sharma   implement parents...
1114
1115
1116
1117
1118
1119
        {
          text: "Profile Pic",
          value: "profilePicUrl",
          sortable: false,
          align: "center"
        },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1120
1121
        { text: "Name", value: "name", sortable: false, align: "center" },
        { text: "Email", value: "email", sortable: false, align: "center" },
6b6e4e83d   Neeraj Sharma   design modified i...
1122
        { text: "DOB", value: "dob", sortable: false, align: "center" },
813e55a79   Neeraj Sharma   implement parents...
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
        {
          text: "Join Date",
          value: "joinDate",
          sortable: false,
          align: "center"
        },
        {
          text: "Mobile No",
          value: "mobileNo",
          sortable: false,
          align: "center"
        },
6b6e4e83d   Neeraj Sharma   design modified i...
1135
        { text: "Action", value: "", sortable: false, align: "center" }
93a68cfa1   Jatinder Singh   first commit
1136
      ],
03dcbf0c1   Neeraj Sharma   fix all api and r...
1137
      desserts: [],
93a68cfa1   Jatinder Singh   first commit
1138
      editedIndex: -1,
813e55a79   Neeraj Sharma   implement parents...
1139
      upload: "",
93a68cfa1   Jatinder Singh   first commit
1140
      editedItem: {
e3e2a04c6   Neeraj Sharma   first commit
1141
        role: "TEACHER",
03dcbf0c1   Neeraj Sharma   fix all api and r...
1142
        name: "",
03dcbf0c1   Neeraj Sharma   fix all api and r...
1143
        email: "",
6b6e4e83d   Neeraj Sharma   design modified i...
1144
1145
1146
1147
1148
1149
1150
1151
1152
        date: null,
        city: "",
        pincode: "",
        country: "",
        permanentAddress: "",
        presentAddress: "",
        mobileNo: "",
        state: "",
        joinDate: null
93a68cfa1   Jatinder Singh   first commit
1153
      },
6b6e4e83d   Neeraj Sharma   design modified i...
1154
      addTeachers: {
e3e2a04c6   Neeraj Sharma   first commit
1155
        role: "TEACHER",
03dcbf0c1   Neeraj Sharma   fix all api and r...
1156
        name: "",
03dcbf0c1   Neeraj Sharma   fix all api and r...
1157
        email: "",
6b6e4e83d   Neeraj Sharma   design modified i...
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
        date: null,
        city: "",
        pincode: "",
        country: "",
        permanentAddress: "",
        presentAddress: "",
        mobileNo: "",
        state: "",
        joinDate: null
      },
      defaultItem: {
        role: "TEACHER",
        name: "",
        email: ""
f7979ec1a   Neeraj Sharma   add seach in heal...
1172
      },
6b6e4e83d   Neeraj Sharma   design modified i...
1173
      userName: "",
f7979ec1a   Neeraj Sharma   add seach in heal...
1174
1175
      items: [
        {
f7979ec1a   Neeraj Sharma   add seach in heal...
1176
1177
1178
1179
1180
1181
          href: "/changepassword",
          title: "Change Password",
          click: e => {
            console.log(e);
          }
        },
f7979ec1a   Neeraj Sharma   add seach in heal...
1182
        {
f7979ec1a   Neeraj Sharma   add seach in heal...
1183
1184
1185
1186
          href: "#",
          title: "Logout",
          click: e => {
            window.getApp.$emit("APP_LOGOUT");
f7979ec1a   Neeraj Sharma   add seach in heal...
1187
1188
1189
          }
        }
      ]
93a68cfa1   Jatinder Singh   first commit
1190
    }),
6b6e4e83d   Neeraj Sharma   design modified i...
1191
1192
1193
    watch: {
      menu(val) {
        val && this.$nextTick(() => (this.$refs.picker.activePicker = "YEAR"));
ac10393a4   Neeraj Sharma   add calender date...
1194
      },
6b6e4e83d   Neeraj Sharma   design modified i...
1195
1196
      menu1(val) {
        val && this.$nextTick(() => (this.$refs.picker.activePicker = "YEAR"));
ac10393a4   Neeraj Sharma   add calender date...
1197
      }
6b6e4e83d   Neeraj Sharma   design modified i...
1198
1199
    },
    methods: {
813e55a79   Neeraj Sharma   implement parents...
1200
1201
      save(date) {
        this.$refs.menu.save(date);
6b6e4e83d   Neeraj Sharma   design modified i...
1202
      },
813e55a79   Neeraj Sharma   implement parents...
1203
1204
      save(date) {
        this.$refs.menu1.save(date);
6b6e4e83d   Neeraj Sharma   design modified i...
1205
1206
      },
      pickFile() {
813e55a79   Neeraj Sharma   implement parents...
1207
        this.$refs.image.click();
6b6e4e83d   Neeraj Sharma   design modified i...
1208
      },
6b6e4e83d   Neeraj Sharma   design modified i...
1209
1210
1211
1212
      onFilePicked(e) {
        // console.log(e)
        const files = e.target.files;
        this.upload = e.target.files[0];
813e55a79   Neeraj Sharma   implement parents...
1213
        console.log("imageData-upload========>", this.upload);
6b6e4e83d   Neeraj Sharma   design modified i...
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
        if (files[0] !== undefined) {
          this.imageName = files[0].name;
          if (this.imageName.lastIndexOf(".") <= 0) {
            return;
          }
          const fr = new FileReader();
          fr.readAsDataURL(files[0]);
          fr.addEventListener("load", () => {
            this.imageUrl = fr.result;
            this.imageFile = files[0]; // this is an image file that can be sent to server...
            // this.imageData.imageUrl = URL.createObjectURL(this.imageFile);
            // console.log("upload=======>", this.imageData.imageUrl);
813e55a79   Neeraj Sharma   implement parents...
1226
            console.log("imageFile", this.imageUrl);
6b6e4e83d   Neeraj Sharma   design modified i...
1227
1228
1229
1230
1231
1232
1233
          });
        } else {
          this.imageName = "";
          this.imageFile = "";
          this.imageUrl = "";
        }
      },
506be6fd7   Neeraj Sharma   implemet dyamic i...
1234
1235
1236
      dates: function(date) {
        return moment(date).format("MMMM DD, YYYY");
      },
e3e2a04c6   Neeraj Sharma   first commit
1237
      getTeacherList() {
36fc987df   Neeraj Sharma   add loader in all...
1238
        this.showLoader = true;
03dcbf0c1   Neeraj Sharma   fix all api and r...
1239
        var token = this.$store.state.token;
813e55a79   Neeraj Sharma   implement parents...
1240
        console.log("token", token);
6b6e4e83d   Neeraj Sharma   design modified i...
1241
1242
1243
1244
        http()
          .get("/getTeachersList", {
            headers: { Authorization: "Bearer " + token }
          })
e173bab21   Jatinder Singh   api
1245
          .then(response => {
e3e2a04c6   Neeraj Sharma   first commit
1246
            this.desserts = response.data.data;
36fc987df   Neeraj Sharma   add loader in all...
1247
            this.showLoader = false;
1c1942362   Neeraj Sharma   commit code Schoo...
1248
            // console.log("getTeacherList=====>",this.desserts)
03dcbf0c1   Neeraj Sharma   fix all api and r...
1249
1250
          })
          .catch(err => {
4d962bb59   Neeraj Sharma   fix name & email ...
1251
            // console.log("err====>", err);
36fc987df   Neeraj Sharma   add loader in all...
1252
            this.showLoader = false;
506be6fd7   Neeraj Sharma   implemet dyamic i...
1253
            // this.$router.replace({ path: "/" });
03dcbf0c1   Neeraj Sharma   fix all api and r...
1254
          });
e173bab21   Jatinder Singh   api
1255
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1256
      editItem(item) {
93a68cfa1   Jatinder Singh   first commit
1257
1258
        this.editedIndex = this.desserts.indexOf(item);
        this.editedItem = Object.assign({}, item);
813e55a79   Neeraj Sharma   implement parents...
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
        this.editedItem.dob =
          this.editedItem.dob != undefined
            ? (this.editedItem.dob = this.editedItem.dob.substring(0, 10))
            : (this.editedItem.dob = "");
        this.editedItem.joinDate =
          this.editedItem.joinDate != undefined
            ? (this.editedItem.joinDate = this.editedItem.joinDate.substring(
                0,
                10
              ))
            : (this.editedItem.joinDate = "");
33cfa4432   Neeraj Sharma   solve bugs J-date...
1270

93a68cfa1   Jatinder Singh   first commit
1271
1272
        this.dialog = true;
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1273
      profile(item) {
c35a8dafd   Jatinder Singh   minor changes
1274
1275
1276
1277
        this.editedIndex = this.desserts.indexOf(item);
        this.editedItem = Object.assign({}, item);
        this.dialog1 = true;
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1278
      deleteItem(item) {
e3e2a04c6   Neeraj Sharma   first commit
1279
1280
        let deleteTeachers = {
          teacherId: item._id
03dcbf0c1   Neeraj Sharma   fix all api and r...
1281
        };
1c1942362   Neeraj Sharma   commit code Schoo...
1282
        //  console.log("deleteUers",deleteTeachers)
03dcbf0c1   Neeraj Sharma   fix all api and r...
1283
        http()
6b6e4e83d   Neeraj Sharma   design modified i...
1284
1285
1286
1287
1288
1289
          .delete(
            "/deleteTeacher",
            confirm("Are you sure you want to delete this?") && {
              params: deleteTeachers
            }
          )
03dcbf0c1   Neeraj Sharma   fix all api and r...
1290
          .then(response => {
1c1942362   Neeraj Sharma   commit code Schoo...
1291
            // console.log("deleteUers",deleteTeachers)
03dcbf0c1   Neeraj Sharma   fix all api and r...
1292
            if ((this.snackbar = true)) {
5f1d4b444   Neeraj Sharma   fix design and fi...
1293
              this.text = "Successfully delete Existing Teacher";
6b6e4e83d   Neeraj Sharma   design modified i...
1294
            }
e3e2a04c6   Neeraj Sharma   first commit
1295
            this.getTeacherList();
03dcbf0c1   Neeraj Sharma   fix all api and r...
1296
1297
          })
          .catch(error => {
e3e2a04c6   Neeraj Sharma   first commit
1298
            console.log(error);
03dcbf0c1   Neeraj Sharma   fix all api and r...
1299
          });
93a68cfa1   Jatinder Singh   first commit
1300
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1301
      activeTab(type) {
ee83012b3   Jatinder Singh   changes
1302
        switch (type) {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1303
          case "existing":
ee83012b3   Jatinder Singh   changes
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
            this.newActive = false;
            this.isActive = true;
            break;
  
          default:
            this.newActive = true;
            this.isActive = false;
            break;
        }
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1314
      close() {
93a68cfa1   Jatinder Singh   first commit
1315
        this.dialog = false;
813e55a79   Neeraj Sharma   implement parents...
1316
        setTimeout(() => {
93a68cfa1   Jatinder Singh   first commit
1317
1318
1319
1320
          this.editedItem = Object.assign({}, this.defaultItem);
          this.editedIndex = -1;
        }, 300);
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1321
      close1() {
c35a8dafd   Jatinder Singh   minor changes
1322
1323
        this.dialog1 = false;
      },
6b6e4e83d   Neeraj Sharma   design modified i...
1324
1325
1326
      // close2() {
      //   this.dialog2 = false;
      // },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1327
      submit() {
c35a8dafd   Jatinder Singh   minor changes
1328
        if (this.$refs.form.validate()) {
79006bdcb   Neeraj Sharma   uplaod images all...
1329
1330
1331
          // let images = new FormData();
          // images.append("upload",this.imageUrl);
          // console.log(images);
6b6e4e83d   Neeraj Sharma   design modified i...
1332
1333
1334
1335
1336
1337
1338
1339
          // var form_data = new FormData();
          //  for (var key in addTeacher) {
          //     if (key === 'upload') {
          //      form_data.append(key, this.imageFile);
          //    } else {
          //      form_data.append(key, addTeacher[key])
          //    }
          //  }
79006bdcb   Neeraj Sharma   uplaod images all...
1340
          // console.log("images",images)
1c1942362   Neeraj Sharma   commit code Schoo...
1341
          let addTeacher = {
6b6e4e83d   Neeraj Sharma   design modified i...
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
            name: this.addTeachers.name,
            email: this.addTeachers.email,
            role: this.addTeachers.role,
            dob: this.addTeachers.date,
            city: this.addTeachers.city,
            pincode: this.addTeachers.pincode,
            country: this.addTeachers.country,
            permanentAddress: this.addTeachers.permanentAddress,
            presentAddress: this.addTeachers.presentAddress,
            mobileNo: this.addTeachers.mobileNo,
            state: this.addTeachers.state,
            joinDate: this.addTeachers.joinDate,
813e55a79   Neeraj Sharma   implement parents...
1354
            upload: this.imageUrl
6b6e4e83d   Neeraj Sharma   design modified i...
1355
            // upload:this.imageFile
03dcbf0c1   Neeraj Sharma   fix all api and r...
1356
          };
6b6e4e83d   Neeraj Sharma   design modified i...
1357
          // console.log("addTeacher============>", addTeacher);
5f1d4b444   Neeraj Sharma   fix design and fi...
1358
          this.loading = true;
03dcbf0c1   Neeraj Sharma   fix all api and r...
1359
          http()
1c1942362   Neeraj Sharma   commit code Schoo...
1360
            .post("/createTeacher", addTeacher)
03dcbf0c1   Neeraj Sharma   fix all api and r...
1361
            .then(response => {
6b6e4e83d   Neeraj Sharma   design modified i...
1362
              console.log("addTeacher", addTeacher);
e3e2a04c6   Neeraj Sharma   first commit
1363
              this.getTeacherList();
6b6e4e83d   Neeraj Sharma   design modified i...
1364
              if ((this.snackbar = true)) {
5f1d4b444   Neeraj Sharma   fix design and fi...
1365
                this.text = "New Teacher added successfully";
03dcbf0c1   Neeraj Sharma   fix all api and r...
1366
              }
6b6e4e83d   Neeraj Sharma   design modified i...
1367
1368
  
              this.clear();
5f1d4b444   Neeraj Sharma   fix design and fi...
1369
              this.loading = false;
03dcbf0c1   Neeraj Sharma   fix all api and r...
1370
1371
            })
            .catch(error => {
4d962bb59   Neeraj Sharma   fix name & email ...
1372
              // console.log(error);
6b6e4e83d   Neeraj Sharma   design modified i...
1373
1374
1375
              if ((this.snackbar = true)) {
                this.text = error.response.data.message;
              }
5f1d4b444   Neeraj Sharma   fix design and fi...
1376
              this.loading = false;
03dcbf0c1   Neeraj Sharma   fix all api and r...
1377
            });
c35a8dafd   Jatinder Singh   minor changes
1378
1379
        }
      },
6b6e4e83d   Neeraj Sharma   design modified i...
1380
1381
      mail() {},
      download() {},
03dcbf0c1   Neeraj Sharma   fix all api and r...
1382
      clear() {
ee83012b3   Jatinder Singh   changes
1383
1384
        this.$refs.form.reset();
      },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1385
      save() {
813e55a79   Neeraj Sharma   implement parents...
1386
        this.loading = true;
1c1942362   Neeraj Sharma   commit code Schoo...
1387
        let editTeacher = {
6b6e4e83d   Neeraj Sharma   design modified i...
1388
          teacherId: this.editedItem._id,
5f2dd99ed   Neeraj Sharma   add full name in ...
1389
          name: this.editedItem.name,
03dcbf0c1   Neeraj Sharma   fix all api and r...
1390
          email: this.editedItem.email,
6b6e4e83d   Neeraj Sharma   design modified i...
1391
1392
1393
1394
1395
1396
1397
1398
1399
          role: this.editedItem.role,
          dob: this.editedItem.date,
          city: this.editedItem.city,
          pincode: this.editedItem.pincode,
          country: this.editedItem.country,
          permanentAddress: this.editedItem.permanentAddress,
          presentAddress: this.editedItem.presentAddress,
          mobileNo: this.editedItem.mobileNo,
          state: this.editedItem.state,
813e55a79   Neeraj Sharma   implement parents...
1400
          joinDate: this.editedItem.joinDate
03dcbf0c1   Neeraj Sharma   fix all api and r...
1401
        };
813e55a79   Neeraj Sharma   implement parents...
1402
1403
1404
        if (this.imageUrl) {
          editTeacher.upload = this.imageUrl;
        }
03dcbf0c1   Neeraj Sharma   fix all api and r...
1405
        http()
1c1942362   Neeraj Sharma   commit code Schoo...
1406
          .put("/updateTeacher", editTeacher)
03dcbf0c1   Neeraj Sharma   fix all api and r...
1407
          .then(response => {
813e55a79   Neeraj Sharma   implement parents...
1408
            console.log("editTeacher", editTeacher);
03dcbf0c1   Neeraj Sharma   fix all api and r...
1409
            if ((this.snackbar = true)) {
5f1d4b444   Neeraj Sharma   fix design and fi...
1410
              this.text = "Successfully Edit Existing Teacher";
03dcbf0c1   Neeraj Sharma   fix all api and r...
1411
            }
d791fb8d2   Neeraj Sharma   edit image solve ...
1412
            this.loading = false;
6b6e4e83d   Neeraj Sharma   design modified i...
1413
            this.getTeacherList();
d791fb8d2   Neeraj Sharma   edit image solve ...
1414
            this.close();
03dcbf0c1   Neeraj Sharma   fix all api and r...
1415
1416
          })
          .catch(error => {
6b6e4e83d   Neeraj Sharma   design modified i...
1417
            console.log(error);
d791fb8d2   Neeraj Sharma   edit image solve ...
1418
            this.loading = false;
03dcbf0c1   Neeraj Sharma   fix all api and r...
1419
          });
f7979ec1a   Neeraj Sharma   add seach in heal...
1420
1421
1422
1423
1424
1425
      },
      handleDrawerToggle() {
        window.getApp.$emit("APP_DRAWER_TOGGLED");
      },
      handleFullScreen() {
        Util.toggleFullScreen();
93a68cfa1   Jatinder Singh   first commit
1426
      }
4413a8d93   Jatinder Singh   changes
1427
    },
03dcbf0c1   Neeraj Sharma   fix all api and r...
1428
    mounted() {
e3e2a04c6   Neeraj Sharma   first commit
1429
1430
      this.getTeacherList();
      // console.log("Id",this.$store.state.id)
6b6e4e83d   Neeraj Sharma   design modified i...
1431
      // console.log("token",this.$store.state.token)
f7979ec1a   Neeraj Sharma   add seach in heal...
1432
    },
6b6e4e83d   Neeraj Sharma   design modified i...
1433
    computed: {
f7979ec1a   Neeraj Sharma   add seach in heal...
1434
1435
1436
      toolbarColor() {
        return this.$vuetify.options.extra.mainNav;
      }
e173bab21   Jatinder Singh   api
1437
    }
93a68cfa1   Jatinder Singh   first commit
1438
  };
93a68cfa1   Jatinder Singh   first commit
1439
  </script>
04e3fbc56   Jatinder Singh   minor fix
1440
  <style scoped>
9f9522c1d   Neeraj Sharma   fix button text a...
1441
  .v-tabs__div {
6b6e4e83d   Neeraj Sharma   design modified i...
1442
    text-transform: none;
9f9522c1d   Neeraj Sharma   fix button text a...
1443
  }
dd4ecae1d   Neeraj Sharma   search very fast ...
1444
  .v-input__prepend-outer {
6b6e4e83d   Neeraj Sharma   design modified i...
1445
    margin-right: 0px !important;
dd4ecae1d   Neeraj Sharma   search very fast ...
1446
  }
ee83012b3   Jatinder Singh   changes
1447
  .v-card__actions .v-btn {
04e3fbc56   Jatinder Singh   minor fix
1448
1449
1450
    margin: 0 15px;
    min-width: 120px;
  }
6b6e4e83d   Neeraj Sharma   design modified i...
1451
1452
1453
  .primary {
    background-color: #aaa !important;
    border-color: #aaa !important;
ac10393a4   Neeraj Sharma   add calender date...
1454
  }
ee83012b3   Jatinder Singh   changes
1455
1456
1457
1458
1459
  h4 {
    background-repeat: no-repeat;
    padding: 8px;
    margin: auto;
    font-size: 25px;
269061695   Jatinder Singh   changes
1460
  }
ee83012b3   Jatinder Singh   changes
1461
1462
1463
1464
  #name {
    position: absolute;
    left: 100px;
    top: 17px;
269061695   Jatinder Singh   changes
1465
  }
ee83012b3   Jatinder Singh   changes
1466
  #icon {
269061695   Jatinder Singh   changes
1467
1468
1469
1470
    position: absolute;
    right: 8px;
    top: 8px;
  }
ee83012b3   Jatinder Singh   changes
1471
  #m {
269061695   Jatinder Singh   changes
1472
1473
    position: relative;
    left: 135px;
c1fd43e24   Jatinder Singh   changes
1474
    top: -15px;
269061695   Jatinder Singh   changes
1475
  }
ee83012b3   Jatinder Singh   changes
1476
1477
1478
  #G {
    position: absolute;
    top: 38px;
f84ff8f5a   Jatinder Singh   report page changes
1479
    color: white;
269061695   Jatinder Singh   changes
1480
  }
ee83012b3   Jatinder Singh   changes
1481
  #bt {
269061695   Jatinder Singh   changes
1482
    position: relative;
ee83012b3   Jatinder Singh   changes
1483
1484
    top: -20px;
    left: 115px;
269061695   Jatinder Singh   changes
1485
  }
ee83012b3   Jatinder Singh   changes
1486
1487
  #e {
    position: relative;
defcc5da3   Jatinder Singh   report page
1488
1489
    top: 5px;
    right: -30px;
269061695   Jatinder Singh   changes
1490
1491
1492
    height: 17px;
    cursor: pointer;
  }
ee83012b3   Jatinder Singh   changes
1493
1494
  #d {
    position: relative;
defcc5da3   Jatinder Singh   report page
1495
1496
    top: 5px;
    right: -70px;
ee83012b3   Jatinder Singh   changes
1497
1498
    height: 17px;
    cursor: pointer;
269061695   Jatinder Singh   changes
1499
1500
  }
  #td {
ee83012b3   Jatinder Singh   changes
1501
1502
1503
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
269061695   Jatinder Singh   changes
1504
  }
ee83012b3   Jatinder Singh   changes
1505
1506
1507
1508
1509
1510
  #dialog {
    height: 550px;
  }
  .active {
    background-color: black;
    color: white !important;
269061695   Jatinder Singh   changes
1511
  }
ab72cb628   Jatinder Singh   report changes
1512
1513
1514
  .activebtn {
    color: black !important;
  }
03dcbf0c1   Neeraj Sharma   fix all api and r...
1515
1516
1517
  #flex {
    height: 300px;
  }
6b6e4e83d   Neeraj Sharma   design modified i...
1518
1519
  .v-tabs__item a {
    font-size: 16px !important;
03dcbf0c1   Neeraj Sharma   fix all api and r...
1520
  }
6b6e4e83d   Neeraj Sharma   design modified i...
1521
1522
1523
1524
  @media screen and (max-width: 769px) {
    .top {
      margin-top: 0 !important;
    }
dd4ecae1d   Neeraj Sharma   search very fast ...
1525
1526
    .userSearch .v-icon {
      font-size: 20px !important;
6b6e4e83d   Neeraj Sharma   design modified i...
1527
      margin-left: 20px;
659b42db7   Neeraj Sharma   changes something...
1528
    }
659b42db7   Neeraj Sharma   changes something...
1529
  }
fc82ac667   Neeraj Sharma   fix design and re...
1530

03dcbf0c1   Neeraj Sharma   fix all api and r...
1531
  @media screen and (max-width: 380px) {
fc82ac667   Neeraj Sharma   fix design and re...
1532
    .pl-3 {
813e55a79   Neeraj Sharma   implement parents...
1533
      padding-left: 0px !important;
fc82ac667   Neeraj Sharma   fix design and re...
1534
    }
6b6e4e83d   Neeraj Sharma   design modified i...
1535
    .right {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1536
      float: none !important;
6b6e4e83d   Neeraj Sharma   design modified i...
1537
1538
    }
    .subheading {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1539
      font-size: 14px !important;
6b6e4e83d   Neeraj Sharma   design modified i...
1540
1541
    }
    .v-card__actions .v-btn {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1542
1543
      margin: 0 0px;
      min-width: 100px;
6b6e4e83d   Neeraj Sharma   design modified i...
1544
    }
813e55a79   Neeraj Sharma   implement parents...
1545
1546
    .presentInput {
      padding-left: 48px !important;
fc82ac667   Neeraj Sharma   fix design and re...
1547
    }
6b6e4e83d   Neeraj Sharma   design modified i...
1548
    /* .searchIcon .v-icon {
dd4ecae1d   Neeraj Sharma   search very fast ...
1549
1550
1551
      font-size: 20px;
      margin-left: 20px;
  } */
6b6e4e83d   Neeraj Sharma   design modified i...
1552
    .subheading {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1553
      font-size: 12px !important;
6b6e4e83d   Neeraj Sharma   design modified i...
1554
1555
    }
    h5 {
03dcbf0c1   Neeraj Sharma   fix all api and r...
1556
      font-size: 13px;
6b6e4e83d   Neeraj Sharma   design modified i...
1557
    }
813e55a79   Neeraj Sharma   implement parents...
1558
    .pl-4 {
fc82ac667   Neeraj Sharma   fix design and re...
1559
      padding-left: 0px !important;
fc82ac667   Neeraj Sharma   fix design and re...
1560
    }
03dcbf0c1   Neeraj Sharma   fix all api and r...
1561
  }
6b6e4e83d   Neeraj Sharma   design modified i...
1562
1563
  .v-icon {
    font-size: 30px;
e2e46164f   Jatinder Singh   edit profile changes
1564
  }
6b6e4e83d   Neeraj Sharma   design modified i...
1565
1566
1567
1568
1569
  @media screen and (min-width: 1270px) {
    .hide {
      display: none;
    }
    /* }
f7979ec1a   Neeraj Sharma   add seach in heal...
1570
1571
1572
1573
1574
1575
1576
1577
1578
  @media screen and (max-width: 962px) {
  .imglogo{
      position: absolute;
      top: 13px;
      left: 13px !important;
      width: 70px;
      height: 24px;
  } */
  }
6b6e4e83d   Neeraj Sharma   design modified i...
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
  @media screen and (max-width: 420px) {
    .userSearch .v-text-field .v-label {
      line-height: 24px !important;
    }
    .userSearch .v-label {
      font-size: 13px !important;
    }
    .v-list__tile {
      font-size: 14px;
      padding: 0 10px;
    }
    .name {
      font-size: 15px;
    }
f7979ec1a   Neeraj Sharma   add seach in heal...
1593
  }
04e3fbc56   Jatinder Singh   minor fix
1594
  </style>