a6e6s / slimstat

Automatically exported from code.google.com/p/slimstat
GNU General Public License v2.0
1 stars 0 forks source link

Enhancement for the Login page #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Here is some possible enhancements for the Login page:

* add "tabindex" attribute for each input elements.

slimstats/page/login.php (from line #44 to #48):

<input type="text" name="username" value="" tabindex="1" id="username" 
class="input" /></p>

(and so on)

* add a javascript to focus on the first input when login page is loaded.

slimstats/page/login.php (line #56):

<script type="text/javascript">
document.getElementById('username').focus();
</script>

Best regards,
Patrick.

Original issue reported on code.google.com by patrick....@gmail.com on 3 Jul 2010 at 8:16

GoogleCodeExporter commented 9 years ago
... and this enhancements can be followed by this css rule:

input[type="submit"]:focus {
    outline:none;
    border-color: #999
}

Cheers,
Patrick.

Original comment by patrick....@gmail.com on 3 Jul 2010 at 8:30

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r118.

Original comment by step...@wettone.com on 8 Jul 2010 at 9:53