2013-09-24 22:21:14 +00:00
|
|
|
<!DOCTYPE html>
|
2013-09-23 16:37:40 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2013-10-13 20:29:00 +00:00
|
|
|
<title>Sign In - Quay.io</title>
|
2013-09-24 22:21:14 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.no-icons.min.css">
|
2013-10-10 03:00:34 +00:00
|
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
|
2013-09-24 22:21:14 +00:00
|
|
|
|
|
|
|
<link rel="stylesheet" href="static/css/signin.css">
|
2013-10-10 21:32:32 +00:00
|
|
|
|
|
|
|
<!-- start Mixpanel --><script type="text/javascript">
|
|
|
|
var isProd = document.location.hostname === 'quay.io';
|
|
|
|
|
|
|
|
(function(e,b){if(!b.__SV){var a,f,i,g;window.mixpanel=b;a=e.createElement("script");a.type="text/javascript";a.async=!0;a.src=("https:"===e.location.protocol?"https:":"http:")+'//cdn.mxpnl.com/libs/mixpanel-2.2.min.js';f=e.getElementsByTagName("script")[0];f.parentNode.insertBefore(a,f);b._i=[];b.init=function(a,e,d){function f(b,h){var a=h.split(".");2==a.length&&(b=b[a[0]],h=a[1]);b[h]=function(){b.push([h].concat(Array.prototype.slice.call(arguments,0)))}}var c=b;"undefined"!==
|
|
|
|
typeof d?c=b[d]=[]:d="mixpanel";c.people=c.people||[];c.toString=function(b){var a="mixpanel";"mixpanel"!==d&&(a+="."+d);b||(a+=" (stub)");return a};c.people.toString=function(){return c.toString(1)+".people (stub)"};i="disable track track_pageview track_links track_forms register register_once alias unregister identify name_tag set_config people.set people.set_once people.increment people.append people.track_charge people.clear_charges people.delete_user".split(" ");for(g=0;g<i.length;g++)f(c,i[g]);
|
|
|
|
b._i.push([a,e,d])};b.__SV=1.2}})(document,window.mixpanel||[]);
|
|
|
|
mixpanel.init(isProd ? "50ff2b2569faa3a51c8f5724922ffb7e" : "38014a0f27e7bdc3ff8cc7cc29c869f9", { track_pageview : false });</script><!-- end Mixpanel -->
|
|
|
|
|
2013-09-23 16:37:40 +00:00
|
|
|
</head>
|
2013-10-10 21:32:32 +00:00
|
|
|
|
2013-09-23 16:37:40 +00:00
|
|
|
<body>
|
2013-10-13 20:17:52 +00:00
|
|
|
<div class="container signin-container">
|
|
|
|
<img src="/static/img/quay-logo.png">
|
|
|
|
|
2013-09-24 22:21:14 +00:00
|
|
|
<form method="post" class="form-signin">
|
2013-10-01 17:48:37 +00:00
|
|
|
<input type="text" class="form-control" placeholder="Username" name="username" value="{{ username }}"autofocus>
|
2013-09-24 22:21:14 +00:00
|
|
|
<input type="password" class="form-control" placeholder="Password" name="password">
|
|
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign In</button>
|
2013-10-10 03:00:34 +00:00
|
|
|
|
|
|
|
<span class="social-alternate">
|
|
|
|
<i class="icon-circle"></i>
|
2013-10-10 16:55:03 +00:00
|
|
|
<span class="inner-text">OR</span>
|
2013-10-10 03:00:34 +00:00
|
|
|
</span>
|
|
|
|
|
2013-10-10 21:32:32 +00:00
|
|
|
<a id='github-signin-link' href="https://github.com/login/oauth/authorize?client_id={{ github_client_id }}&scope=user:email" class="btn btn-primary btn-lg btn-block"><i class="icon-github icon-large"></i> Sign In with GitHub</a>
|
2013-09-24 22:21:14 +00:00
|
|
|
</form>
|
2013-10-01 17:48:37 +00:00
|
|
|
|
2013-10-01 19:43:16 +00:00
|
|
|
{% if invalid_credentials %}
|
|
|
|
<div class="alert alert-danger">Invalid username or password.</div>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if needs_email_verification %}
|
|
|
|
<div class="alert alert-danger">You must verify your email address before you can sign in.</div>
|
2013-10-01 17:48:37 +00:00
|
|
|
{% endif %}
|
2013-09-24 22:21:14 +00:00
|
|
|
</div>
|
2013-10-10 21:32:32 +00:00
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
function appendMixpanelId() {
|
|
|
|
if (mixpanel.get_distinct_id !== undefined) {
|
|
|
|
var signinLink = document.getElementById("github-signin-link");
|
|
|
|
signinLink.href += ("&state=" + mixpanel.get_distinct_id());
|
|
|
|
} else {
|
|
|
|
// Mixpanel not yet loaded, try again later
|
|
|
|
window.setTimeout(appendMixpanelId, 200);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
appendMixpanelId();
|
|
|
|
</script>
|
2013-09-23 16:37:40 +00:00
|
|
|
</body>
|
|
|
|
</html>
|