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> </div>
<hr> <hr>
<div class="text-center"> <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" %} {% trans "Delete Account" %}
</button> </button>
</div> </div>

View file

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

View file

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

View file

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