12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!-- 宣告我們要套用模板 -->
- {% extends "sign_in_base.html" %}
- {% block script %}
- <script src="../static/js/reset_pwd1.js"></script>
- {% endblock %}
- {% block style %}
- <style>
- .form-signin {
- max-width: 330px;
- padding: 15px;
- }
- .form-signin .form-floating:focus-within {
- z-index: 2;
- }
- .form-signin input[type="email"] {
- margin-bottom: -1px;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- }
- .form-signin input[type="password"] {
- margin-bottom: 10px;
- border-top-left-radius: 0;
- border-top-right-radius: 0;
- }
- </style>
- {% endblock %}
- {% block main %}
- <form method="post" action="/reset_password">
- <img class="mb-4" src="../static/img/ALMIGHTY_RAY.jpg" alt="" >
- <img class="mb-4" src="../static/img/SKYAI.jpg" alt="" >
- <h1 class="h3 mb-3 fw-normal">Reset password</h1>
- <h1 class="h5 mb-5 fw-normal">write your email address</h1>
- <div class="form-floating">
- <input type="email" class="form-control" id="email" name="email" placeholder="信箱/Email" oninput="setCustomValidity('');" onchange="$.get('/check_email', 'email='+document.getElementById('email').value,function(resText){
- if(resText.pass==''){
- setCustomValidity('信箱錯誤');
- }
- },'json');"required>
- <label for="email">信箱/Email</label>
- </div>
- <div class="form-floating">
- <span class="wrong-span"></span>
- </div>
- <div class="checkbox mb-3">
- <label>
- </label>
- </div>
- <button class="w-40 btn btn-lg btn-secondary" type="submit">Confirm</button>
- <button class="w-40 btn btn-lg btn-secondary" type="button" onclick="Login();">Cancel</button>
- </form>
- {% endblock %}
|