Commit 3cb6b93c authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

improve xs screen

parent 05080c99
......@@ -7,15 +7,15 @@
{% block page_title %}{%trans "Login"%}{% endblock %}
{% block content %}
<div class="col-xs-12 col-12 col-sm-10 col-sm-offset-1 offset-sm-1 col-md-8 col-md-offset-2 offset-md-2 col-lg-6 col-lg-offset-3 offset-lg-3 col-xl-4 col-xl-offset-4 offset-xl-4 col-xxl-2">
<div class="col-xs-12 col-12 col-sm-10 col-sm-offset-1 offset-sm-1 col-md-8 col-md-offset-2 offset-md-2 col-lg-6 col-lg-offset-3 offset-lg-3 col-xl-4 col-xl-offset-4 offset-xl-4 col-xxl-2 d-flex flex-column d-sm-block">
<form method="post">
{% csrf_token %}
{{ form|crispy }}
<button class="btn btn-primary full-width" type="submit">{%trans "Login"%}</button>
<button class="btn btn-primary w-100" type="submit">{%trans "Login"%}</button>
</form>
<br/>
<hr/>
<a href="{% url 'basetheme_bootstrap:signup' %}{%if next%}?next={{next}}{%endif%}" role="button" class="btn btn-default btn-outline-primary full-width">{%trans "Create account"%}</a>
<a href="{% url 'basetheme_bootstrap:password_reset' %}" role="button" class="btn btn-default btn-outline-primary full-width pull-right float-right">{%trans "Reset my password"%}</a>
<hr class="d-none flex-column d-sm-block"/>
<a href="{% url 'basetheme_bootstrap:signup' %}{%if next%}?next={{next}}{%endif%}" role="button" class="btn btn-default btn-outline-primary mb-4 mb-sm-0">{%trans "Create account"%}</a>
<a href="{% url 'basetheme_bootstrap:password_reset' %}" role="button" class="btn btn-default btn-outline-primary pull-right float-right">{%trans "Reset my password"%}</a>
</div>
{% endblock %}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment