Permalink
Browse files

login input autofocus

  • Loading branch information...
banan88 committed May 31, 2012
1 parent 46b6305 commit 82a851c666da65455977663fdee2f139ffdb3084
Showing with 2 additions and 3 deletions.
  1. BIN sqlite/database.db
  2. +1 −2 static/js/script.js
  3. +1 −1 templates/login.html
View
Binary file not shown.
View
@@ -118,8 +118,7 @@ var mapsutil = {
mapTypeId : google.maps.MapTypeId.ROADMAP,
}
- default_map = new google.maps.Map($('#map').get(0), options);
-
+ default_map = new google.maps.Map($('#map').get(0), options);
},
showLocation : function(lat, lon, image, text) {
View
@@ -22,7 +22,7 @@
<form action="" method="post">
{% csrf_token %}
<br><label for="username">Nazwa użytkownika:</label><br>
- <input type="text" name="username" value="" id="username">
+ <input type="text" name="username" value="" id="username" autofocus="autofocus">
<br><label for="password">Hasło:</label><br>
<input type="password" name="password" value="" id="password"><br><br>
<p><button type="submit" class="btn btn-success btn-large">Zaloguj</button></p><br>

0 comments on commit 82a851c

Please sign in to comment.