basic web+fork handling
[phorkie.git] / data / templates / login.htm
index 08953c8045c6cec2d6135c7b926b2cd4280fd58c..2863409077af1f222b9af3fe169e339da648cb96 100644 (file)
@@ -9,23 +9,26 @@
 
 <link rel="stylesheet" href="css/openid.css" />
 
-<form method="post" action="/login" id="openid_form">
+<form method="post" action="login" id="openid_form">
 
 <fieldset>
   <legend>Sign-in</legend>
   <div id="openid_choice" style="display: block; ">
     <p>Please choose your account provider</p>
     <div id="openid_btns">
-      <a title="Google" href="/login?openid_url=https://www.google.com/accounts/o8/id" class="google openid_large_btn"></a>
-      <a title="Yahoo" href="/login?openid_url=http://yahoo.com/" class="yahoo openid_large_btn"></a>
+      <a title="Google" href="login?openid_url=https://www.google.com/accounts/o8/id" class="google openid_large_btn"></a>
+      <a title="Yahoo" href="login?openid_url=http://yahoo.com/" class="yahoo openid_large_btn"></a>
     </div>
     <div id="openid_input_area">
       <p>or enter your OpenID URL.</p>
       <input id="openid_url" type="text" name="openid_url" value="{{openid}}" />
-      <input class="btn" id="openid_submit" type="submit" value="Sign in" />
+      <input class="btn btn-primary" id="openid_submit" type="submit" value="Sign in" />
     </div>
   </div>
 </fieldset>
 
 </form>
+<script type="text/javascript">
+document.getElementById('openid_url').focus();
+</script>
 {% endblock %}