Blame view
src/pages/forgetpassword.vue
2.84 KB
93a68cfa1
|
1 2 |
<template> <v-app id="login"> |
07095d4d8
|
3 |
<v-toolbar color="grey lighten"> |
93a68cfa1
|
4 |
<v-toolbar-items> |
07095d4d8
|
5 |
<img src="/static/ana@2x.png" height="36" alt="ana" /> |
93a68cfa1
|
6 7 8 9 10 |
</v-toolbar-items> </v-toolbar> <v-content> <v-container fluid fill-height> <v-layout align-center justify-center> |
04e3fbc56
|
11 |
<v-flex xs12 sm8 md6 lg6> |
93a68cfa1
|
12 13 14 15 16 17 18 |
<v-toolbar color="black" dark> <v-spacer></v-spacer> <v-toolbar-title>Forget Password</v-toolbar-title> <v-spacer></v-spacer> </v-toolbar> |
04e3fbc56
|
19 |
<v-card class="elevation-1 pa-1"> |
93a68cfa1
|
20 |
<v-card-text> |
07095d4d8
|
21 |
|
04e3fbc56
|
22 23 24 |
<h5 class="text-md-center"> Not to Worry! Enter to your registered Email ID. </h5> <h5 class="text-md-center"> We'll send you a reset.</h5> <v-flex xs12 sm8 md6 lg6 offset-xs3> |
4413a8d93
|
25 26 27 28 29 30 31 32 33 34 35 |
<v-form class="mt-4"> <div class="custom-input-align"> <v-text-field class="text-md-center" v-validate="'required|email'" v-model="email" :error-messages="errors.collect('email')" label="Enter Your email ID" data-vv-name="email" required ></v-text-field> </div> |
93a68cfa1
|
36 |
|
04e3fbc56
|
37 |
</v-form></v-flex> |
93a68cfa1
|
38 39 |
</v-card-text> <v-card-actions> |
07095d4d8
|
40 |
|
93a68cfa1
|
41 42 43 |
<v-flex text-sm-center> |
4413a8d93
|
44 45 |
<!-- <h5> You will recieve an email to continue</h5> --> <v-btn round class="mt-1" color="black" dark large @click="login">Send Request</v-btn></v-flex> |
93a68cfa1
|
46 |
</v-card-actions> |
04e3fbc56
|
47 48 49 50 51 52 53 54 55 56 57 58 59 60 |
<v-snackbar :timeout="timeout" v-model="snackbar" color="green" > {{ text }} <v-icon flat @click="snackbar = false" > close </v-icon> </v-snackbar> |
93a68cfa1
|
61 62 63 64 65 |
</v-card> </v-flex> </v-layout> </v-container> </v-content> |
04e3fbc56
|
66 |
<v-footer class="pa-4" color="grey darken-2"> |
93a68cfa1
|
67 68 69 70 71 72 73 |
</v-footer> </v-app> </template> <script> export default { data: () => ({ |
04e3fbc56
|
74 75 76 |
text: 'Link send to your Email address', snackbar: false, timeout: 1000, |
93a68cfa1
|
77 |
loading: false, |
04e3fbc56
|
78 |
email: '' |
93a68cfa1
|
79 80 81 82 |
}), methods: { login () { |
04e3fbc56
|
83 84 |
// this.loading = true; this.snackbar = true; |
93a68cfa1
|
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 |
setTimeout(() => { this.$router.push('/'); }, 1000); } } }; </script> <style scoped lang="css"> #login { height: 50%; width: 100%; position: absolute; top: 0; left: 0; content: ""; z-index: 0; } |
04e3fbc56
|
103 104 105 106 107 108 109 110 |
img{ position:absolute; top:13px; left:50px; } .v-btn--large { padding: 0px 74px; } |
93a68cfa1
|
111 |
</style> |