[Rt-commit] rt branch, 4.6-theme-trunk, updated. rt-4.4.4-215-gf56a92907
? sunnavy
sunnavy at bestpractical.com
Fri May 10 17:56:28 EDT 2019
The branch, 4.6-theme-trunk has been updated
via f56a92907d38a0e8a710ea9e4a9e2ec593663183 (commit)
via 1af8daf08a8dd800781a773be2555d8e422be869 (commit)
from bfa3026ab282942ac8e9c94ec345e08bfa4f9afb (commit)
Summary of changes:
share/html/Elements/Login | 32 +++++++++++++++++++++-----------
1 file changed, 21 insertions(+), 11 deletions(-)
- Log -----------------------------------------------------------------
commit 1af8daf08a8dd800781a773be2555d8e422be869
Author: Craig Kaiser <craig at bestpractical.com>
Date: Tue May 7 16:20:37 2019 -0400
Migrate login page to elevator theme
diff --git a/share/html/Elements/Login b/share/html/Elements/Login
index dbe631e13..700e40c10 100644
--- a/share/html/Elements/Login
+++ b/share/html/Elements/Login
@@ -66,15 +66,23 @@
% unless (RT->Config->Get('WebRemoteUserAuth') and !RT->Config->Get('WebFallbackToRTLogin')) {
<form id="login" name="login" method="post" action="<% RT->Config->Get('WebPath') %>/NoAuth/Login.html">
-<div class="input-row">
- <span class="label"><&|/l&>Username</&>:</span>
- <span class="input"><input type="text" name="user" value="<%$user%>" id="user" autocapitalize="off" /></span>
-</div>
+ <div class="form-row">
+ <span class="label col-md-3">
+ <&|/l&>Username</&>:
+ </span>
+ <span class="value col-md-9">
+ <input class="form-control" type="text" name="user" value="<%$user%>" id="user" autocapitalize="off" />
+ </span>
+ </div>
-<div class="input-row">
- <span class="label"><&|/l&>Password</&>:</span>
- <span class="input"><input type="password" name="pass" /></span>
-</div>
+ <div class="form-row">
+ <span class="label col-md-3">
+ <&|/l&>Password</&>:
+ </span>
+ <span class="value col-md-9">
+ <input class="form-control" type="password" name="pass" />
+ </span>
+ </div>
<input type="hidden" name="next" value="<% $next %>" />
@@ -87,9 +95,11 @@ jQuery(function(){
});
</script>
-<div class="button-row">
- <span class="input"><input type="submit" class="button" value="<&|/l&>Login</&>" /></span>
-</div>
+ <div class="form-row">
+ <div class="col-md-12 text-right">
+ <input type="submit" class="form-control btn btn-primary" value="<&|/l&>Login</&>" />
+ </div>
+ </div>
%# Give callbacks a chance to add more control elements
% $m->callback( %ARGS );
commit f56a92907d38a0e8a710ea9e4a9e2ec593663183
Merge: bfa3026ab 1af8daf08
Author: sunnavy <sunnavy at bestpractical.com>
Date: Sat May 11 05:51:37 2019 +0800
Merge branch '4.6-theme/noauth-login-page' into 4.6-theme-trunk
-----------------------------------------------------------------------
More information about the rt-commit
mailing list