mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-30 04:25:47 +00:00
modified pwd_change
This commit is contained in:
parent
e24f17abbb
commit
ed41db3206
@ -96,11 +96,14 @@ button {
|
|||||||
margin:0;
|
margin:0;
|
||||||
}
|
}
|
||||||
label { display: inline-block; margin:2px 0px; }
|
label { display: inline-block; margin:2px 0px; }
|
||||||
#user-add-form label {
|
#user-add-form label,
|
||||||
|
.reg label,
|
||||||
|
.pwd_change label {
|
||||||
width:5em;
|
width:5em;
|
||||||
text-align:right;
|
text-align:right;
|
||||||
}
|
}
|
||||||
#user-add-form .submit {
|
#user-add-form .submit,
|
||||||
|
.reg .submit {
|
||||||
margin-left:5em;
|
margin-left:5em;
|
||||||
}
|
}
|
||||||
.login .submit {
|
.login .submit {
|
||||||
@ -109,12 +112,11 @@ label { display: inline-block; margin:2px 0px; }
|
|||||||
.login .error {
|
.login .error {
|
||||||
margin:3px 0 0 3em;
|
margin:3px 0 0 3em;
|
||||||
}
|
}
|
||||||
.reg label {
|
.pwd_change label {
|
||||||
width:5em;
|
width:6em;
|
||||||
text-align:right;
|
|
||||||
}
|
}
|
||||||
.reg .submit {
|
.pwd_change .submit {
|
||||||
margin-left:5em;
|
margin-left:6em;
|
||||||
}
|
}
|
||||||
/* form */
|
/* form */
|
||||||
/* forms */
|
/* forms */
|
||||||
|
@ -2,16 +2,14 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
{% block title %}{% trans 'Password change' %}{% endblock %}
|
{% block title %}{% trans 'Password change' %}{% endblock %}
|
||||||
{% block main_panel %}
|
{% block main_panel %}
|
||||||
<div class="pwd_change">
|
|
||||||
<h2>{% trans 'Password change' %}</h2>
|
<h2>{% trans 'Password change' %}</h2>
|
||||||
<form action="" method="post">
|
<form action="" method="post" class="pwd_change">
|
||||||
|
<label for="id_old_password">当前密码:</label>{{ form.old_password }}<br />
|
||||||
{{ form.old_password.errors }}
|
{{ form.old_password.errors }}
|
||||||
<p><label for="id_old_password">当前密码:</label>{{ form.old_password }}</p>
|
<label for="id_new_password1">新密码:</label>{{ form.new_password1 }}<br />
|
||||||
{{ form.new_password1.errors }}
|
{{ form.new_password1.errors }}
|
||||||
<p><label for="id_new_password1">新密码:</label>{{ form.new_password1 }}</p>
|
<label for="id_new_password2">新密码确认:</label>{{ form.new_password2 }}<br />
|
||||||
{{ form.new_password2.errors }}
|
{{ form.new_password2.errors }}
|
||||||
<p><label for="id_new_password2">新密码确认:</label>{{ form.new_password2 }}</p>
|
<input type="submit" value="提交" class="submit" />
|
||||||
<p><input type="submit" value="提交" class="submit" /></p>
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user