[Bps-public-commit] rt-extension-resetpassword branch, update-rt5-styling, created. 1.04-34-g15490cf
Craig Kaiser
craig at bestpractical.com
Wed Dec 9 17:17:05 EST 2020
The branch, update-rt5-styling has been created
at 15490cfb4c6e0d90619f891e0654818f0d2d5c3f (commit)
- Log -----------------------------------------------------------------
commit da6cedc62e6ff4baf5644fbc4f7a52bee782969f
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Nov 20 14:55:34 2020 -0500
Use simpler labels
diff --git a/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default b/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default
index 0bc8b8e..e468d65 100644
--- a/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default
+++ b/html/Callbacks/RT-Extension-ResetPassword/Elements/Login/Default
@@ -1,8 +1,8 @@
% unless ( RT::Config->Get('DisableResetPasswordOnLogin') ) {
% if ( RT::Handle::cmp_version($RT::VERSION, '5.0.0') >= 0 ) {
<div class="form-row">
- <div class="col-12 text-right">
- <a class="btn btn-primary" href="<%$RT::WebPath%>/NoAuth/ResetPassword/Request.html"><&|/l&>Forgot your password</&></a>
+ <div class="col-12 text-center">
+ <a href="<%$RT::WebPath%>/NoAuth/ResetPassword/Request.html"><&|/l&>Forgot password</&>?</a>
% if ( RT::Config->Get('CreateNewUserAndSetPassword') ) {
<a class="btn btn-primary" href="<%$RT::WebPath%>/NoAuth/ResetPassword/Request.html?Mode=create"><&|/l&>New account</&></a>
% }
diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index b4d86d0..604c8d7 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -76,7 +76,7 @@
</&>
<div class="form-row">
<div class="col-12">
- <a class="btn btn-primary float-left" href="<%$RT::WebURL|n%>"><&|/l&>Back to Login</&></a>
+ <a class="btn btn-primary float-left" href="<%$RT::WebURL|n%>"><&|/l&>Cancel</&></a>
<input class="button btn btn-primary form-control float-right" type="submit" value="<%loc('Send it!')%>" />
</div>
</div>
commit 15490cfb4c6e0d90619f891e0654818f0d2d5c3f
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Nov 20 14:55:56 2020 -0500
Move reset password cancel/send buttons into titlebox
diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index 604c8d7..cb27ca6 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -73,13 +73,14 @@
<input type="text" class="form-control" name="Email" value="" />
</div>
</div>
-</&>
<div class="form-row">
- <div class="col-12">
- <a class="btn btn-primary float-left" href="<%$RT::WebURL|n%>"><&|/l&>Cancel</&></a>
- <input class="button btn btn-primary form-control float-right" type="submit" value="<%loc('Send it!')%>" />
+ <div class="col-3"></div>
+ <div class="col-8 text-right">
+ <input class="button btn btn-primary form-control" type="submit" value="<%loc('Send it!')%>" />
+ <a class="btn btn-primary" href="<%$RT::WebURL|n%>"><&|/l&>Cancel</&></a>
</div>
</div>
+</&>
</form>
% }
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list