Merge pull request #1905 from philipp-r/autocapitalize
autocapitalize off for the username input
This commit is contained in:
commit
5abf19faf2
5 changed files with 5 additions and 5 deletions
|
@ -30,7 +30,7 @@ <h2 class="window-title">{'Install Shaarli'|t}</h2>
|
|||
</div>
|
||||
<div class="pure-u-lg-{$ratioInput} pure-u-1">
|
||||
<div class="form-input">
|
||||
<input type="text" name="setlogin" id="username">
|
||||
<input type="text" name="setlogin" id="username" autocapitalize="off">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<h2 class="window-title">{'Login'|t}</h2>
|
||||
<div>
|
||||
<input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}"
|
||||
{if="!empty($username)"}value="{$username}"{/if} class="autofocus">
|
||||
{if="!empty($username)"}value="{$username}"{/if} class="autofocus" autocapitalize="off">
|
||||
</div>
|
||||
<div>
|
||||
<input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" class="autofocus">
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
{if="!$is_logged_in"}
|
||||
<form method="post" name="loginform">
|
||||
<div class="subheader-form header-login-form" id="header-login-form">
|
||||
<input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" >
|
||||
<input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" autocapitalize="off" >
|
||||
<input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" >
|
||||
<div class="remember-me">
|
||||
<input type="checkbox" name="longlastingsession" id="longlastingsession" checked>
|
||||
|
|
|
@ -7,7 +7,7 @@ <h1>Shaarli</h1>
|
|||
It looks like it's the first time you run Shaarli. Please configure it:<br>
|
||||
<form method="POST" action="{$base_path}/install" name="installform" id="installform">
|
||||
<table>
|
||||
<tr><td><b>Login:</b></td><td><input type="text" name="setlogin" size="30"></td></tr>
|
||||
<tr><td><b>Login:</b></td><td><input type="text" name="setlogin" size="30" autocapitalize="off"></td></tr>
|
||||
<tr><td><b>Password:</b></td><td><input type="password" name="setpassword" size="30"></td></tr>
|
||||
<tr>
|
||||
<td><b>Timezone:</b></td>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<div id="headerform">
|
||||
<form method="post" name="loginform" action="{$base_path}/login">
|
||||
<label for="login">Login: <input type="text" id="login" name="login" tabindex="1"
|
||||
{if="!empty($username)"}value="{$username}"{/if}>
|
||||
{if="!empty($username)"}value="{$username}"{/if} autocapitalize="off">
|
||||
</label>
|
||||
<label for="password">Password: <input type="password" id="password" name="password" tabindex="2">
|
||||
</label>
|
||||
|
|
Loading…
Reference in a new issue