buttons block

This commit is contained in:
wcolmenares 2019-04-16 11:55:11 -04:00
parent 942301d94d
commit 7848f07252
4 changed files with 14 additions and 11 deletions

View file

@ -27,7 +27,7 @@
</div>
<hr>
<div class="text-center">
<button type="submit" class="btn btn-danger btn-block">
<button type="submit" class="btn choicered-btn btn-block">
{% trans "Delete Account" %}
</button>
</div>

View file

@ -21,7 +21,7 @@
{% endfor %}
<p class="red">{{form.non_field_errors|striptags}}</p>
<div class="text-center">
<button type="submit" class="btn choice-btn">
<button type="submit" class="btn choice-btn btn-block">
{% trans "Log in" %}
</button>
</div>

View file

@ -40,9 +40,10 @@
<input type="text" name="email" class="form-control" placeholder="Email" title="" required="" id="email">
</div>
<p class="red">{{form.non_field_errors|striptags}}</p>
<div class="text-center">
<button type="submit" class="btn choice-btn">
<button type="submit" class="btn choice-btn btn-block">
{% trans "Register" %}
</button>
</div>

View file

@ -11,15 +11,17 @@
<div class="auth-bg"></div>
<div class="auth-center">
<div class="auth-content">
<div class="auth-box"><br><br>
<div class="text-center">
<h1 class="section-heading allcaps">{% trans "Welcome," %} {{user}}</h1><br><br>
<a class="btn choice-btn btn-block" href="{% url 'change_data' %}" role="button">Change your userdata</a><br>
<div class="auth-box">
<h1 class="section-heading allcaps">{% trans "Welcome," %} {{user}}</h1><br><br>
<form class="form">
<a class="btn choice-btn btn-block" href="{% url 'change_data' %}" role="button">{% trans "Change your userdata" %}</a><br>
<a class="btn choice-btn btn-block" href="{% url 'change_password' %}" role="button">Change your password</a><br>
<a class="btn btn-danger btn-block" href="{% url 'logout' %}" role="button">{% trans "Logout" %}</a><br><br>
<br><br><br><br>
<hr>
<a class="text-center" href="{% url 'account_delete' %}">Delete your account</a><br>
<a class="btn choicered-btn btn-block" href="{% url 'logout' %}" role="button">{% trans "Logout" %}</a><br><br>
</form>
<br>
<hr>
<div class="text-center">
<a href="{% url 'account_delete' %}">Delete your account</a><br>
</div>
</div>
</div>