Blame view

src/pages/Students/students.vue 76.9 KB
e3e2a04c6   Neeraj Sharma   first commit
1
  <template>
b82d0d998   Neeraj Sharma   changes and modif...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
    <v-app id="pages-dasboard">
      <v-toolbar class="fixcolors" fixed app>
        <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 EXISTING StudentS ****** -->
        <v-flex xs7 sm3 class="userSearch">
          <v-text-field
            flat
            append-icon="search"
            label="Find your Students"
            v-model="search"
            color="white"
            dark
          ></v-text-field>
        </v-flex>
e3e2a04c6   Neeraj Sharma   first commit
18
19
        <v-spacer></v-spacer>
        <v-menu offset-y origin="center center" :nudge-bottom="10" transition="scale-transition">
b82d0d998   Neeraj Sharma   changes and modif...
20
          <v-btn icon large flat slot="activator">
e3e2a04c6   Neeraj Sharma   first commit
21
            <v-avatar size="40px">
b82d0d998   Neeraj Sharma   changes and modif...
22
              <img src="/static/icon/user.png">
e3e2a04c6   Neeraj Sharma   first commit
23
            </v-avatar>
b82d0d998   Neeraj Sharma   changes and modif...
24
          </v-btn>
e3e2a04c6   Neeraj Sharma   first commit
25
          <v-list class="pa-0">
b82d0d998   Neeraj Sharma   changes and modif...
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">
e3e2a04c6   Neeraj Sharma   first commit
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>
b82d0d998   Neeraj Sharma   changes and modif...
44
          </v-list>
e3e2a04c6   Neeraj Sharma   first commit
45
        </v-menu>
b82d0d998   Neeraj Sharma   changes and modif...
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
73
74
      </v-toolbar>
      <v-tabs grow slider-color="black">
        <v-tab
          ripple
          @click="activeTab('existing')"
          v-bind:class="{ active: isActive }"
          id="tab"
          class="subheading"
        >Existing Students</v-tab>
        <v-tab
          ripple
          @click="activeTab('new')"
          v-bind:class="{ active: newActive }"
          id="tab1"
          User
          class="subheading"
        >Add New Students</v-tab>
  
        <!-- ****** EDITS  STUDENTS 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...
75
76
77
          <v-dialog v-model="dialog" max-width="1300px" scrollable>
              <v-card flat>
                <v-toolbar color="grey lighten-2" flat>
b82d0d998   Neeraj Sharma   changes and modif...
78
                <v-spacer></v-spacer>
506be6fd7   Neeraj Sharma   implemet dyamic i...
79
                <v-toolbar-title><h3>Edit Student Profile</h3></v-toolbar-title>
b82d0d998   Neeraj Sharma   changes and modif...
80
81
                <v-spacer></v-spacer>
              </v-toolbar>
79006bdcb   Neeraj Sharma   uplaod images all...
82
              <v-card-text style="height: 800px;">
b82d0d998   Neeraj Sharma   changes and modif...
83
84
85
86
87
88
89
                <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 mr-4"
                      >
79006bdcb   Neeraj Sharma   uplaod images all...
90
                        <v-avatar size="160px">
d791fb8d2   Neeraj Sharma   edit image solve ...
91
                         <img src="/static/icon/user.png" v-if="!editedItem.profilePicUrl && !imageUrl">
79006bdcb   Neeraj Sharma   uplaod images all...
92
93
94
95
96
97
98
99
                          <img :src="editedItem.profilePicUrl" v-else-if="editedItem.profilePicUrl && !imageUrl">
                          <img
                          
                          v-if="imageUrl"
                          :src="imageUrl"
                          height="150"
                          style="border-radius:50%; width:200px"
                        >
b82d0d998   Neeraj Sharma   changes and modif...
100
101
102
103
104
105
106
107
                        </v-avatar>
                        <input
                          type="file"
                          style="display: none"
                          ref="image"
                          accept="image/*"
                          @change="onFilePicked"
                        >
b82d0d998   Neeraj Sharma   changes and modif...
108
109
110
                      </v-flex>
                    </v-layout>
                    <v-layout>
506be6fd7   Neeraj Sharma   implemet dyamic i...
111
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Select Class:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-select
                              :items="addclass"
                              label="Select Class"
                              v-model="editedItem.select"
                              item-text="classNum"
                              item-value="_id"
                              name="Select Class"
                              @change="getSections(editedItem.select)"
                              required
                            ></v-select>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
130
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Select Section:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-select
                              :items="addSection"
                              label="Select Section"
                              v-model="editedItem.selectSection"
                              item-text="name"
                              item-value="_id"
                              name="Select Section"
                              required
                            ></v-select>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
148
                       <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
                        <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>
506be6fd7   Neeraj Sharma   implemet dyamic i...
164
165
166
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
                        <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>
506be6fd7   Neeraj Sharma   implemet dyamic i...
182
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
                        <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="menu1"
                              :nudge-right="40"
                              lazy
                              transition="scale-transition"
                              offset-y
                              full-width
                              min-width="290px"
                            >
                              <v-text-field
                                slot="activator"
506be6fd7   Neeraj Sharma   implemet dyamic i...
201
202
                                v-model="editedItem.dob"
                                placeholder="Select Dob"
b82d0d998   Neeraj Sharma   changes and modif...
203
204
205
                              ></v-text-field>
                              <v-date-picker
                                ref="picker"
506be6fd7   Neeraj Sharma   implemet dyamic i...
206
                                v-model="editedItem.dob"
b82d0d998   Neeraj Sharma   changes and modif...
207
208
209
210
211
212
213
214
                                :max="new Date().toISOString().substr(0, 10)"
                                min="1950-01-01"
                                @input="menu1 = false"
                              ></v-date-picker>
                            </v-menu>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
215
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
                        <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>
99ffa9511   Neeraj Sharma   add ,view, and ed...
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
269
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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
                     <v-layout>
                      <v-flex xs12 sm4>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Blood Group:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.bloodGroup"
                              placeholder="fill your BloodGroup"
                              name="state"
                              type="text"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm4>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Allergies:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.allergies"
                              placeholder="fill your Allergies"
                              name="pincode"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm4>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Medical Notes:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.medicalNotes"
                              placeholder="fill your medicalNotes"
                              name="mobileNo"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                     <v-layout>
                      <v-flex xs12 sm4>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Height:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.height"
                              placeholder="fill your Height"
                              name="state"
                              type="text"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm4>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Weight:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.weight"
                              placeholder="fill your Weight"
                              name="pincode"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm4>
                        <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"
                              append-icon="attach_file"
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
328
                    <v-layout>
506be6fd7   Neeraj Sharma   implemet dyamic i...
329
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
                        <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>
506be6fd7   Neeraj Sharma   implemet dyamic i...
345
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
                        <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>
506be6fd7   Neeraj Sharma   implemet dyamic i...
361
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
                        <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.mobile"
                              placeholder="fill your MobileNo"
                              name="mobileNo"
                              type="number"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
377
378
379
                    </v-layout>
                    <v-layout>
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
380
381
382
383
384
385
386
387
388
389
390
391
392
393
                        <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>
506be6fd7   Neeraj Sharma   implemet dyamic i...
394
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
395
396
397
398
399
400
401
402
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Gender:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-select
                              :items="gender"
                              v-model="editedItem.gender"
506be6fd7   Neeraj Sharma   implemet dyamic i...
403
                              placeholder="Select Gender"
b82d0d998   Neeraj Sharma   changes and modif...
404
405
406
407
408
                              required
                            ></v-select>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
409
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Father Name:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.fatherName"
                              :items="countries"
                              placeholder="Fill your father Name"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
                    <v-layout>
506be6fd7   Neeraj Sharma   implemet dyamic i...
426
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Father Cell No:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.fatherCellNo"
                              placeholder="fill your father Cell Number"
                              name="state"
                              type="number"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
442
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Mother Name:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.motherName"
                              placeholder="fill your Mother Name"
                              name="state"
                              type="text"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
458
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Mother Cell No:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.motherCellNo"
                              placeholder="fill your  Mother Cell Number"
                              name="state"
                              type="number"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
506be6fd7   Neeraj Sharma   implemet dyamic i...
474
                    </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
475
                    <!-- <v-layout>
506be6fd7   Neeraj Sharma   implemet dyamic i...
476
                      <v-flex xs12 sm4>
b82d0d998   Neeraj Sharma   changes and modif...
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Academic Year:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="editedItem.establishmentYear"
                              placeholder="fill your Mother Name"
                              name="state"
                              type="number"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
492
493
494
                    </v-layout> -->
                    <v-layout>
                      <v-flex xs12>
b82d0d998   Neeraj Sharma   changes and modif...
495
                        <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
496
                          <v-flex xs1 class="pt-4 subheading" style="flex-basis: 13.333333% !important; max-width: 13.333333% !important;">
b82d0d998   Neeraj Sharma   changes and modif...
497
498
                            <label class="right">Present Address:</label>
                          </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
499
                          <v-flex xs11 class="ml-2">
b82d0d998   Neeraj Sharma   changes and modif...
500
501
502
503
504
505
506
507
508
                            <v-text-field
                              v-model="editedItem.presentAddress"
                              placeholder="fill Your present Address"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                    </v-layout>
79006bdcb   Neeraj Sharma   uplaod images all...
509
510
                    <v-layout>
                        <v-flex xs12>
b82d0d998   Neeraj Sharma   changes and modif...
511
                        <v-layout>
79006bdcb   Neeraj Sharma   uplaod images all...
512
513
                          <v-flex xs1 class="pt-4 subheading" style="flex-basis: 13.333333% !important; max-width: 13.333333% !important;">
                            <label class="right">Permanent Address:</label>
b82d0d998   Neeraj Sharma   changes and modif...
514
                          </v-flex>
79006bdcb   Neeraj Sharma   uplaod images all...
515
516
517
                          <v-flex xs11 class="ml-2">
                            <v-textarea
                              rows="1"
b82d0d998   Neeraj Sharma   changes and modif...
518
519
520
                              v-model="editedItem.permanentAddress"
                              placeholder="fill Your Permanent Address"
                              required
79006bdcb   Neeraj Sharma   uplaod images all...
521
                            ></v-textarea>
b82d0d998   Neeraj Sharma   changes and modif...
522
523
                          </v-flex>
                        </v-layout>
79006bdcb   Neeraj Sharma   uplaod images all...
524
525
                      </v-flex>
                    </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
526
527
528
529
530
531
                    <v-layout>
                      <v-flex xs12 sm12>
                       <v-card-actions>
                        <v-btn round dark @click.native="close">Cancel</v-btn>
                        <v-spacer></v-spacer>
                        <v-btn round dark @click="save">Save</v-btn>
79006bdcb   Neeraj Sharma   uplaod images all...
532
                       </v-card-actions>
b82d0d998   Neeraj Sharma   changes and modif...
533
                      </v-flex>
79006bdcb   Neeraj Sharma   uplaod images all...
534
535
536
537
                     </v-layout>
                   </v-container>
                 </v-form>
               </v-card-text>
b82d0d998   Neeraj Sharma   changes and modif...
538
              </v-card>
b82d0d998   Neeraj Sharma   changes and modif...
539
540
541
          </v-dialog>
  
          <!-- ****** PROFILE VIEW STUDENTS DEATILS ******  -->
99ffa9511   Neeraj Sharma   add ,view, and ed...
542
543
  
          <v-dialog v-model="dialog1" max-width="800px" scrollable>
b82d0d998   Neeraj Sharma   changes and modif...
544
            <v-card>
79006bdcb   Neeraj Sharma   uplaod images all...
545
546
547
548
549
550
               <v-toolbar color="grey lighten-2" flat>
                <v-spacer></v-spacer>
                <v-toolbar-title>Student Profile</v-toolbar-title>
                <v-spacer></v-spacer>
                <v-icon @click="close1">close</v-icon>
              </v-toolbar>
99ffa9511   Neeraj Sharma   add ,view, and ed...
551
              <v-card-text style="height: 700px;">
79006bdcb   Neeraj Sharma   uplaod images all...
552
553
554
555
                <v-flex align-center justify-center layout text-xs-center class="mt-3">
                <v-avatar size="160px">
                  <img  src="/static/icon/user.png" v-if="!editedItem.profilePicUrl">
                  <img :src="editedItem.profilePicUrl" v-else-if="editedItem.profilePicUrl">
b82d0d998   Neeraj Sharma   changes and modif...
556
557
                </v-avatar>
              </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
558
559
                <v-container grid-list-md>
                  <v-layout wrap>
99ffa9511   Neeraj Sharma   add ,view, and ed...
560
561
562
                    <v-flex> 
                     <v-layout>
                      <v-flex xs12 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
563
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
564
565
                        <v-flex xs6 sm5>
                           <h5 class="right my-1"><b>Full Name:</b></h5>
e3e2a04c6   Neeraj Sharma   first commit
566
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
567
568
                        <v-flex sm7 xs6>
                          <h5 class="my-1 left">{{ editedItem.name }}</h5>
e3e2a04c6   Neeraj Sharma   first commit
569
570
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
571
572
                     </v-flex>
                      <v-flex xs12 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
573
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
574
575
                        <v-flex xs4 sm4>
                          <h5 class="right my-1"><b>Email:</b></h5>
e3e2a04c6   Neeraj Sharma   first commit
576
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
577
578
579
580
581
582
583
584
585
586
587
588
589
590
                        <v-flex sm8 xs8>
                          <h5 class="my-1 left">{{ editedItem.email }}</h5>
                        </v-flex>
                       </v-layout>
                      </v-flex>
                    </v-layout>
                     <v-layout>
                      <v-flex xs6 sm6>
                      <v-layout>
                        <v-flex xs4 sm5>
                          <b><h5 class="right my-1"><b>Gender:</b></h5></b>
                        </v-flex>
                        <v-flex sm7 xs8>
                          <h5 class="my-1 left">{{ editedItem.gender }}</h5>
e3e2a04c6   Neeraj Sharma   first commit
591
592
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
593
594
                    </v-flex>
                      <v-flex xs6 sm6>
e3e2a04c6   Neeraj Sharma   first commit
595
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
596
597
                        <v-flex xs4 sm4>
                          <b><h5 class="right my-1"><b>D.O.B:</b></h5></b>
e3e2a04c6   Neeraj Sharma   first commit
598
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
599
600
601
602
603
604
605
606
607
608
609
610
611
612
                        <v-flex sm7 xs8>
                          <h5 class="my-1">{{ dates(editedItem.dob) }}</h5>
                        </v-flex>
                      </v-layout>
                     </v-flex>
                    </v-layout>
                    <v-layout>
                      <v-flex xs6 sm6>
                       <v-layout>
                        <v-flex xs4 sm5>
                          <b><h5 class="right my-1"><b>Blood Group:</b></h5></b>
                        </v-flex>
                        <v-flex sm7 xs8>
                          <h5 class="my-1 left">{{ editedItem.bloodGroup }}</h5>
b82d0d998   Neeraj Sharma   changes and modif...
613
614
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
615
616
                    </v-flex>
                      <v-flex xs6 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
617
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
618
619
                        <v-flex xs4 sm4>
                          <b><h5 class="right my-1"><b>Allergies:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
620
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
621
622
623
624
625
626
627
628
629
630
631
632
633
634
                        <v-flex sm8 xs8>
                          <h5 class="my-1">{{ editedItem.allergies }}</h5>
                        </v-flex>
                      </v-layout>
                    </v-flex>
                  </v-layout>
                  <v-layout>
                      <v-flex xs6 sm6>
                       <v-layout>
                        <v-flex xs4 sm5>
                          <b><h5 class="right my-1"><b>Height:</b></h5></b>
                        </v-flex>
                        <v-flex sm7 xs8>
                          <h5 class="my-1 left">{{ editedItem.height }}</h5>
b82d0d998   Neeraj Sharma   changes and modif...
635
636
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
637
638
                    </v-flex>
                      <v-flex xs6 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
639
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
640
641
                        <v-flex xs4 sm4>
                          <b><h5 class="right my-1"><b>Weight:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
642
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
643
644
                        <v-flex sm8 xs8>
                          <h5 class="my-1">{{ editedItem.weight }}</h5>
b82d0d998   Neeraj Sharma   changes and modif...
645
646
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
647
648
                    </v-flex>
                  </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
649
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
650
651
652
653
                      <v-flex xs6 sm6>
                       <v-layout>
                        <v-flex xs4 sm5>
                          <b><h5 class="right my-1"><b>City:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
654
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
655
656
                        <v-flex sm7 xs8>
                          <h5 class="my-1 left">{{ editedItem.city }}</h5>
b82d0d998   Neeraj Sharma   changes and modif...
657
658
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
659
660
                    </v-flex>
                      <v-flex xs6 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
661
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
662
663
                        <v-flex xs4 sm4>
                          <b><h5 class="right my-1"><b>State:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
664
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
665
666
667
668
669
670
671
672
673
674
675
676
677
                        <v-flex sm8 xs8>
                          <h5 class="my-1">{{ editedItem.state }}</h5>
                        </v-flex>
                      </v-layout>
                    </v-flex>
                  </v-layout>
                      <v-layout>
                      <v-flex xs6 sm6>
                      <v-layout>
                        <v-flex xs4 sm5>
                          <b><h5 class="right my-1"><b>Pincode:</b></h5></b>
                        </v-flex>
                        <v-flex sm7 xs8>
b82d0d998   Neeraj Sharma   changes and modif...
678
                          <h5 class="my-1">{{ editedItem.pincode }}</h5>
e3e2a04c6   Neeraj Sharma   first commit
679
680
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
681
682
                    </v-flex>
                      <v-flex xs5 sm5>
e3e2a04c6   Neeraj Sharma   first commit
683
                       <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
684
685
                        <v-flex xs4 sm5>
                          <b><h5 class="right my-1"><b>Country:</b></h5></b>
e3e2a04c6   Neeraj Sharma   first commit
686
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
687
688
                        <v-flex sm7 xs8>
                          <h5 class="my-1">{{ editedItem.country }}</h5>
e3e2a04c6   Neeraj Sharma   first commit
689
690
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
691
692
                    </v-flex>
                  </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
693
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
694
695
696
697
                       <v-flex xs5 sm6>
                        <v-layout>
                        <v-flex sm5 xs8>
                          <b><h5 class="right my-1"><b>Mobile No:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
698
699
                        </v-flex>
                        <v-flex sm6 xs8>
99ffa9511   Neeraj Sharma   add ,view, and ed...
700
                          <h5 class="my-1">{{ editedItem.mobile }}</h5>
b82d0d998   Neeraj Sharma   changes and modif...
701
702
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
703
704
                     </v-flex>
                       <v-flex xs5 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
705
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
706
707
                        <v-flex xs5 sm4>
                          <b><h5 class="right my-1"><b>Fahter Name:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
708
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
709
                        <v-flex sm8 xs8>
b82d0d998   Neeraj Sharma   changes and modif...
710
711
712
                          <h5 class="my-1">{{ editedItem.fatherName }}</h5>
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
713
714
                     </v-flex>
                    </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
715
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
716
717
718
719
                       <v-flex xs6 sm5>
                        <v-layout>
                        <v-flex xs4 sm6>
                         <b> <h5 class="right my-1"><b>Mother Name:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
720
721
722
723
724
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.motherName }}</h5>
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
725
726
                    </v-flex>
                       <v-flex xs6 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
727
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
728
729
                        <v-flex xs4 sm6>
                          <b><h5 class="right my-1"><b>Father Cell No:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
730
731
732
733
734
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.fatherCellNo }}</h5>
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
735
736
                    </v-flex>
                  </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
737
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
738
739
740
741
                       <v-flex xs6 sm5>
                        <v-layout>
                        <v-flex xs4 sm6>
                          <b><h5 class="right my-1"><b>Mother Cell No:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
742
743
744
745
746
                        </v-flex>
                        <v-flex sm6 xs8>
                          <h5 class="my-1">{{ editedItem.motherCellNo }}</h5>
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
747
748
                    </v-flex>
                     <v-flex xs6 sm6>
b82d0d998   Neeraj Sharma   changes and modif...
749
750
                      <v-layout>
                        <v-flex xs5 sm6>
99ffa9511   Neeraj Sharma   add ,view, and ed...
751
                          <b><h5 class="my-1 right"><b>Academic Year:</b></h5></b>
b82d0d998   Neeraj Sharma   changes and modif...
752
                        </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
753
754
                        <v-flex sm5 xs8>
                          <h5 class="my-1">{{ editedItem.establishmentYear }}</h5>
b82d0d998   Neeraj Sharma   changes and modif...
755
756
                        </v-flex>
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
757
758
759
760
                     </v-flex>
                    </v-layout>
                     <v-layout>
                       <v-flex xs6 sm5>
b82d0d998   Neeraj Sharma   changes and modif...
761
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
762
763
764
765
766
767
768
769
770
771
772
773
                        <v-flex xs5 sm6>
                          <b><h5 class="my-1 right"><b>Medical Notes:</b></h5></b>
                        </v-flex>
                        <v-flex sm5 xs8>
                          <h5 class="my-1">{{ editedItem.medicalNotes }}</h5>
                        </v-flex>
                      </v-layout>
                     </v-flex>
                       <v-flex xs12 sm6>
                      <v-layout>
                       <v-flex xs6 sm6>
                       <b><h5 class="right my-1"><b>present Address:</b></h5></b>  
e3e2a04c6   Neeraj Sharma   first commit
774
775
                      </v-flex>
                      <v-flex sm6 xs8>
99ffa9511   Neeraj Sharma   add ,view, and ed...
776
                      <h5 class="my-1">{{ editedItem.presentAddress }}</h5>
e3e2a04c6   Neeraj Sharma   first commit
777
                    </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
778
                      </v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
779
780
                    </v-flex>
                   </v-layout>  
b82d0d998   Neeraj Sharma   changes and modif...
781
                      <v-layout>
99ffa9511   Neeraj Sharma   add ,view, and ed...
782
783
784
785
                       <v-flex xs12 sm12>
                        <v-layout>
                        <v-flex xs4 sm3>
                       <b><h5 class="right my-1"><b>Permanent Address:</b></h5></b>
e3e2a04c6   Neeraj Sharma   first commit
786
                      </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
787
788
                      <v-flex sm9 xs8>
                      <h5 class="my-1">{{ editedItem.permanentAddress }}</h5>
e3e2a04c6   Neeraj Sharma   first commit
789
                    </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
790
791
                      </v-layout>
                    </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
792
793
                   </v-layout>
                    </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
794
795
796
797
798
                  </v-layout>
                </v-container>
              </v-card-text>
            </v-card>
          </v-dialog>
1c1942362   Neeraj Sharma   commit code Schoo...
799

b82d0d998   Neeraj Sharma   changes and modif...
800
801
802
803
804
805
806
807
          <v-snackbar
            :timeout="timeout"
            :top="y === 'top'"
            :right="x === 'right'"
            :vertical="mode === 'vertical'"
            v-model="snackbar"
            color="success"
          >{{ text }}</v-snackbar>
e3e2a04c6   Neeraj Sharma   first commit
808

b82d0d998   Neeraj Sharma   changes and modif...
809
         <!-- ****** EXISTING-USERS STUDENTS TABLE ****** -->
506be6fd7   Neeraj Sharma   implemet dyamic i...
810
811
812
813
814
815
816
           <v-card flat>
            <v-card-actions>
             <v-layout>
                            <label class = "right mt-4 ml-5 ">Select Class:</label>
                            <v-select
                              :items="addclass"
                              label="Select Class"
79006bdcb   Neeraj Sharma   uplaod images all...
817
                              v-model="selectStudents.select"
506be6fd7   Neeraj Sharma   implemet dyamic i...
818
819
820
821
                              item-text="classNum"
                              item-value="_id"
                              name="Select Class"
                              :rules="classRules"
79006bdcb   Neeraj Sharma   uplaod images all...
822
                              @change="getSections(selectStudents.select)"
506be6fd7   Neeraj Sharma   implemet dyamic i...
823
824
825
826
827
828
829
                              class="px-4"
                              required
                            ></v-select>
                            <label class="right mt-4">Select Section:</label>
                            <v-select
                              :items="addSection"
                              label="Select Section"
79006bdcb   Neeraj Sharma   uplaod images all...
830
                              v-model="selectStudents.selectSection"
506be6fd7   Neeraj Sharma   implemet dyamic i...
831
832
833
834
835
836
837
838
839
840
841
842
                              item-text="name"
                              item-value="_id"
                              name="Select Section"
                              :rules="sectionRules"
                              class="pl-3"
                              required
                            ></v-select>
                    </v-layout>
            <v-spacer></v-spacer>
             <v-btn @click="findStudents()" round dark :loading="loading" class= "left">Find</v-btn>
           </v-card-actions>
          </v-card>
b82d0d998   Neeraj Sharma   changes and modif...
843
844
845
846
847
848
849
850
          <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...
851
852
853
854
              <td id="td" class="text-xs-center">
              <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>
b82d0d998   Neeraj Sharma   changes and modif...
855
856
              <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...
857
              <td id="td" class="text-xs-center">{{ dates(props.item.dob) }}</td>
b82d0d998   Neeraj Sharma   changes and modif...
858
859
860
861
862
              <td id="td" class="text-xs-center">{{ props.item.gender }}</td>
              <td id="td" class="text-xs-center">{{ props.item.fatherName }}</td>
              <td id="td" class="text-xs-center">{{ props.item.motherName }}</td>
              <td id="td" class="text-xs-center">{{ props.item.establishmentYear }}</td>
              <td id="td" class="text-xs-center">{{ props.item.mobile}}</td>
1c1942362   Neeraj Sharma   commit code Schoo...
863

b82d0d998   Neeraj Sharma   changes and modif...
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
              <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"
                  >
                  <img
                    style="cursor:pointer; width:20px; height:18px; "
                    class="mr-5"
                    @click="editItem(props.item)"
                    src="/static/icon/edit1.png"
                  >
                  <img
                    style="cursor:pointer; height:20px; "
                    class="mr-5"
                    @click="deleteItem(props.item)"
                    src="/static/icon/delete1.png"
                  >
                </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...
895

99ffa9511   Neeraj Sharma   add ,view, and ed...
896
        <!-- ****** ADD STUDENTS DETAILS****** -->
b82d0d998   Neeraj Sharma   changes and modif...
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
        
        <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>
e3e2a04c6   Neeraj Sharma   first commit
912
                    <v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
                      <v-flex
                        xs12
                        class="text-xs-center text-sm-center text-md-center text-lg-center my-4 mr-4"
                      >
                        <v-avatar size="100px">
                          <img src="/static/icon/user.png" v-if="!imageUrl">
                        </v-avatar>
                        <input
                          type="file"
                          style="display: none"
                          ref="image"
                          accept="image/*"
                          @change="onFilePicked"
                        >
                        <img
                          :src="imageData.imageUrl"
                          height="150"
                          v-if="imageUrl"
                          style="border-radius:50%; width:200px"
                        >
e3e2a04c6   Neeraj Sharma   first commit
933
934
                      </v-flex>
                    </v-layout>
e3e2a04c6   Neeraj Sharma   first commit
935
                    <v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
936
937
938
939
940
941
942
943
944
945
946
947
948
949
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Select Class:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-select
                              :items="addclass"
                              label="Select Class"
                              v-model="addStudents.select"
                              item-text="classNum"
                              item-value="_id"
                              name="Select Class"
                              :rules="classRules"
79006bdcb   Neeraj Sharma   uplaod images all...
950
                              @change="getSection(addStudents.select)"
b82d0d998   Neeraj Sharma   changes and modif...
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
                              required
                            ></v-select>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Select Section:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-select
                              :items="addSection"
                              label="Select Section"
                              v-model="addStudents.selectSection"
                              item-text="name"
                              item-value="_id"
                              name="Select Section"
506be6fd7   Neeraj Sharma   implemet dyamic i...
969
                              :rules="sectionRules"
b82d0d998   Neeraj Sharma   changes and modif...
970
971
972
973
                              required
                            ></v-select>
                          </v-flex>
                        </v-layout>
e3e2a04c6   Neeraj Sharma   first commit
974
975
                      </v-flex>
                    </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
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
                    <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="addStudents.name"
                              placeholder="fill your full Name"
                              name="name"
                              type="text"
                              :rules="nameRules"
                              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"
                              :rules="emailRules"
                              v-model="addStudents.email"
                              type="text"
                              name="email"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
e3e2a04c6   Neeraj Sharma   first commit
1011
                    </v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
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
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
                    <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="menu"
                              :nudge-right="40"
                              lazy
                              transition="scale-transition"
                              offset-y
                              full-width
                              min-width="290px"
                            >
                              <v-text-field
                                slot="activator"
                                :rules="dateRules"
                                v-model="addStudents.date"
                                placeholder="Select date"
                              ></v-text-field>
                              <v-date-picker
                                ref="picker"
                                v-model="addStudents.date"
                                :max="new Date().toISOString().substr(0, 10)"
                                min="1950-01-01"
                                @input="menu = 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="addStudents.city"
                              placeholder="fill your City Name"
                              name="City"
                              type="text"
                              :rules="cityRules"
                              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="addStudents.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="addStudents.pincode"
                              placeholder="fill your pincode"
                              name="pincode"
                              type="number"
                              :rules="pincode"
                              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="addStudents.mobile"
                              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="addStudents.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">Gender:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-select
                              :items="gender"
                              v-model="addStudents.gender"
                              :rules="genderRules"
                              label="Select Gender"
                              required
                            ></v-select>
                          </v-flex>
                        </v-layout>
                      </v-flex>
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
99ffa9511   Neeraj Sharma   add ,view, and ed...
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
                            <label class="right">Blood Group:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.bloodGroup"
                              placeholder="Fill your Blood Group"
                              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">Allergies:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.allergies"
                              placeholder="Fill your Allergies"
                              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">Medical Notes:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.medicalNotes"
                              placeholder="Fill your Medical Notes"
                              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">Height:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.height"
                              placeholder="Fill your Height"
                              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">Weight:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.weight"
                              placeholder="Fill your Weight"
                              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">
b82d0d998   Neeraj Sharma   changes and modif...
1232
1233
1234
1235
1236
1237
                            <label class="right">Father Name:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.fatherName"
                              :rules="fatherNameRules"
b82d0d998   Neeraj Sharma   changes and modif...
1238
1239
1240
1241
1242
1243
                              placeholder="Fill your father Name"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Father Cell No:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.fatherCellNo"
                              placeholder="fill your father Cell Number"
                              name="state"
                              type="number"
                              :rules="fatheCellNoRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
1261
1262
                    </v-layout>
                    <v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Mother Name:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.motherName"
                              placeholder="fill your Mother Name"
                              name="state"
                              type="text"
                              :rules="motherNameRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
                            <label class="right">Mother Cell No:</label>
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
                              v-model="addStudents.motherCellNo"
                              placeholder="fill your  Mother Cell Number"
                              name="state"
                              type="number"
                              :rules="motherCellNoRules"
                              required
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
99ffa9511   Neeraj Sharma   add ,view, and ed...
1297
1298
                    </v-layout>
                    <v-layout>
b82d0d998   Neeraj Sharma   changes and modif...
1299
1300
1301
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
99ffa9511   Neeraj Sharma   add ,view, and ed...
1302
                            <label class="right">Uplaod Image:</label>
b82d0d998   Neeraj Sharma   changes and modif...
1303
1304
1305
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
99ffa9511   Neeraj Sharma   add ,view, and ed...
1306
1307
1308
1309
                              label="Select Image"
                              @click="pickFile"
                              v-model="imageName"
                              append-icon="attach_file"
b82d0d998   Neeraj Sharma   changes and modif...
1310
1311
1312
1313
                            ></v-text-field>
                          </v-flex>
                        </v-layout>
                      </v-flex>
b82d0d998   Neeraj Sharma   changes and modif...
1314
1315
1316
                      <v-flex xs12 sm6>
                        <v-layout>
                          <v-flex xs4 class="pt-4 subheading">
99ffa9511   Neeraj Sharma   add ,view, and ed...
1317
                            <label class="right">Academic Year:</label>
b82d0d998   Neeraj Sharma   changes and modif...
1318
1319
1320
                          </v-flex>
                          <v-flex xs8 class="ml-3">
                            <v-text-field
99ffa9511   Neeraj Sharma   add ,view, and ed...
1321
1322
1323
1324
1325
1326
                              v-model="addStudents.establishmentYear"
                              placeholder="fill your Academic Year"
                              name="state"
                              type="number"
                              :rules="establishmentYearRules"
                              required
b82d0d998   Neeraj Sharma   changes and modif...
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
                            ></v-text-field>
                          </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>
                          <v-flex xs12>
                            <v-text-field
                              name="input-4-3"
                              v-model="addStudents.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>
                          <v-flex xs12>
                            <v-text-field
                              name="input-4-3"
                              v-model="addStudents.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...
1382
1383
1384
      <div class="loader" v-if="showLoader">
        <v-progress-circular indeterminate color="white"></v-progress-circular>
      </div>
b82d0d998   Neeraj Sharma   changes and modif...
1385
    </v-app>
e3e2a04c6   Neeraj Sharma   first commit
1386
1387
1388
  </template>
  
  <script>
e3e2a04c6   Neeraj Sharma   first commit
1389
  import http from "@/Services/http.js";
e3e2a04c6   Neeraj Sharma   first commit
1390
  import Util from "@/util";
506be6fd7   Neeraj Sharma   implemet dyamic i...
1391
  import moment from "moment";
e3e2a04c6   Neeraj Sharma   first commit
1392
1393
  
  export default {
e3e2a04c6   Neeraj Sharma   first commit
1394
    data: () => ({
e3e2a04c6   Neeraj Sharma   first commit
1395
1396
1397
1398
1399
1400
      snackbar: false,
      y: "top",
      x: "right",
      mode: "",
      timeout: 3000,
      text: "",
36fc987df   Neeraj Sharma   add loader in all...
1401
      showLoader:false,
e3e2a04c6   Neeraj Sharma   first commit
1402
      loading: false,
b82d0d998   Neeraj Sharma   changes and modif...
1403
1404
      date: null,
      search: "",
e3e2a04c6   Neeraj Sharma   first commit
1405
      menu: false,
b82d0d998   Neeraj Sharma   changes and modif...
1406
      menu1: false,
e3e2a04c6   Neeraj Sharma   first commit
1407
1408
      dialog: false,
      dialog1: false,
e3e2a04c6   Neeraj Sharma   first commit
1409
1410
1411
      valid: true,
      isActive: true,
      newActive: false,
b82d0d998   Neeraj Sharma   changes and modif...
1412
1413
1414
      addclass: [],
      addSection: [],
      gender: ["Male", "Female"],
e3e2a04c6   Neeraj Sharma   first commit
1415
1416
1417
1418
      AddUsercredentials: {},
      pagination: {
        rowsPerPage: 15
      },
b82d0d998   Neeraj Sharma   changes and modif...
1419
1420
1421
1422
      imageData: {},
      imageName: "",
      imageUrl: "",
      imageFile: "",
e3e2a04c6   Neeraj Sharma   first commit
1423
      nameRules: [v => !!v || " Full Name is required"],
b82d0d998   Neeraj Sharma   changes and modif...
1424
1425
1426
1427
1428
1429
1430
1431
1432
      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"],
      classRules: [v => !!v || " Class Name is required"],
506be6fd7   Neeraj Sharma   implemet dyamic i...
1433
      sectionRules:[v => !!v || " Section Name is required"],
b82d0d998   Neeraj Sharma   changes and modif...
1434
1435
1436
1437
1438
1439
1440
      genderRules: [v => !!v || " Select Gender is required"],
      fatherNameRules: [v => !!v || " Father Name is required"],
      fatheCellNoRules: [v => !!v || " father Cell Number  is required"],
      motherNameRules: [v => !!v || " Mother Name  is required"],
      motherCellNoRules: [v => !!v || " Mother Cell Number is required"],
      establishmentYearRules: [v => !!v || " Academic Year  is required"],
      errorMessages: "",
e3e2a04c6   Neeraj Sharma   first commit
1441
1442
      emailRules: [
        v => !!v || "E-mail is required",
b82d0d998   Neeraj Sharma   changes and modif...
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
        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"
e3e2a04c6   Neeraj Sharma   first commit
1654
1655
1656
1657
1658
1659
1660
1661
      ],
      headers: [
        {
          text: "No",
          align: "center",
          sortable: false,
          value: "No"
        },
79006bdcb   Neeraj Sharma   uplaod images all...
1662
        { text: "Profile Pic", value: "profilePicUrl", sortable: false, align: "center" },
e3e2a04c6   Neeraj Sharma   first commit
1663
        { text: "Name", value: "name", sortable: false, align: "center" },
b82d0d998   Neeraj Sharma   changes and modif...
1664
1665
1666
1667
1668
1669
1670
1671
        { text: "Email", value: "email", sortable: false, align: "center" },
        { text: "Dob", value: "dob", sortable: false, align: "center" },
        { text: "Gender", value: "gender", sortable: false, align: "center" },
        { text: "Father Name", value: "fatherName", sortable: false, align: "center" },
        { text: "Mother Name", value: "motherName", sortable: false, align: "center" },
        { text: "Academic Year", value: "establishmentYear", sortable: false, align: "center" },            
        { text: "Mobile No", value: "mobile", sortable: false, align: "center" },
        { text: "Action", value: "", sortable: false, align: "center" }
e3e2a04c6   Neeraj Sharma   first commit
1672
1673
1674
      ],
      desserts: [],
      editedIndex: -1,
b82d0d998   Neeraj Sharma   changes and modif...
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
      addStudents: {
        role: "STUDENT",
        name: "",
        email: "",
        date: "",
        city: "",
        pincode: "",
        country: "",
        permanentAddress: "",
        presentAddress: "",
        mobile: "",
        state: "",
        gender: "",
        fatherName: "",
        fatheCellNo: "",
        motherName: "",
        motherCellNo: "",
        select: "",
        selectSection: "",
99ffa9511   Neeraj Sharma   add ,view, and ed...
1694
1695
1696
1697
1698
        bloodGroup:"",
        allergies:"",
        medicalNotes:"",
        height:"",
        weight:"",
b82d0d998   Neeraj Sharma   changes and modif...
1699
1700
        establishmentYear: new Date().getFullYear()
      },
79006bdcb   Neeraj Sharma   uplaod images all...
1701
        selectStudents: {
99ffa9511   Neeraj Sharma   add ,view, and ed...
1702
        select: "",
79006bdcb   Neeraj Sharma   uplaod images all...
1703
1704
        selectSection: "",
        },
e3e2a04c6   Neeraj Sharma   first commit
1705
1706
1707
1708
      editedItem: {
        role: "STUDENT",
        name: "",
        email: "",
506be6fd7   Neeraj Sharma   implemet dyamic i...
1709
        dob: "",
b82d0d998   Neeraj Sharma   changes and modif...
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
        city: "",
        pincode: "",
        country: "",
        permanentAddress: "",
        presentAddress: "",
        mobile: "",
        state: "",
        gender: "",
        fatherName: "",
        fatheCellNo: "",
        motherName: "",
        motherCellNo: "",
        select: "",
        selectSection: "",
99ffa9511   Neeraj Sharma   add ,view, and ed...
1724
1725
1726
1727
1728
        bloodGroup:"",
        allergies:"",
        medicalNotes:"",
        height:"",
        weight:"",
b82d0d998   Neeraj Sharma   changes and modif...
1729
        establishmentYear: new Date().getFullYear()
e3e2a04c6   Neeraj Sharma   first commit
1730
1731
1732
1733
      },
      defaultItem: {
        role: "STUDENT",
        name: "",
b82d0d998   Neeraj Sharma   changes and modif...
1734
        email: ""
e3e2a04c6   Neeraj Sharma   first commit
1735
      },
b82d0d998   Neeraj Sharma   changes and modif...
1736
      userName: "",
e3e2a04c6   Neeraj Sharma   first commit
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
      items: [
        {
          href: "/changepassword",
          title: "Change Password",
          click: e => {
            console.log(e);
          }
        },
        {
          href: "#",
          title: "Logout",
          click: e => {
            window.getApp.$emit("APP_LOGOUT");
          }
        }
      ]
    }),
b82d0d998   Neeraj Sharma   changes and modif...
1754
1755
1756
    watch: {
      menu(val) {
        val && this.$nextTick(() => (this.$refs.picker.activePicker = "YEAR"));
e3e2a04c6   Neeraj Sharma   first commit
1757
      },
b82d0d998   Neeraj Sharma   changes and modif...
1758
1759
      menu1(val) {
        val && this.$nextTick(() => (this.$refs.picker.activePicker = "YEAR"));
e3e2a04c6   Neeraj Sharma   first commit
1760
      }
b82d0d998   Neeraj Sharma   changes and modif...
1761
1762
    },
    methods: {
506be6fd7   Neeraj Sharma   implemet dyamic i...
1763
1764
1765
1766
1767
      findStudents(){
       this.showLoader = true;
       http()
          .get(
            "/getStudentWithClass",
99ffa9511   Neeraj Sharma   add ,view, and ed...
1768
            { params: { classId: this.selectStudents.select, sectionId: this.selectStudents.selectSection} }
506be6fd7   Neeraj Sharma   implemet dyamic i...
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
          )
          .then(response => {
            this.desserts = response.data.data;
            this.showLoader = false;
            console.log("getSectionsList=====>", this.addSection);
          })
          .catch(err => {
            console.log("err====>", err);
            this.showLoader = false;
          });
      },
b82d0d998   Neeraj Sharma   changes and modif...
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
      getSections(_id) {
        var token = this.$store.state.token;
        http()
          .get(
            "/getSectionsList",
            { params: { classId: _id } },
            {
              headers: { Authorization: "Bearer " + token }
            }
          )
          .then(response => {
            this.addSection = response.data.data;
            console.log("getSectionsList=====>", this.addSection);
          })
          .catch(err => {
            // console.log("err====>", err);
            // this.$router.replace({ path: '/' });
          });
      },
79006bdcb   Neeraj Sharma   uplaod images all...
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
      getSection(_id) {
        var token = this.$store.state.token;
        http()
          .get(
            "/getSectionsList",
            { params: { classId: _id } },
            {
              headers: { Authorization: "Bearer " + token }
            }
          )
          .then(response => {
            this.addSection = response.data.data;
            console.log("getSectionsList=====>", this.addSection);
          })
          .catch(err => {
            // console.log("err====>", err);
            // this.$router.replace({ path: '/' });
          });
      },
b82d0d998   Neeraj Sharma   changes and modif...
1818
1819
1820
      pickFile() {
        this.$refs.image.click();
      },
506be6fd7   Neeraj Sharma   implemet dyamic i...
1821
1822
1823
      dates: function(date) {
        return moment(date).format("MMMM DD, YYYY");
      },
b82d0d998   Neeraj Sharma   changes and modif...
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
      onFilePicked(e) {
        // console.log(e)
        const files = e.target.files;
        this.imageData.upload = e.target.files[0];
        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);
            console.log("imageFile", this.imageFile);
          });
        } else {
          this.imageName = "";
          this.imageFile = "";
          this.imageUrl = "";
        }
      },
506be6fd7   Neeraj Sharma   implemet dyamic i...
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
      // getStudentList() {
      //   this.showLoader = true;
      //   var token = this.$store.state.token;
      //   http()
      //     .get("/getStudentsList", {
      //       headers: { Authorization: "Bearer " + token }
      //     })
      //     .then(response => {
      //       this.desserts = response.data.data;
      //       this.showLoader = false;
      //       // console.log("getStudentList=====>",this.desserts)
      //     })
      //     .catch(err => {
      //       // console.log("err====>", err);
      //       this.showLoader = false;
      //       this.$router.replace({ path: "/" });
      //     });
      // },
e3e2a04c6   Neeraj Sharma   first commit
1866
1867
1868
      editItem(item) {
        this.editedIndex = this.desserts.indexOf(item);
        this.editedItem = Object.assign({}, item);
33cfa4432   Neeraj Sharma   solve bugs J-date...
1869
1870
1871
1872
1873
1874
        // if(this.editedItem.dob != undefined){
        //     this.editedItem.dob = this.editedItem.dob.substring(0, 10) 
        // }else if(this.editedItem.dob = undefined){
        //     this.editedItem.dob = ''
        // }
        this.editedItem.dob = this.editedItem.dob != undefined ? this.editedItem.dob = this.editedItem.dob.substring(0, 10): this.editedItem.dob = ''
e3e2a04c6   Neeraj Sharma   first commit
1875
1876
1877
1878
1879
1880
1881
        this.dialog = true;
      },
      profile(item) {
        this.editedIndex = this.desserts.indexOf(item);
        this.editedItem = Object.assign({}, item);
        this.dialog1 = true;
      },
e3e2a04c6   Neeraj Sharma   first commit
1882
1883
1884
1885
1886
      deleteItem(item) {
        let deleteStudent = {
          studentId: item._id
        };
        http()
b82d0d998   Neeraj Sharma   changes and modif...
1887
1888
1889
1890
1891
1892
          .delete(
            "/deleteStudent",
            confirm("Are you sure you want to delete this?") && {
              params: deleteStudent
            }
          )
e3e2a04c6   Neeraj Sharma   first commit
1893
1894
1895
          .then(response => {
            // console.log("deleteUers",deleteStudent)
            if ((this.snackbar = true)) {
5f1d4b444   Neeraj Sharma   fix design and fi...
1896
              this.text = "Successfully delete Existing Student";
b82d0d998   Neeraj Sharma   changes and modif...
1897
            }
e3e2a04c6   Neeraj Sharma   first commit
1898
1899
1900
            this.getStudentList();
          })
          .catch(error => {
1c1942362   Neeraj Sharma   commit code Schoo...
1901
            // console.log(error);
e3e2a04c6   Neeraj Sharma   first commit
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
          });
      },
      activeTab(type) {
        switch (type) {
          case "existing":
            this.newActive = false;
            this.isActive = true;
            break;
  
          default:
            this.newActive = true;
            this.isActive = false;
            break;
        }
      },
e3e2a04c6   Neeraj Sharma   first commit
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
      close() {
        this.dialog = false;
        setTimeout(() => {
          this.editedItem = Object.assign({}, this.defaultItem);
          this.editedIndex = -1;
        }, 300);
      },
      close1() {
        this.dialog1 = false;
      },
e3e2a04c6   Neeraj Sharma   first commit
1927
1928
      submit() {
        if (this.$refs.form.validate()) {
1c1942362   Neeraj Sharma   commit code Schoo...
1929
          let addStudent = {
b82d0d998   Neeraj Sharma   changes and modif...
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
            name: this.addStudents.name,
            email: this.addStudents.email,
            role: this.addStudents.role,
            dob: this.addStudents.date,
            city: this.addStudents.city,
            pincode: this.addStudents.pincode,
            country: this.addStudents.country,
            permanentAddress: this.addStudents.permanentAddress,
            presentAddress: this.addStudents.presentAddress,
            mobile: this.addStudents.mobile,
            state: this.addStudents.state,
            gender: this.addStudents.gender,
            fatherName: this.addStudents.fatherName,
            fatherCellNo: this.addStudents.fatherCellNo,
            motherName: this.addStudents.motherName,
            motherCellNo: this.addStudents.motherCellNo,
            establishmentYear: this.addStudents.establishmentYear,
            classId: this.addStudents.select,
            sectionId: this.addStudents.selectSection,
99ffa9511   Neeraj Sharma   add ,view, and ed...
1949
1950
1951
1952
1953
            bloodGroup:this.addStudents.bloodGroup,
            allergies:this.addStudents.allergies,
            medicalNotes:this.addStudents.medicalNotes,
            height:this.addStudents.height,
            weight:this.addStudents.weight,
79006bdcb   Neeraj Sharma   uplaod images all...
1954
            upload:this.imageUrl
e3e2a04c6   Neeraj Sharma   first commit
1955
          };
5f1d4b444   Neeraj Sharma   fix design and fi...
1956
          this.loading = true;
e3e2a04c6   Neeraj Sharma   first commit
1957
          http()
1c1942362   Neeraj Sharma   commit code Schoo...
1958
            .post("/createStudent", addStudent)
e3e2a04c6   Neeraj Sharma   first commit
1959
            .then(response => {
99ffa9511   Neeraj Sharma   add ,view, and ed...
1960
              console.log(addStudent)
b82d0d998   Neeraj Sharma   changes and modif...
1961
              if ((this.snackbar = true)) {
5f1d4b444   Neeraj Sharma   fix design and fi...
1962
                this.text = "New Student added successfully";
e3e2a04c6   Neeraj Sharma   first commit
1963
              }
506be6fd7   Neeraj Sharma   implemet dyamic i...
1964
              // this.getStudentList();
b82d0d998   Neeraj Sharma   changes and modif...
1965
              this.clear();
5f1d4b444   Neeraj Sharma   fix design and fi...
1966
              this.loading = false;
e3e2a04c6   Neeraj Sharma   first commit
1967
1968
1969
            })
            .catch(error => {
              // console.log(error);
b82d0d998   Neeraj Sharma   changes and modif...
1970
1971
1972
              if ((this.snackbar = true)) {
                this.text = error.response.data.message;
              }
5f1d4b444   Neeraj Sharma   fix design and fi...
1973
              this.loading = false;
e3e2a04c6   Neeraj Sharma   first commit
1974
1975
1976
            });
        }
      },
b82d0d998   Neeraj Sharma   changes and modif...
1977
1978
      mail() {},
      download() {},
e3e2a04c6   Neeraj Sharma   first commit
1979
1980
1981
1982
      clear() {
        this.$refs.form.reset();
      },
      save() {
1c1942362   Neeraj Sharma   commit code Schoo...
1983
        let editStudent = {
b82d0d998   Neeraj Sharma   changes and modif...
1984
1985
1986
1987
            studentId:this.editedItem._id,
            name: this.editedItem.name,
            email: this.editedItem.email,
            role: this.editedItem.role,
506be6fd7   Neeraj Sharma   implemet dyamic i...
1988
            dob: this.editedItem.dob,
b82d0d998   Neeraj Sharma   changes and modif...
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
            city: this.editedItem.city,
            pincode: this.editedItem.pincode,
            country: this.editedItem.country,
            permanentAddress: this.editedItem.permanentAddress,
            presentAddress: this.editedItem.presentAddress,
            mobile: this.editedItem.mobile,
            state: this.editedItem.state,
            gender: this.editedItem.gender,
            fatherName: this.editedItem.fatherName,
            fatherCellNo: this.editedItem.fatherCellNo,
            motherName: this.editedItem.motherName,
            motherCellNo: this.editedItem.motherCellNo,
            establishmentYear: this.editedItem.establishmentYear,
            classId: this.editedItem.select,
            sectionId: this.editedItem.selectSection,
99ffa9511   Neeraj Sharma   add ,view, and ed...
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
            bloodGroup:this.editedItem.bloodGroup,
            allergies:this.editedItem.allergies,
            medicalNotes:this.editedItem.medicalNotes,
            height:this.editedItem.height,
            weight:this.editedItem.weight,
      }
      if(this.imageUrl){
        editStudent.upload = this.imageUrl
      }
        console.log("editStudent",editStudent);
e3e2a04c6   Neeraj Sharma   first commit
2014
        http()
1c1942362   Neeraj Sharma   commit code Schoo...
2015
          .put("/updateStudent", editStudent)
e3e2a04c6   Neeraj Sharma   first commit
2016
          .then(response => {
99ffa9511   Neeraj Sharma   add ,view, and ed...
2017
            console.log("editStudent",editStudent);
e3e2a04c6   Neeraj Sharma   first commit
2018
            if ((this.snackbar = true)) {
5f1d4b444   Neeraj Sharma   fix design and fi...
2019
              this.text = "Successfully Student Existing User";
e3e2a04c6   Neeraj Sharma   first commit
2020
            }
506be6fd7   Neeraj Sharma   implemet dyamic i...
2021
            this.findStudents();
99ffa9511   Neeraj Sharma   add ,view, and ed...
2022
            this.close();
e3e2a04c6   Neeraj Sharma   first commit
2023
2024
          })
          .catch(error => {
b82d0d998   Neeraj Sharma   changes and modif...
2025
            // console.log(error);
99ffa9511   Neeraj Sharma   add ,view, and ed...
2026
2027
2028
             if ((this.snackbar = true)) {
            this.text = error.response.data.statusText;
           }
e3e2a04c6   Neeraj Sharma   first commit
2029
          });
e3e2a04c6   Neeraj Sharma   first commit
2030
2031
2032
2033
2034
2035
2036
2037
2038
      },
      handleDrawerToggle() {
        window.getApp.$emit("APP_DRAWER_TOGGLED");
      },
      handleFullScreen() {
        Util.toggleFullScreen();
      }
    },
    mounted() {
506be6fd7   Neeraj Sharma   implemet dyamic i...
2039
      // this.getStudentList();
b82d0d998   Neeraj Sharma   changes and modif...
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
      var token = this.$store.state.token;
      http()
        .get("/getClassesList", {
          headers: { Authorization: "Bearer " + token }
        })
        .then(response => {
          this.addclass = response.data.data;
          // console.log("getClassesList=====>",this.addclass) 
        })
        .catch(err => {
          // console.log("err====>", err);
          this.$router.replace({ path: "/" });
        });
e3e2a04c6   Neeraj Sharma   first commit
2053
    },
b82d0d998   Neeraj Sharma   changes and modif...
2054
2055
2056
2057
  
    // console.log("Id",this.$store.state.id)
    // console.log("token",this.$store.state.token)
    computed: {
e3e2a04c6   Neeraj Sharma   first commit
2058
2059
2060
2061
2062
2063
2064
2065
      toolbarColor() {
        return this.$vuetify.options.extra.mainNav;
      }
    }
  };
  </script>
  <style scoped>
  .v-tabs__div {
b82d0d998   Neeraj Sharma   changes and modif...
2066
    text-transform: none;
e3e2a04c6   Neeraj Sharma   first commit
2067
2068
  }
  .v-input__prepend-outer {
b82d0d998   Neeraj Sharma   changes and modif...
2069
    margin-right: 0px !important;
e3e2a04c6   Neeraj Sharma   first commit
2070
2071
2072
2073
2074
  }
  .v-card__actions .v-btn {
    margin: 0 15px;
    min-width: 120px;
  }
b82d0d998   Neeraj Sharma   changes and modif...
2075
2076
2077
  .primary {
    background-color: #aaa !important;
    border-color: #aaa !important;
e3e2a04c6   Neeraj Sharma   first commit
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
  }
  h4 {
    background-repeat: no-repeat;
    padding: 8px;
    margin: auto;
    font-size: 25px;
  }
  #name {
    position: absolute;
    left: 100px;
    top: 17px;
  }
  #icon {
    position: absolute;
    right: 8px;
    top: 8px;
  }
  #m {
    position: relative;
    left: 135px;
    top: -15px;
  }
  #G {
    position: absolute;
    top: 38px;
    color: white;
  }
  #bt {
    position: relative;
    top: -20px;
    left: 115px;
  }
  #e {
    position: relative;
    top: 5px;
    right: -30px;
    height: 17px;
    cursor: pointer;
  }
  #d {
    position: relative;
    top: 5px;
    right: -70px;
    height: 17px;
    cursor: pointer;
  }
  #td {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
  }
  #dialog {
    height: 550px;
  }
  .active {
    background-color: black;
    color: white !important;
  }
  .activebtn {
    color: black !important;
  }
  #flex {
    height: 300px;
  }
b82d0d998   Neeraj Sharma   changes and modif...
2142
2143
  .top {
    margin-top: 100px;
e3e2a04c6   Neeraj Sharma   first commit
2144
  }
b82d0d998   Neeraj Sharma   changes and modif...
2145
2146
  .v-tabs__item a {
    font-size: 16px !important;
e3e2a04c6   Neeraj Sharma   first commit
2147
  }
b82d0d998   Neeraj Sharma   changes and modif...
2148
2149
2150
2151
  @media screen and (max-width: 769px) {
    .top {
      margin-top: 0 !important;
    }
e3e2a04c6   Neeraj Sharma   first commit
2152
2153
    .userSearch .v-icon {
      font-size: 20px !important;
b82d0d998   Neeraj Sharma   changes and modif...
2154
      margin-left: 20px;
e3e2a04c6   Neeraj Sharma   first commit
2155
2156
2157
    }
  }
  @media screen and (max-width: 380px) {
fc82ac667   Neeraj Sharma   fix design and re...
2158
2159
2160
     .pl-3 {
       padding-left: 0px !important;
    }
b82d0d998   Neeraj Sharma   changes and modif...
2161
    .right {
e3e2a04c6   Neeraj Sharma   first commit
2162
      float: none !important;
b82d0d998   Neeraj Sharma   changes and modif...
2163
2164
    }
    .subheading {
e3e2a04c6   Neeraj Sharma   first commit
2165
      font-size: 14px !important;
b82d0d998   Neeraj Sharma   changes and modif...
2166
2167
    }
    .v-card__actions .v-btn {
e3e2a04c6   Neeraj Sharma   first commit
2168
2169
      margin: 0 0px;
      min-width: 100px;
b82d0d998   Neeraj Sharma   changes and modif...
2170
2171
    }
    /* .searchIcon .v-icon {
e3e2a04c6   Neeraj Sharma   first commit
2172
2173
2174
      font-size: 20px;
      margin-left: 20px;
  } */
b82d0d998   Neeraj Sharma   changes and modif...
2175
    .subheading {
e3e2a04c6   Neeraj Sharma   first commit
2176
      font-size: 12px !important;
b82d0d998   Neeraj Sharma   changes and modif...
2177
2178
    }
    h5 {
e3e2a04c6   Neeraj Sharma   first commit
2179
      font-size: 13px;
b82d0d998   Neeraj Sharma   changes and modif...
2180
    }
e3e2a04c6   Neeraj Sharma   first commit
2181
  }
b82d0d998   Neeraj Sharma   changes and modif...
2182
2183
  .v-icon {
    font-size: 30px;
e3e2a04c6   Neeraj Sharma   first commit
2184
  }
b82d0d998   Neeraj Sharma   changes and modif...
2185
2186
2187
2188
2189
  @media screen and (min-width: 1270px) {
    .hide {
      display: none;
    }
    /* }
e3e2a04c6   Neeraj Sharma   first commit
2190
2191
2192
2193
2194
2195
2196
2197
2198
  @media screen and (max-width: 962px) {
  .imglogo{
      position: absolute;
      top: 13px;
      left: 13px !important;
      width: 70px;
      height: 24px;
  } */
  }
b82d0d998   Neeraj Sharma   changes and modif...
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
  @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;
    }
e3e2a04c6   Neeraj Sharma   first commit
2213
2214
  }
  </style>