diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/modal.ejs | 1 | ||||
| -rw-r--r-- | views/partials/sign-in.ejs | 12 |
2 files changed, 9 insertions, 4 deletions
diff --git a/views/modal.ejs b/views/modal.ejs index 4550aff..6ed3fa1 100644 --- a/views/modal.ejs +++ b/views/modal.ejs @@ -19,5 +19,6 @@ </div> </body> [[ include partials/scripts ]] +<script id="opt" type="text/json">[[- JSON.stringify(opt) ]]</script> <script>window.isModalView = true</script> </html> diff --git a/views/partials/sign-in.ejs b/views/partials/sign-in.ejs index 11b930f..3f05fff 100644 --- a/views/partials/sign-in.ejs +++ b/views/partials/sign-in.ejs @@ -27,7 +27,8 @@ <div class="errorList"></div> </div> <br><br> - <a data-role="show-signup-modal" href="#">Make a new account</a> + <a data-role="show-signup-modal" href="#">Make a new account</a><br> + <a data-role="forgot-password" href="#">Forgot your password?</a> </form> </div> </div> @@ -74,9 +75,11 @@ </div> </div> -<div class="mediaDrawer fixed animate forgotPassword"> +<div class="mediaDrawer fixed animate passwordForgot"> + <span class="close">X</span> <div class="box"> <form id="forgotPw" method="post" autocomplete="off"> + <input type="hidden" name="_csrf" value="[[- token ]]"> <li> Forgot your password? Enter the email address you used to sign up and we can reset it for you. @@ -98,9 +101,10 @@ </div> </div> -<div class="mediaDrawer fixed animate resetPassword"> +<div class="mediaDrawer fixed animate passwordReset"> <div class="box"> <form id="resetPassword" method="post"> + <input type="hidden" name="_csrf" value="[[- token ]]"> <input type="hidden" name="nonce"> Please reset your password. <br><br> @@ -129,7 +133,7 @@ <div class="mediaDrawer fixed animate usernameTaken"> <div class="box"> <form id="usernameTaken" method="post" autocomplete="off"> - We're sorry, the username <b>[[- username ]]</b> is already being used. + We're sorry, the username <b id="usernameThatIsTaken"></b> is already being used. <br><br> Please choose another username. <br><br> |
