[Bps-public-commit] rt-extension-resetpassword branch, update-rt5-styling, created. 1.04-34-gada9850
Craig Kaiser
craig at bestpractical.com
Tue Dec 1 16:36:05 EST 2020
The branch, update-rt5-styling has been created
at ada9850c83759d82a3e36d56a2b818952dbe9fc3 (commit)
- Log -----------------------------------------------------------------
commit 4c389ccd7754f744bffe49992c76570e5159031a
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 51fe87368fc9d5655b0e9573486461c0a4ca44ca
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..96f73e2 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>
</div>
+</&>
</form>
% }
commit ada9850c83759d82a3e36d56a2b818952dbe9fc3
Author: craig kaiser <craig at bestpractical.com>
Date: Fri Nov 20 15:08:08 2020 -0500
Move 'Cancel' button to the right of submit button
diff --git a/html/NoAuth/ResetPassword/Request.html b/html/NoAuth/ResetPassword/Request.html
index 96f73e2..d9d5904 100644
--- a/html/NoAuth/ResetPassword/Request.html
+++ b/html/NoAuth/ResetPassword/Request.html
@@ -75,9 +75,9 @@
</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-12 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>
</&>
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list