flask/flask_website/templates/general/login.html
2010-05-16 13:51:12 +02:00

30 lines
1,014 B
HTML

{% extends "layout.html" %}
{% block head %}
{{ super() }}
<style type=text/css>
h1 { background-image: url(/static/login.png); }
</style>
{% endblock %}
{% block title %}Login{% endblock %}
{% block body %}
<form action="" method=post>
<p>
For some of the features on this site (such as creating snippets
or adding comments) you have to be signed in. You don't need to
create an account on this website, just sign in with an existing
<a href=http://openid.net/>OpenID</a> account.
<p>
OpenID URL:
<input type=text name=openid class=openid size=30>
<input type=hidden name=next value="{{ next }}">
<input type=submit value=Login>
<p>
Alternatively you can directly sign in by clicking on one of
the providers here in case you don't know the identity URL:
<ul>
<li><a href=?provider=aol>AOL</a>
<li><a href=?provider=google>Google</a>
<li><a href=?provider=yahoo>Yahoo</a>
</ul>
</form>
{% endblock %}