summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2016-12-17 14:54:58 -0800
committerAaron Parecki <aaron@parecki.com>2016-12-17 14:54:58 -0800
commit836929fd2b2d7caa33213ce832369c6fdc33fe57 (patch)
tree6f3a1ba1fb684730a2e809046757fd4084eb6ca8
parenta2fed546351fde551c3df68a8346324be0212895 (diff)
add autofocus on login field
replaces #56
-rw-r--r--views/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/index.php b/views/index.php
index 8c8aae9..4e1ffb4 100644
--- a/views/index.php
+++ b/views/index.php
@@ -12,7 +12,7 @@
<p>To use Quill, sign in with your domain. Your website will need to support <a href="https://indieweb.org/micropub">Micropub</a> for creating new posts.</p>
<form action="/auth/start" method="get" class="form-inline">
- <input type="url" name="me" placeholder="https://example.com" value="" class="form-control" onchange="auto_prefix_url_field(this)">
+ <input type="url" name="me" placeholder="https://example.com" value="" class="form-control" onchange="auto_prefix_url_field(this)" autofocus>
<input type="submit" value="Sign In" class="btn btn-primary">
<input type="hidden" name="client_id" value="https://quill.p3k.io">
<input type="hidden" name="redirect_uri" value="https://quill.p3k.io/auth/callback">