Commit e8965626ff9107d062a6e4561ae04e1d7bbba7c7
1 parent
d5fcb1cd16
Exists in
master
and in
3 other branches
set login design and issues solve in other pages
Showing
3 changed files
with
11 additions
and
7 deletions
Show diff stats
src/pages/Authentication/Login.vue
... | ... | @@ -12,22 +12,22 @@ |
12 | 12 | >{{ text }}</v-snackbar> |
13 | 13 | <v-layout align-center justify-center> |
14 | 14 | <v-flex xs12 sm10 md6 lg4> |
15 | - <v-toolbar dense flat class="transparent mb-4"> | |
15 | + <!-- <v-toolbar dense flat class="transparent mb-4"> | |
16 | 16 | <v-toolbar-items class="mx-auto"> |
17 | 17 | <img src="/static/icon.png" height="40" width="140" alt="logo" class="logo" /> |
18 | - <!-- <h3 class="white--text my-3 ml-5 logoSchool">School-Management</h3> --> | |
18 | + <h3 class="white--text my-3 ml-5 logoSchool">School-Management</h3> | |
19 | 19 | </v-toolbar-items> |
20 | - </v-toolbar> | |
20 | + </v-toolbar> --> | |
21 | 21 | |
22 | 22 | <v-card class="elevation-1 pa-1 card" style="background-color: #7852cc" dark> |
23 | 23 | <img |
24 | 24 | src="/static/intrackIllustration.png" |
25 | 25 | class="mx-auto logoSchool" |
26 | 26 | style="display:block" |
27 | - width="400" | |
27 | + width="300" | |
28 | 28 | /> |
29 | 29 | <v-card-text align-center justify-center> |
30 | - <v-toolbar-title class="text-xs-center my-4 subheadline">SCHOOL LOGIN</v-toolbar-title> | |
30 | + <v-toolbar-title class="text-xs-center subheadline">SCHOOL LOGIN</v-toolbar-title> | |
31 | 31 | <v-flex xs12 sm12 md12 lg12> |
32 | 32 | <v-form ref="form" v-model="valid" lazy-validation> |
33 | 33 | <label class="title">Email</label> | ... | ... |
src/pages/Exam/examSchedule.vue
... | ... | @@ -184,7 +184,7 @@ |
184 | 184 | <v-flex xs12> |
185 | 185 | <v-card-actions> |
186 | 186 | <v-spacer></v-spacer> |
187 | - <v-btn round dark @click="save" class="add-button">Save</v-btn> | |
187 | + <v-btn round dark @click="update" class="add-button">Save</v-btn> | |
188 | 188 | </v-card-actions> |
189 | 189 | </v-flex> |
190 | 190 | </v-layout> |
... | ... | @@ -843,7 +843,7 @@ export default { |
843 | 843 | this.disable = false; |
844 | 844 | this.loading = false; |
845 | 845 | }, |
846 | - save() { | |
846 | + update() { | |
847 | 847 | this.editedItem.scheduleId = this.editedItem._id; |
848 | 848 | http() |
849 | 849 | .put("/updateSchedule", this.editedItem) | ... | ... |
src/pages/Mark/markDistribution.vue
... | ... | @@ -318,11 +318,15 @@ export default { |
318 | 318 | .then(response => { |
319 | 319 | this.snackbar = true; |
320 | 320 | this.text = "Successfully Edit Notification"; |
321 | + this.color = "green"; | |
321 | 322 | this.getMarkDistributions(); |
322 | 323 | this.close(); |
323 | 324 | }) |
324 | 325 | .catch(error => { |
325 | 326 | console.log(error); |
327 | + this.snackbar = true; | |
328 | + this.text = error.response.data.message; | |
329 | + this.color = "red"; | |
326 | 330 | }); |
327 | 331 | }, |
328 | 332 | displaySearch() { | ... | ... |