mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
portico: Add return to login button to password reset end.
Previously, we had a "Return to login" button on the previous page of the password reset flow, but none on the final page. Note that this button is only shown in the Zulip Electron app. Fixes #13378.
This commit is contained in:
@@ -633,16 +633,16 @@ button.login-social-button:active {
|
||||
}
|
||||
|
||||
.login-page-container .right-side .actions,
|
||||
.forgot-password-container .actions {
|
||||
.back-to-login-wrapper {
|
||||
margin: 20px 0px 0px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.forgot-password-container .actions {
|
||||
.back-to-login-wrapper {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.forgot-password-container .actions .back-to-login i {
|
||||
.back-to-login-wrapper .back-to-login i {
|
||||
position: relative;
|
||||
top: 5px;
|
||||
|
||||
|
3
templates/zerver/include/back_to_login_component.html
Normal file
3
templates/zerver/include/back_to_login_component.html
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="back-to-login-wrapper if-zulip-electron"><!-- only show if on `ZulipElectron` -->
|
||||
<a class="back-to-login" href="{{login_url}}"><i class="fa fa-arrow-left"></i> Back to the login page</a>
|
||||
</div>
|
@@ -31,9 +31,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="actions if-zulip-electron"><!-- only show if on `ZulipElectron` -->
|
||||
<a class="back-to-login" href="{{login_url}}"><i class="fa fa-arrow-left"></i> Back to the login page</a>
|
||||
</div>
|
||||
{% include 'zerver/include/back_to_login_component.html' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -12,6 +12,7 @@
|
||||
<div class="white-box">
|
||||
<p>{{ _('Check your email in a few minutes to finish the process.') }}</p>
|
||||
{% include 'zerver/dev_env_email_access_details.html' %}
|
||||
{% include 'zerver/include/back_to_login_component.html' %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user