style more account settings/password reset pages
This commit is contained in:
@ -4,17 +4,46 @@
|
||||
|
||||
{% block title %}{% trans "Set your new password" %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row">
|
||||
<div class="col-md-5">
|
||||
<form method="POST" action="{% url "account_password_reset_token" uidb36=uidb36 token=token %}">
|
||||
<legend>{% trans "Set your new password" %}</legend>
|
||||
<fieldset>
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<button type="submit" class="btn btn-primary">{% trans "Save" %}</button>
|
||||
</fieldset>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% block pagecss %}
|
||||
<style>
|
||||
label {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
color: #333;
|
||||
font-size: .875rem;
|
||||
}
|
||||
|
||||
.br {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
input {
|
||||
max-width: 80%;
|
||||
width: 80%;
|
||||
border: 0 none;
|
||||
padding: 0 10px;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
background: #fff;
|
||||
color: #666;
|
||||
border: 1px solid #e5e5e5;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="uk-flex uk-flex-center uk-margin-top">
|
||||
|
||||
<div class="uk-card uk-card-default uk-card-body">
|
||||
<form method="POST" action="{% url "account_password_reset_token" uidb36=uidb36 token=token %}">
|
||||
<legend class="uk-legend">{% trans "Set your new password" %}</legend>
|
||||
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
<div class="br">
|
||||
<button type="submit" class="uk-button uk-button-primary">{% trans "Save" %}</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user