mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
With the `autofocus` attribute, the field has the focus when the page is loaded. This mean that you don't need to click in the field to start writing your username.
13 lines
704 B
HTML
13 lines
704 B
HTML
<div class="ynh-wrapper login">
|
|
<form class="login-form" name="input" action="" method="post">
|
|
<div class="form-group">
|
|
<label class="icon icon-user" for="user"><span class="element-invisible">{{t_username}}</span></label>
|
|
<input id="user" type="text" name="user" placeholder="{{t_username}}" class="form-text" autofocus required>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="icon icon-lock" for="password"><span class="element-invisible">{{t_password}}</span></label>
|
|
<input id="password" type="password" name="password" placeholder="{{t_password}}" class="form-text" required>
|
|
</div>
|
|
<input type="submit" value="{{t_login}}" class="btn classic-btn large-btn">
|
|
</form>
|
|
</div>
|