From 490867ebf7ca6451bf2304fd15dc8796716f6911 Mon Sep 17 00:00:00 2001 From: friendica Date: Fri, 4 Jan 2013 21:34:36 -0800 Subject: port "remember me" from Friendica --- view/theme/redbasic/css/style.css | 17 ++++++++++++++++- view/tpl/login.tpl | 2 ++ 2 files changed, 18 insertions(+), 1 deletion(-) (limited to 'view') diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index b3435b28f..f600f5272 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -512,6 +512,21 @@ div.wall-item-content-wrapper.shiny { float: left; } +#main-login #id_remember { + float: left; + padding: 0; + margin-top: 15px; + margin-bottom: 0; + width: 20px; +} + +#main-login .field.checkbox label { + margin-top: 15px; + margin-bottom: 0; + float: left; + width: 100px; +} + #main-login .field_end { clear: both; } @@ -3080,7 +3095,7 @@ brain is weird like that */ */ .field { margin-bottom: 10px; - padding-bottom: 10px; +/* padding-bottom: 10px; */ overflow: auto; width: 100% } diff --git a/view/tpl/login.tpl b/view/tpl/login.tpl index 9cecef5c7..149c46e4c 100644 --- a/view/tpl/login.tpl +++ b/view/tpl/login.tpl @@ -11,6 +11,8 @@ {{ if $register }}$register.desc{{ endif }} $lostlink + + {{ inc field_checkbox.tpl with $field=$remember }}{{ endinc }}
-- cgit v1.2.3