mirror of
https://github.com/kennethreitz-archive/www.gittip.com.git
synced 2026-06-21 15:50:59 +00:00
31035e3e81
I tested connecting a Bitbucket account to an existing account in both merge and non-merge cases. I need to look at signing in using Bitbucket in the first place, making sure we have links in all the right places.
107 lines
3.7 KiB
HTML
107 lines
3.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>{% if 'title' in globals() %}{{ title }} - {% end %}Gittip</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<link rel="stylesheet" href="/assets/reset.css"
|
|
type="text/css" charset="utf-8" />
|
|
<link rel="stylesheet" href="/assets/{{ __version__ }}/gittip.css"
|
|
type="text/css" charset="utf-8" />
|
|
|
|
<!-- http://css-tricks.com/snippets/jquery/fallback-for-cdn-hosted-jquery/ -->
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
|
|
<script>
|
|
if (typeof jQuery === 'undefined')
|
|
document.write(unescape("%3Cscript src='/assets/jquery-1.8.3.min.js'%3E%3C/script%3E"));
|
|
</script>
|
|
|
|
<script src="/assets/{{ __version__ }}/gittip.js"></script>
|
|
<script>$(document).ready(Gittip.initCSRF);</script>
|
|
{% block head %}{% end %}
|
|
{% block head2 %}{% end %}
|
|
|
|
</head>
|
|
<body>
|
|
<div class="main-padding"><div id="header">
|
|
<table><tr><td class="logo">
|
|
<h1>
|
|
<a href="/">
|
|
<img src="/assets/{{ __version__}}/logo.png" alt="Gittip" />
|
|
</a>
|
|
</h1>
|
|
</td><td class="motto luxury">
|
|
Inspiring Generosity
|
|
</td></tr></table>
|
|
<div class="login">
|
|
{% if user.ANON %}
|
|
<div id="you-are">
|
|
<span class="nowrap">Sign in using</span>
|
|
<span class="nowrap">
|
|
<a href="{{ twitter.oauth_url(website, u'opt-in', path.decoded) }}">Twitter</a>
|
|
<span class="luxury">or
|
|
<a href="{{ github.oauth_url(website, u'opt-in', path.decoded) }}">GitHub</a>
|
|
or
|
|
<a href="{{ bitbucket.oauth_url(website, u'opt-in', path.decoded) }}">Bitbucket</a>
|
|
</span>
|
|
</div>
|
|
{% else %}
|
|
<div id="you-are">
|
|
You are <a href="/{{ user.id }}/">{{ user.id }}</a>.
|
|
<a href="/sign-out.html">Sign out</a>.
|
|
</div>
|
|
{% end %}
|
|
</div>
|
|
</div></div>
|
|
|
|
<div id="hero">
|
|
<div class="main-padding">
|
|
{% block heading %}
|
|
{% if 'title' in globals() %}
|
|
<h2 class="top"><span>{{ title }}</span></h2>
|
|
{% end %}
|
|
{% end %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="main-padding"><div id="box-page">
|
|
{% block killbox %}
|
|
<div id="box">
|
|
{% block box %}{% end %}
|
|
</div>
|
|
{% end %}
|
|
<div id="page" class="group">
|
|
{% block page %}{% end %}
|
|
</div>
|
|
</div></div>
|
|
|
|
<div class="main-padding"><div id="footer">
|
|
<a href='http://blog.gittip.com/'>Blog</a> |
|
|
<a href="/about/">About</a> |
|
|
<a href='/about/faq.html'>FAQ</a> |
|
|
<a href='/about/stats.html'>Stats</a> |
|
|
<a href='/about/charts.html'>Charts</a> |
|
|
<a href="/about/terms/">Terms</a> |
|
|
<a href="/about/privacy/">Privacy</a> |
|
|
<a href='/about/fraud/'>Fraud</a> |
|
|
<a href='/security.txt'>Security</a>
|
|
</div></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-247427-33']);
|
|
_gaq.push(['_setDomainName', '.gittip.com']);
|
|
_gaq.push(['_trackPageview']);
|
|
|
|
(function() {
|
|
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
})();
|
|
|
|
</script>
|
|
</div></body>
|
|
</html>
|