mirror of
https://github.com/kennethreitz-archive/www.gittip.com.git
synced 2026-06-21 07:40:58 +00:00
28cb48c72a
I sort of did this one with the blast shield down. I haven't even run
the tests yet. The sorts of things I changed:
- SQL {elsewhere,exchanges}.participant_id => .participant
- SQL participants.id => .username
- ORM {user,participant,self}.id => .username
20 lines
578 B
HTML
20 lines
578 B
HTML
if not user.ANON:
|
|
request.redirect('/%s/' % user.username)
|
|
title = "Sign In"
|
|
^L
|
|
{% extends templates/base.html %}
|
|
{% block box %}
|
|
<div class="as-content">
|
|
|
|
<p>Sign in using
|
|
<a href="{{ twitter.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Twitter</a>,
|
|
<a href="{{ github.oauth_url(website, u'opt-in', u'/credit-card.html') }}">GitHub</a>,
|
|
or
|
|
<a href="{{ bitbucket.oauth_url(website, u'opt-in', u'/credit-card.html') }}">Bitbucket</a>,
|
|
and this page will redirect you to your profile.</p>
|
|
|
|
<p>Thanks! :-)</p>
|
|
|
|
</div>
|
|
{% end %}
|