autocapitalize off for username input

This commit is contained in:
philipp 2022-11-06 18:24:40 +01:00
parent a54795f8eb
commit 75fe26dbdb
5 changed files with 5 additions and 5 deletions

View file

@ -30,7 +30,7 @@
</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>

View file

@ -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">

View file

@ -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>

View file

@ -7,7 +7,7 @@
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>

View file

@ -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>