Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
newr1/location_app/app/templates/login/forgot.html
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
88 lines (84 sloc)
3.64 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'base.html' %} | |
<!-- TITLE --> | |
{% block title %} Forgot Password {% endblock %} | |
<!-- JS --> | |
{% block basejs %} | |
{% endblock %} | |
<!-- CSS --> | |
{% block basecss %} | |
<link href="{{ url_for('static', filename='css/login/forgot.css') }}" rel="stylesheet" /> | |
{% endblock %} | |
<!-- BODY --> | |
{% block basebody %} | |
<div class="container"> | |
<div class="container_box"> | |
<div class="title"> | |
<p class="title_text shadow">Trackmaster</p> | |
</div> | |
<div class="forgot"> | |
<p class="forgot_text">Forgot Password</p> | |
</div> | |
<div class="form"> | |
<form action="{{url_for('login.forgot_password')}}" method="POST"> | |
<div class="form_inside"> | |
<div class="username"> | |
<p class="username_text">ID:</p><br> | |
<input type="text" name="username"> | |
{% if status == 'no_id' %} | |
<p class="error_text">Wrong ID</p> | |
{% elif status == 'empty_id' %} | |
<p class="error_text">Empty ID</p> | |
{% endif %} | |
</div> | |
<div class="dob"> | |
<p class="dob_text">Birthday:</p><br> | |
<div> | |
<select name="day" id="day"> | |
<option value="0" selected>Day</option> | |
{% for day in days %} | |
<option value="{{day}}">{{day}}</option> | |
{% endfor %} | |
</select> | |
<select name="month" id="month"> | |
<option value="0" selected>Month</option> | |
{% for month in months %} | |
<option value="{{month.1}}">{{month.0}}</option> | |
{% endfor %} | |
</select> | |
<select name="year" id="year"> | |
<option value="0" selected>Year</option> | |
{% for year in years %} | |
<option value="{{year}}">{{year}}</option> | |
{% endfor %} | |
</select> | |
</div> | |
{% if status == 'wrong_date' %} | |
<p class="error_text">Wrong Date</p> | |
{% elif status == 'empty_bday' %} | |
<p class="error_text">Empty Date</p> | |
{% endif %} | |
</div> | |
<div class="password"> | |
<p class="password_text">New Password:</p><br> | |
<input type="password" name="password"> | |
{% if status == 'empty_pass' %} | |
<p class="error_text">Empty Password</p> | |
{% endif %} | |
</div> | |
<div class="r_password"> | |
<input type="password" name="r_password"> | |
{% if status == 'empty_rpass' %} | |
<p class="error_text">Empty Repeat Password</p> | |
{% if status == 'pass_no_match' %} | |
<p class="error_text">Passwords don't match</p> | |
{% endif %} | |
</div> | |
<div class="forgot_button_area"> | |
<button class="forgot_button" type="submit">Reset Password</button> | |
</div> | |
</div> | |
</form> | |
</div> | |
</div> | |
</div> | |
{% endblock %} |