forked from ScoDoc/ScoDoc
39 lines
923 B
Django/Jinja
39 lines
923 B
Django/Jinja
<style>
|
|
div.msg-change-passwd {
|
|
border: 3px solid white;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
width: fit-content;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
margin-top: 28px;
|
|
margin-bottom: 28px;
|
|
}
|
|
div.msg-change-passwd, div.msg-change-passwd a {
|
|
font-size: 36px;
|
|
font-weight: bold;
|
|
background-color: red;
|
|
color: white;
|
|
}
|
|
div.msg-change-passwd a, div.msg-change-passwd a:visited {
|
|
text-decoration: underline;
|
|
}
|
|
</style>
|
|
<div class="msg-change-passwd">
|
|
Vous devez
|
|
{% if current_user.dept %}
|
|
<a class="nav-link" href="{{
|
|
url_for(
|
|
'users.form_change_password',
|
|
scodoc_dept=current_user.dept,
|
|
user_name=current_user.user_name
|
|
)
|
|
}}">
|
|
{% endif %}
|
|
changer votre mot de passe
|
|
{% if current_user.dept %}
|
|
</a>
|
|
{% endif %}
|
|
!
|
|
</div>
|