change_password: Avoid super generic CSS classes.

This commit is contained in:
Tim Abbott 2024-03-20 13:26:48 -07:00
parent 6f81fe1b5b
commit e436aea917
1 changed files with 4 additions and 4 deletions

View File

@ -1,14 +1,14 @@
<form id="change_password_container"> <form id="change_password_container">
<div class="field password-div"> <div class="password-div">
<label for="old_password" class="title">{{t "Old password" }}</label> <label for="old_password" class="dropdown-title">{{t "Old password" }}</label>
<input type="password" autocomplete="off" name="old_password" id="old_password" class="w-200 inline-block modal_password_input" value="" /> <input type="password" autocomplete="off" name="old_password" id="old_password" class="w-200 inline-block modal_password_input" value="" />
<i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button"></i> <i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button"></i>
<div class="settings-forgot-password"> <div class="settings-forgot-password">
<a href="/accounts/password/reset/" class="sea-green" target="_blank" rel="noopener noreferrer">{{t "Forgot it?" }}</a> <a href="/accounts/password/reset/" class="sea-green" target="_blank" rel="noopener noreferrer">{{t "Forgot it?" }}</a>
</div> </div>
</div> </div>
<div class="field password-div"> <div class="password-div">
<label for="new_password" class="title">{{t "New password" }}</label> <label for="new_password" class="dropdown-title">{{t "New password" }}</label>
<input type="password" autocomplete="new-password" name="new_password" id="new_password" class="w-200 inline-block modal_password_input" value="" <input type="password" autocomplete="new-password" name="new_password" id="new_password" class="w-200 inline-block modal_password_input" value=""
data-min-length="{{password_min_length}}" data-min-guesses="{{password_min_guesses}}" /> data-min-length="{{password_min_length}}" data-min-guesses="{{password_min_guesses}}" />
<i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button"></i> <i class="fa fa-eye-slash password_visibility_toggle tippy-zulip-tooltip" role="button"></i>