This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/templates/signin.html

35 lines
1.4 KiB
HTML
Raw Normal View History

2013-09-24 22:21:14 +00:00
<!DOCTYPE html>
2013-09-23 16:37:40 +00:00
<html>
<head>
<title>Sign In - Quay</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-09-23 16:37:40 +00:00
</head>
<body>
2013-09-24 22:21:14 +00:00
<div class="container">
<form method="post" class="form-signin">
<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>
<span class="inner-text">OR</span>
2013-10-10 03:00:34 +00:00
</span>
<a 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>
{% 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>
{% endif %}
2013-09-24 22:21:14 +00:00
</div>
2013-09-23 16:37:40 +00:00
</body>
</html>