mirror of https://github.com/zulip/zulip.git
api_key_modal: Place the error element at the top of the modal.
This is consistent with other modal behaviour.
This commit is contained in:
parent
79bdd8bdb6
commit
84ed22d59a
|
@ -994,7 +994,7 @@ input[type="checkbox"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
#api_key_status {
|
#api_key_status {
|
||||||
margin: 0;
|
margin: 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#download_zuliprc {
|
#download_zuliprc {
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
</header>
|
</header>
|
||||||
<main class="modal__content">
|
<main class="modal__content">
|
||||||
<div id="password_confirmation">
|
<div id="password_confirmation">
|
||||||
|
<span class="alert-notification" id="api_key_status"></span>
|
||||||
<div id="api_key_form">
|
<div id="api_key_form">
|
||||||
<p>{{t "Please re-enter your password to confirm your identity." }}
|
<p>{{t "Please re-enter your password to confirm your identity." }}
|
||||||
<a href="/accounts/password/reset/" target="_blank" rel="noopener noreferrer">
|
<a href="/accounts/password/reset/" target="_blank" rel="noopener noreferrer">
|
||||||
|
@ -21,7 +22,6 @@
|
||||||
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span class="alert-notification" id="api_key_status"></span>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="show_api_key">
|
<div id="show_api_key">
|
||||||
<p>{{t "Your API key:" }}</p>
|
<p>{{t "Your API key:" }}</p>
|
||||||
|
|
Loading…
Reference in New Issue