require login
This commit is contained in:
@@ -3,17 +3,20 @@
|
||||
{% block title %}Bench Coach Home{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post" action="{% url "login" %}">
|
||||
{% csrf_token %}
|
||||
<div class="text-center d-flex flex-column justify-content-center align-items-center mb-4">
|
||||
<form style="width: 100%; max-width: 330px; padding: 15px; margin: 0 auto;"
|
||||
method="post" action="{% url "login" %}">
|
||||
{% csrf_token %}
|
||||
|
||||
<header>Login</header>
|
||||
<label>Username <span>*</span></label>
|
||||
<input type="text" name="username" placeholder="Username" required="" />
|
||||
<div class="help">At least 5 character</div>
|
||||
<label>Password <span>*</span></label>
|
||||
<input type="password" name="password" placeholder="Password" required="" />
|
||||
<div class="help">Use upper and lowercase letters as well</div>
|
||||
<button type="submit">Login</button>
|
||||
<img class="mb-4" src="{% static "benchcoach.svg" %}" width="72" height="72"/>
|
||||
<h3>Please Sign In</h3>
|
||||
<input class="form-control" type="text" name="username" placeholder="Username" required=""
|
||||
style="margin-bottom: -1px; border-bottom-right-radius: 0; border-bottom-left-radius: 0;"/>
|
||||
<input class="form-control" type="password" name="password" placeholder="Password" required=""
|
||||
style="margin-bottom: 10px; border-top-left-radius: 0; border-top-right-radius: 0;"/>
|
||||
<button class="btn btn-primary btn-lg btn-block" type="submit">Login</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user