[Rt-commit] rt branch, 4.6-theme/noauth-login-page, created. rt-4.4.4-212-gee750da37

Craig Kaiser craig at bestpractical.com
Fri May 10 14:34:48 EDT 2019


The branch, 4.6-theme/noauth-login-page has been created
        at  ee750da3744166e23ebd889ba127cddfbb7779bb (commit)

- Log -----------------------------------------------------------------
commit ee750da3744166e23ebd889ba127cddfbb7779bb
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..c311fb57c 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="input 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="input 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 );

-----------------------------------------------------------------------


More information about the rt-commit mailing list