aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornda <nda@3818.com.ar>2015-06-19 17:37:38 -0300
committernda <nda@3818.com.ar>2015-06-19 17:37:38 -0300
commitf30aa976e1c56b33687c59d3de8b3481f58a374d (patch)
tree7d2d6b711e1fa4b97133c35295e827031a13b054
parentcbecab773526b0c39f3cffa1d4595b5caa781bda (diff)
downloadShaarli-f30aa976e1c56b33687c59d3de8b3481f58a374d.tar.gz
Shaarli-f30aa976e1c56b33687c59d3de8b3481f58a374d.tar.zst
Shaarli-f30aa976e1c56b33687c59d3de8b3481f58a374d.zip
login enhance for mobile
-rw-r--r--inc/shaarli.css14
-rw-r--r--tpl/loginform.html10
2 files changed, 20 insertions, 4 deletions
diff --git a/inc/shaarli.css b/inc/shaarli.css
index c4348c70..c979ff5e 100644
--- a/inc/shaarli.css
+++ b/inc/shaarli.css
@@ -975,6 +975,20 @@ div.dailyNoEntry {
975 margin: 3px; 975 margin: 3px;
976 } 976 }
977 977
978 #headerform label {
979 width: 100%;
980 display: block;
981 height: auto;
982 line-height: 25px;
983 padding-bottom: 10px;
984 }
985
986 #headerform label input[type=text],
987 #headerform label input[type=password]{
988 float: right;
989 width: 70%;
990 }
991
978 .searchform, .tagfilter { 992 .searchform, .tagfilter {
979 display: block !important; 993 display: block !important;
980 margin: 0px 3px 7px 0px !important; 994 margin: 0px 3px 7px 0px !important;
diff --git a/tpl/loginform.html b/tpl/loginform.html
index 954f6f1f..91b948dd 100644
--- a/tpl/loginform.html
+++ b/tpl/loginform.html
@@ -10,10 +10,12 @@
10 You have been banned from login after too many failed attempts. Try later. 10 You have been banned from login after too many failed attempts. Try later.
11{else} 11{else}
12 <form method="post" name="loginform"> 12 <form method="post" name="loginform">
13 Login: <input type="text" name="login" tabindex="1">&nbsp;&nbsp;&nbsp; 13 <label for="login">Login: <input type="text" id="login" name="login" tabindex="1"></label>
14 Password : <input type="password" name="password" tabindex="2"> 14 <label for="password">Password: <input type="password" id="password" name="password" tabindex="2"></label>
15 <input type="submit" value="Login" class="bigbutton" tabindex="4"><br> 15 <input type="submit" value="Login" class="bigbutton" tabindex="4">
16 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3"><label for="longlastingsession">&nbsp;Stay signed in (Do not check on public computers)</label> 16 <label for="longlastingsession">
17 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="3">
18 Stay signed in (Do not check on public computers)</label>
17 <input type="hidden" name="token" value="{$token}"> 19 <input type="hidden" name="token" value="{$token}">
18 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if} 20 {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl|htmlspecialchars}">{/if}
19 </form> 21 </form>