File tree Expand file tree Collapse file tree 5 files changed +31
-30
lines changed Expand file tree Collapse file tree 5 files changed +31
-30
lines changed Original file line number Diff line number Diff line change 11<template lang="html">
22 {{#extended}}
3- <router-view id =" app" ></router-view >
3+ <router-view id =" app" / >
44 {{else}}
5- <h1>\{{ hello }}</h1>
5+ <h1 >\{{ hello }}</h1>
66 {{/extended}}
77</template >
88
@@ -17,9 +17,9 @@ export default {
1717 created () {
1818 // Boot Application
1919 this .$store .dispatch (' async/syncLoopback' );
20- }
20+ },
2121 {{/ extended}}
22- }
22+ };
2323 </script >
2424
2525<style {{#extended }}lang="scss"{{else}}lang="css"{{/extended}}>
Original file line number Diff line number Diff line change 99</template >
1010
1111<script >
12- import HeaderContainer from ' ./containers/HeaderContainer.vue' ;
13-
1412// HelloWorld
1513import HelloWorld from ' @/components/HelloWorld/HelloWorld.vue' ;
14+ import HeaderContainer from ' ./containers/HeaderContainer.vue' ;
1615
1716export default {
1817 components: {
Original file line number Diff line number Diff line change 1010 <div class =" form-group" >
1111 <label for =" email" >Email</label >
1212 <input
13+ id =" email"
14+ v-model =" email"
1315 type =" email"
1416 class =" form-control"
15- id =" email"
1617 aria-describedby =" emailHelp"
1718 placeholder =" Insert your email"
18- v-model =" email"
1919 required >
2020 </div >
2121 <div class =" form-group" >
2222 <label for =" senha" >Password</label >
2323 <input
24+ id =" senha"
25+ v-model =" password"
2426 type =" password"
2527 class =" form-control"
26- id =" senha"
2728 placeholder =" Insert your password"
28- v-model =" password"
2929 required >
3030 </div >
3131 <div
32+ v-if =" error"
3233 class =" alert alert-danger"
33- role =" alert"
34- v-if =" error" >\{{ error.message }}</div >
34+ role =" alert" >\{{ error.message }}</div >
3535 <div class =" flex" >
3636 <a
3737 class =" link"
38- @click.prevent = " $refs.forgotPassword.show() "
39- href = " # " >
38+ href = " # "
39+ @click.prevent = " $refs.forgotPassword.show() " >
4040 Forgot your password?
4141 </a >
4242 <button
7373 \{{ recoverError.message }}
7474 </b-alert >
7575 <input
76+ ref =" recoverEmail"
77+ v-model =" recoverEmail"
78+ required
7679 type =" email"
7780 class =" form-control"
78- ref =" recoverEmail"
7981 placeholder =" Insert your email"
80- v-model =" recoverEmail"
81- @keydown.enter =" sendRecoverEmail"
82- required >
82+ @keydown.enter =" sendRecoverEmail" >
8383 </form >
8484 </b-modal >
8585
@@ -136,7 +136,6 @@ export default {
136136 },
137137 sendRecoverEmail () {
138138 const form = this .$refs .forgotPasswordForm ;
139- const email = this .$refs .recoverEmail ;
140139
141140 this .recoverError = null ;
142141 if (form .checkValidity ()) {
@@ -154,7 +153,9 @@ export default {
154153 this .recoverError = err;
155154 });
156155 } else {
157- this .recoverError = {message: ' Please, check the inserted email and try again' };
156+ this .recoverError = {
157+ message: ' Please, check the inserted email and try again' ,
158+ };
158159 }
159160 },
160161 },
Original file line number Diff line number Diff line change 1111 class =" form-group" >
1212 <label for =" senha" >Old password</label>
1313 <input
14+ id =" senha"
15+ v-model =" password"
1416 type =" password"
1517 class =" form-control"
16- id =" senha"
1718 placeholder =" Insert the old password"
18- v-model =" password"
1919 required >
2020 </div>
2121 <div class =" form-group" >
2222 <label for =" senha-nova1" >New password</label>
2323 <input
24+ id =" senha-nova1"
25+ v-model =" passwordNew1"
2426 type =" password"
2527 class =" form-control"
26- id =" senha-nova1"
2728 placeholder =" Insert the new password"
28- v-model =" passwordNew1"
2929 required >
3030 </div>
3131 <div class =" form-group" >
3232 <label for =" senha-nova2" >Confirmation</label>
3333 <input
34+ id =" senha-nova2"
35+ v-model =" passwordNew2"
3436 type =" password"
3537 class =" form-control"
36- id =" senha-nova2"
3738 placeholder =" Confirm the new password"
38- v-model =" passwordNew2"
3939 required >
4040 </div>
4141 <div
42+ v-if =" error"
4243 class =" alert alert-danger"
43- role =" alert"
44- v-if =" error" >\{{ error.message }}</div>
44+ role =" alert" >\{{ error.message }}</div>
4545 <div class =" flex" >
4646 <button
4747 class =" btn btn-danger"
7474</template >
7575
7676<script >
77+ /* eslint-disable camelcase */
7778export default {
7879 props: {
7980 access_token: {
Original file line number Diff line number Diff line change 1414 </b-navbar-brand>
1515
1616 <b-collapse
17- is-nav
18- id = " nav_collapse " >
17+ id = " nav_collapse "
18+ is-nav >
1919 <b-navbar-nav class =" ml-auto" >
2020 <b-nav-item :to =" {name: 'profile'}" >CHANGE PASSWORD</b-nav-item>
2121 <b-nav-item @click =" onLogoutClick" >LOG OUT</b-nav-item>
You can’t perform that action at this time.
0 commit comments