mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-02 07:47:32 +00:00
Improve Web UI for password change
This commit is contained in:
parent
c23bc3802f
commit
ae2152548c
@ -889,6 +889,12 @@ textarea:-moz-placeholder {/* for FF */
|
||||
margin-top:20px;
|
||||
color:#666;
|
||||
}
|
||||
.new-narrow-panel-tip {
|
||||
margin-top: 20px;
|
||||
text-align: center;
|
||||
color:#666;
|
||||
font-size: 13px;
|
||||
}
|
||||
/**** wide panel ****/ /* e.g. repo decrypt page */
|
||||
.wide-panel {
|
||||
width: 928px;
|
||||
|
@ -7,6 +7,7 @@
|
||||
|
||||
<div class="text-panel">
|
||||
<p>{% trans "Your password has been changed successfully." %}</p>
|
||||
<p><a class="btn-link big-btn-link" href="{{ SITE_ROOT }}accounts/login/">{% trans "Log in again" %}</a></p>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -7,12 +7,12 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block main_panel %}
|
||||
{% if force_passwd_change %}
|
||||
<p class="alc">{% trans "Please update your password before continue." %} </p>
|
||||
{% endif %}
|
||||
|
||||
<div class="new-narrow-panel">
|
||||
<h2 class="hd">{% trans "Password Modification" %}</h2>
|
||||
{% if force_passwd_change %}
|
||||
<p class="new-narrow-panel-tip"><span class="icon-lightbulb" aria-hidden="true"></span> {% trans "Please update your password before continue." %} </p>
|
||||
{% endif %}
|
||||
<form action="" method="post" class="con">{% csrf_token %}
|
||||
<label for="id_old_password">{% trans "Current Password" %}</label>
|
||||
{{ form.old_password }} {{ form.old_password.errors }}
|
||||
|
Loading…
Reference in New Issue
Block a user