diff options
Diffstat (limited to '')
-rw-r--r-- | ctrack/templates/account/login.html | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/ctrack/templates/account/login.html b/ctrack/templates/account/login.html index c9e292e..570ba2e 100644 --- a/ctrack/templates/account/login.html +++ b/ctrack/templates/account/login.html @@ -1,29 +1,30 @@ {% extends "account/base.html" %} {% load crispy_forms_tags %} +{% load static %} {% block head_title %}Sign In{% endblock %} {% block inner %} - <div class="container"> - <div class="col-md-12 my-3 p-3 border border-primary rounded"> - <div class="row"> - <div class="col-md-12"> - <h2>Log in</h2> - <form class="login" method="POST" action="{% url 'account_login' %}"> - {% csrf_token %} - {{ form|crispy }} - {% if redirect_field_value %} - <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" /> - {% endif %} - <a class="button secondaryAction" href="{% url 'account_reset_password' %}">Forgot Password?</a> - <button class="primaryAction btn btn-primary" id="sign_in_button" type="submit">Sign In</button> - </form> - </div> - </div> + <div class="container"> + <div class="col-md-9 my-3 p-3 border border-muted rounded"> + <div class="row"> + <div class="col-md-12"> + <form class="login" method="POST" action="{% url 'account_login' %}"> + {% csrf_token %} + <img class="mb-4 mx-auto text-center" src="{% static "images/ctrack_logo.png" %}" alt="" width="348" height="122"> + {{ form|crispy }} + {% if redirect_field_value %} + <input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}"/> + {% endif %} + <a class="button secondaryAction" href="{% url 'account_reset_password' %}">Forgot Password?</a> + <button class="primaryAction btn btn-primary" id="sign_in_button" type="submit">Sign In</button> + </form> </div> + </div> </div> + </div> {% endblock %} |