12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!DOCTYPE html>
- <html xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:th="http://www.thymeleaf.org" layout:decorate="~{layout/layout}">
- <head>
- <title>Register Success</title>
- <script src="/js/user/reset-password.js" defer></script>
- </head>
- <body>
- <div layout:fragment="content" class="ui container" id="app">
- <br />
- <div class="ui centered grid">
- <div class="eight wide column">
- <div v-if="!sent">
- <h2 class="ui header">Reset Password</h2>
- <p>
- If you've forgotten your password you can request a to change it. An email will be sent to you with a link and validation code to
- allow the request to take effect.
- </p>
- <form class="ui form" id="reset-password-form">
- <input type="hidden" name="type" value="password" />
- <div class="field">
- <label>Username</label>
- <input type="text" name="username" placeholder="username" />
- </div>
- <div class="field">
- <label>Password</label>
- <input type="password" name="password1" placeholder="password" />
- </div>
- <div class="field">
- <label>Password (again)</label>
- <div class="ui input">
- <input type="password" name="password2" placeholder="password (again)" />
- </div>
- </div>
- </form>
- <br />
- <button class="ui green button" @click="sendRequest()">Send Request</button>
- </div>
- <div v-else>
- <div class="ui success message">
- <h3 class="ui header">Email Sent</h3>
- <p>
- A validation email has been sent to your email address. Please check your email.
- </p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- </html>
|