mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-13 17:05:50 +01:00
Add autofocus to forms at strategic places.
This commit is contained in:
@@ -21,7 +21,7 @@ isCreateRepoOptionPublic: Boolean)(implicit context: gitbucket.core.controller.C
|
|||||||
<input type="hidden" name="owner" id="owner" value="@loginAccount.get.userName"/>
|
<input type="hidden" name="owner" id="owner" value="@loginAccount.get.userName"/>
|
||||||
</div>
|
</div>
|
||||||
<span class="slash">/</span>
|
<span class="slash">/</span>
|
||||||
<input type="text" name="name" id="name" />
|
<input type="text" name="name" id="name" autofocus />
|
||||||
<span id="error-name" class="error"></span>
|
<span id="error-name" class="error"></span>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<div class="span6">
|
<div class="span6">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<label for="userName" class="strong">Username:</label>
|
<label for="userName" class="strong">Username:</label>
|
||||||
<input type="text" name="userName" id="userName" value=""/>
|
<input type="text" name="userName" id="userName" value="" autofocus/>
|
||||||
<span id="error-userName" class="error"></span>
|
<span id="error-userName" class="error"></span>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<div class="box issue-box">
|
<div class="box issue-box">
|
||||||
<div class="box-content">
|
<div class="box-content">
|
||||||
<span id="error-title" class="error"></span>
|
<span id="error-title" class="error"></span>
|
||||||
<input type="text" name="title" value="" placeholder="Title" style="width: 565px;"/>
|
<input type="text" name="title" value="" placeholder="Title" style="width: 565px;" autofocus/>
|
||||||
<div>
|
<div>
|
||||||
<span id="label-assigned">No one is assigned</span>
|
<span id="label-assigned">No one is assigned</span>
|
||||||
@if(hasWritePermission){
|
@if(hasWritePermission){
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
<form action="@path/signin" method="POST" validate="true">
|
<form action="@path/signin" method="POST" validate="true">
|
||||||
<label for="userName">Username:</label>
|
<label for="userName">Username:</label>
|
||||||
<span id="error-userName" class="error"></span>
|
<span id="error-userName" class="error"></span>
|
||||||
<input type="text" name="userName" id="userName" style="width: 95%"/>
|
<input type="text" name="userName" id="userName" style="width: 95%" autofocus/>
|
||||||
<label for="password">Password:</label>
|
<label for="password">Password:</label>
|
||||||
<span id="error-password" class="error"></span>
|
<span id="error-password" class="error"></span>
|
||||||
<input type="password" name="password" id="password" style="width: 95%"/>
|
<input type="password" name="password" id="password" style="width: 95%"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user