mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-01 07:10:55 +00:00
[passwd change] improvement & clean css
This commit is contained in:
parent
ae2152548c
commit
dd32561be5
@ -884,17 +884,6 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
font-size:14px;
|
font-size:14px;
|
||||||
margin:5px 0 20px;
|
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 ****/ /* e.g. repo decrypt page */
|
||||||
.wide-panel {
|
.wide-panel {
|
||||||
width: 928px;
|
width: 928px;
|
||||||
@ -1017,10 +1006,6 @@ textarea:-moz-placeholder {/* for FF */
|
|||||||
.op-confirm button {
|
.op-confirm button {
|
||||||
margin-right:8px;
|
margin-right:8px;
|
||||||
}
|
}
|
||||||
/**** forms ****/
|
|
||||||
.field-feedback {
|
|
||||||
color:#666;
|
|
||||||
}
|
|
||||||
/**** simplemodal ****/
|
/**** simplemodal ****/
|
||||||
#basic-modal-content {
|
#basic-modal-content {
|
||||||
display:none;
|
display:none;
|
||||||
|
@ -9,11 +9,11 @@
|
|||||||
{% block main_panel %}
|
{% block main_panel %}
|
||||||
|
|
||||||
<div class="new-narrow-panel">
|
<div class="new-narrow-panel">
|
||||||
<h2 class="hd">{% trans "Password Modification" %}</h2>
|
<h2 class="hd">{% trans "Password Modification" %}</h2>
|
||||||
{% if force_passwd_change %}
|
<form action="" method="post" class="con">{% csrf_token %}
|
||||||
<p class="new-narrow-panel-tip"><span class="icon-lightbulb" aria-hidden="true"></span> {% trans "Please update your password before continue." %} </p>
|
{% if force_passwd_change %}
|
||||||
{% endif %}
|
<p class="tip"><span class="icon-lightbulb" aria-hidden="true"></span> {% trans "Please update your password before continue." %}</p>
|
||||||
<form action="" method="post" class="con">{% csrf_token %}
|
{% endif %}
|
||||||
<label for="id_old_password">{% trans "Current Password" %}</label>
|
<label for="id_old_password">{% trans "Current Password" %}</label>
|
||||||
{{ form.old_password }} {{ form.old_password.errors }}
|
{{ form.old_password }} {{ form.old_password.errors }}
|
||||||
<label for="id_new_password1">{% trans "New Password" %}</label>
|
<label for="id_new_password1">{% trans "New Password" %}</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user