allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [25/28] git commit: [#7451] ticket:616 Tweaked styling of login form
Date Fri, 25 Jul 2014 07:55:28 GMT
[#7451] ticket:616 Tweaked styling of login form


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/5d508404
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/5d508404
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/5d508404

Branch: refs/heads/je/42cc_7451
Commit: 5d5084045124c4789e85dcc441b471a2eddfa56b
Parents: 335843e
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Thu Jul 24 22:04:17 2014 +0300
Committer: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Committed: Thu Jul 24 22:16:21 2014 +0300

----------------------------------------------------------------------
 Allura/allura/lib/widgets/auth_widgets.py  | 4 +++-
 Allura/allura/nf/allura/css/site_style.css | 4 ++++
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/5d508404/Allura/allura/lib/widgets/auth_widgets.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/auth_widgets.py b/Allura/allura/lib/widgets/auth_widgets.py
index 7f5079f..7f7a011 100644
--- a/Allura/allura/lib/widgets/auth_widgets.py
+++ b/Allura/allura/lib/widgets/auth_widgets.py
@@ -44,7 +44,9 @@ class LoginForm(ForgeForm):
         if plugin.AuthenticationProvider.get(request).forgotten_password_process:
             # only show link if auth provider has method of recovering password
             fields.append(
-                ew.HTMLField(name='link', text='<a href="forgotten_password">Forgot
password?</a>'))
+                ew.HTMLField(
+                    name='link', text='<div class="forgotten-password">'
+                    '<a href="forgotten_password">Forgot password?</a></div>'))
         return fields
 
     @validator

http://git-wip-us.apache.org/repos/asf/allura/blob/5d508404/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index 8f8d5ab..7fd7528 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -3497,3 +3497,7 @@ ul.dropdown ul li a:hover {
     top: 10px;
 }
 .strikethrough { text-decoration: line-through; }
+/* Login form */
+#loginform input[name="rememberme"], #loginform .forgotten-password {
+  margin-left: 162px;
+}


Mime
View raw message