aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-04 21:34:36 -0800
committerfriendica <info@friendica.com>2013-01-04 21:34:36 -0800
commit490867ebf7ca6451bf2304fd15dc8796716f6911 (patch)
tree9b1e136817c5eabce0cb43b87b381c157160370c /view
parent37957204215854f2d80ca8b975f275ebda305f7e (diff)
downloadvolse-hubzilla-490867ebf7ca6451bf2304fd15dc8796716f6911.tar.gz
volse-hubzilla-490867ebf7ca6451bf2304fd15dc8796716f6911.tar.bz2
volse-hubzilla-490867ebf7ca6451bf2304fd15dc8796716f6911.zip
port "remember me" from Friendica
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css17
-rw-r--r--view/tpl/login.tpl2
2 files changed, 18 insertions, 1 deletions
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 }}<a href="$register.link" title="$register.title" id="register-link">$register.desc</a>{{ endif }}
<a href="lostpass" title="$lostpass" id="lost-password-link" >$lostlink</a>
</div>
+
+ {{ inc field_checkbox.tpl with $field=$remember }}{{ endinc }}
<div id="login-standard-end"></div>