35 lines
No EOL
1.4 KiB
HTML
35 lines
No EOL
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Sign In - Quay</title>
|
|
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.no-icons.min.css">
|
|
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.min.css">
|
|
|
|
<link rel="stylesheet" href="static/css/signin.css">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<form method="post" class="form-signin">
|
|
<input type="text" class="form-control" placeholder="Username" name="username" value="{{ username }}"autofocus>
|
|
<input type="password" class="form-control" placeholder="Password" name="password">
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign In</button>
|
|
|
|
<span class="social-alternate">
|
|
<i class="icon-circle"></i>
|
|
<span class="inner-text">OR</i>
|
|
</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>
|
|
</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 %}
|
|
</div>
|
|
</body>
|
|
</html> |