diff options
-rw-r--r-- | tpl/default/changepassword.html | 4 | ||||
-rw-r--r-- | tpl/default/loginform.html | 14 |
2 files changed, 8 insertions, 10 deletions
diff --git a/tpl/default/changepassword.html b/tpl/default/changepassword.html index 3867e3ca..ab579433 100644 --- a/tpl/default/changepassword.html +++ b/tpl/default/changepassword.html | |||
@@ -11,10 +11,10 @@ | |||
11 | <h2 class="window-title">{"Change password"|t}</h2> | 11 | <h2 class="window-title">{"Change password"|t}</h2> |
12 | <form method="POST" action="#" name="changepasswordform" id="changepasswordform"> | 12 | <form method="POST" action="#" name="changepasswordform" id="changepasswordform"> |
13 | <div> | 13 | <div> |
14 | <input type="password" name="oldpassword" placeholder="{'Current password'|t}" class="autofocus"> | 14 | <input type="password" name="oldpassword" aria-label="{'Current password'|t}" placeholder="{'Current password'|t}" class="autofocus"> |
15 | </div> | 15 | </div> |
16 | <div> | 16 | <div> |
17 | <input type="password" name="setpassword" placeholder="{'New password'|t}"> | 17 | <input type="password" name="setpassword" aria-label="{'New password'|t}" placeholder="{'New password'|t}"> |
18 | </div> | 18 | </div> |
19 | <input type="hidden" name="token" value="{$token}"> | 19 | <input type="hidden" name="token" value="{$token}"> |
20 | <div> | 20 | <div> |
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index bfc54815..761aec0c 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <div class="pure-g pure-alert pure-alert-error pure-alert-closable center"> | 9 | <div class="pure-g pure-alert pure-alert-error pure-alert-closable center"> |
10 | <div class="pure-u-2-24"></div> | 10 | <div class="pure-u-2-24"></div> |
11 | <div class="pure-u-20-24"> | 11 | <div class="pure-u-20-24"> |
12 | {'You have been banned after too many failed login attempts. Try again later.'|t} | 12 | <p>{'You have been banned after too many failed login attempts. Try again later.'|t}</p> |
13 | </div> | 13 | </div> |
14 | <div class="pure-u-2-24"> | 14 | <div class="pure-u-2-24"> |
15 | <i class="fa fa-times pure-alert-close"></i> | 15 | <i class="fa fa-times pure-alert-close"></i> |
@@ -22,20 +22,19 @@ | |||
22 | <form method="post" name="loginform"> | 22 | <form method="post" name="loginform"> |
23 | <h2 class="window-title">{'Login'|t}</h2> | 23 | <h2 class="window-title">{'Login'|t}</h2> |
24 | <div> | 24 | <div> |
25 | <input type="text" name="login" placeholder="{'Username'|t}" | 25 | <input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" |
26 | {if="!empty($username)"}value="{$username}"{/if} class="autofocus" tabindex="20"> | 26 | {if="!empty($username)"}value="{$username}"{/if} class="autofocus"> |
27 | </div> | 27 | </div> |
28 | <div> | 28 | <div> |
29 | <input type="password" name="password" placeholder="{'Password'|t}" class="autofocus" tabindex="21"> | 29 | <input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" class="autofocus"> |
30 | </div> | 30 | </div> |
31 | <div class="remember-me"> | 31 | <div class="remember-me"> |
32 | <input type="checkbox" name="longlastingsession" id="longlastingsessionform" | 32 | <input type="checkbox" name="longlastingsession" id="longlastingsessionform" |
33 | {if="$remember_user_default"}checked="checked"{/if} | 33 | {if="$remember_user_default"}checked="checked"{/if}> |
34 | tabindex="22"> | ||
35 | <label for="longlastingsessionform">{'Remember me'|t}</label> | 34 | <label for="longlastingsessionform">{'Remember me'|t}</label> |
36 | </div> | 35 | </div> |
37 | <div> | 36 | <div> |
38 | <input type="submit" value="{'Login'|t}" class="bigbutton" tabindex="23"> | 37 | <input type="submit" value="{'Login'|t}" class="bigbutton"> |
39 | </div> | 38 | </div> |
40 | <input type="hidden" name="token" value="{$token}"> | 39 | <input type="hidden" name="token" value="{$token}"> |
41 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} | 40 | {if="$returnurl"}<input type="hidden" name="returnurl" value="{$returnurl}">{/if} |
@@ -48,4 +47,3 @@ | |||
48 | {include="page.footer"} | 47 | {include="page.footer"} |
49 | </body> | 48 | </body> |
50 | </html> | 49 | </html> |
51 | |||