1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-31 06:40:39 +00:00

[passwd change] improvement & clean css

This commit is contained in:
llj 2016-06-03 12:38:57 +08:00
parent ae2152548c
commit dd32561be5
2 changed files with 5 additions and 20 deletions

View File

@ -884,17 +884,6 @@ textarea:-moz-placeholder {/* for FF */
font-size:14px;
margin:5px 0 20px;
}
.new-narrow-panel .notice {
text-align: center;
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;
@ -1017,10 +1006,6 @@ textarea:-moz-placeholder {/* for FF */
.op-confirm button {
margin-right:8px;
}
/**** forms ****/
.field-feedback {
color:#666;
}
/**** simplemodal ****/
#basic-modal-content {
display:none;

View File

@ -9,11 +9,11 @@
{% block main_panel %}
<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 %}
<h2 class="hd">{% trans "Password Modification" %}</h2>
<form action="" method="post" class="con">{% csrf_token %}
{% if force_passwd_change %}
<p class="tip"><span class="icon-lightbulb" aria-hidden="true"></span> {% trans "Please update your password before continue." %}</p>
{% endif %}
<label for="id_old_password">{% trans "Current Password" %}</label>
{{ form.old_password }} {{ form.old_password.errors }}
<label for="id_new_password1">{% trans "New Password" %}</label>