FIX: URL for access_denied image
[phorkie.git] / data / templates / login.htm
index 13d86beb71bd052eea0aea15919605a215307ab6..418432e35dfb30a712e6e4c30be072d5276954a0 100644 (file)
@@ -3,14 +3,9 @@
 
 {% block content %}
 
-<!-- Simple OpenID Selector -->
 <link rel="stylesheet" href="css/openid.css" />
 
-<style type="text/css">
-/* Basic page formatting. */
-</style>
-
-<form method="post" action="/auth" id="openid_form">
+<form method="post" action="/login" id="openid_form">
   <input id="start" name="start" type="hidden" value="submit" />
   <input id="sreg" name="sreg" type="hidden" value="on" />
   <input id="ax" name="ax" type="hidden" value="on" />
   <div id="openid_choice" style="display: block; ">
     <p>Please choose your account provider</p>
     <div id="openid_btns">
-      <a title="Google" href="/auth?identifier=https://www.google.com/accounts/o8/id&ax=on&sreg=on&start=submit" class="google openid_large_btn"></a>
-      <a title="Yahoo" href="/auth?identifier=http://yahoo.com&ax=on&sreg=on&start=submit" class="yahoo openid_large_btn"></a>
+      <a title="Google" href="/login?openid_url=https://www.google.com/accounts/o8/id&start=submit" class="google openid_large_btn"></a>
+      <a title="Yahoo" href="/login?openid_url=http://yahoo.com&start=submit" class="yahoo openid_large_btn"></a>
     </div>
     <div id="openid_input_area">
       <p>or enter your OpenID URL.</p>
-      <input class="" id="identifier" type="text" name="identifier" value="http://">
+      <input class="" id="openid_url" type="text" name="openid_url" value="http://">
       <input class="btn" id="openid_submit" type="submit" value="Sign-In">
     </div>
   </div>
 </fieldset>
-{% endblock %}
 
-{% block sidebar %}
- {% if recents.results %}
- <h3>Recently created</h3>
- <ul>
- {% for repo in recents.repos %}
-   {% include 'repo-sidebar-list.htm' %}
- {% endfor %}
- </ul>
- {% endif %}
+</form>
 {% endblock %}