Added OpenID Authentication
[phorkie.git] / data / templates / login.htm
1 {% extends "base.htm" %}
2 {% block title %}Login{% endblock %}
3
4 {% block content %}
5
6 <!-- Simple OpenID Selector -->
7 <link rel="stylesheet" href="css/openid.css" />
8
9 <style type="text/css">
10 /* Basic page formatting. */
11 </style>
12
13 <form method="post" action="/auth" id="openid_form">
14   <input id="start" name="start" type="hidden" value="submit" />
15   <input id="sreg" name="sreg" type="hidden" value="on" />
16   <input id="ax" name="ax" type="hidden" value="on" />
17
18 <fieldset>
19   <legend>Sign-in</legend>
20   <div id="openid_choice" style="display: block; ">
21     <p>Please choose your account provider</p>
22     <div id="openid_btns">
23       <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>
24       <a title="Yahoo" href="/auth?identifier=http://yahoo.com&ax=on&sreg=on&start=submit" class="yahoo openid_large_btn"></a>
25     </div>
26     <div id="openid_input_area">
27       <p>or enter your OpenID URL.</p>
28       <input class="" id="identifier" type="text" name="identifier" value="http://">
29       <input class="btn" id="openid_submit" type="submit" value="Sign-In">
30     </div>
31   </div>
32 </fieldset>
33 {% endblock %}
34
35 {% block sidebar %}
36  {% if recents.results %}
37  <h3>Recently created</h3>
38  <ul>
39  {% for repo in recents.repos %}
40    {% include 'repo-sidebar-list.htm' %}
41  {% endfor %}
42  </ul>
43  {% endif %}
44 {% endblock %}