forked from bradfitz/contributing
-
Notifications
You must be signed in to change notification settings - Fork 1
/
login.html
27 lines (22 loc) · 1018 Bytes
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends "base.html" %}
{% block headtitle %}Log in - Contributing{% endblock %}
{% block title %}Contributing: Log in</em>{% endblock %}
{% block content %}
{% if user %}
<p>Hello, <b>{{ user.display_name }}</b>. <a href="/s/logout">Log out</a>.</p>
{% else %}
<p>Not logged in.</p>
{% endif %}
<p>Choose your authentication mechanism:<p>
<form action='/s/startopenid' method='POST'>
<div style='margin: 2em 0 2em 0'>
<img src='/static/openid-logo2.png' width='112' height='36' alt='OpenID' align='absmiddle' /><br/>
<input type='text' name='openid_url' id='openid_url' size='40' />
<input type='submit' name='use_openid' value='Log in' />
</nobr></div>
</form>
<div style='margin: 2em 0 2em 0'>
<img src='/static/google-logo.png' width='99' height='36' alt='Google' align='absmiddle' /><br/>
<a href='{{ google_login_url }}'>Log in</a> with your Google Account.
</div>
{% endblock %}