Improve sign in form

This commit is contained in:
rubenwardy 2018-05-29 18:31:48 +01:00
parent be20146f25
commit b6652547fa
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
2 changed files with 4 additions and 2 deletions

View File

@ -25,7 +25,7 @@ a:hover {
padding: 0;
}
.box h2, .box h3 {
.box > h2, .box > h3 {
margin: 0;
padding: 0.5em 0.5em 0.5em 15px;
border-bottom: 1px solid #444;

View File

@ -11,9 +11,11 @@ Sign in
<h2>{%trans%}Sign in{%endtrans%}</h2>
<form action="" method="POST" class="form box-body" role="form">
<a href="{{ url_for('github_signin_page') }}">GitHub</a>
<h3>Sign in with Github</h3>
<p><a class="button" href="{{ url_for('github_signin_page') }}">GitHub</a></p>
<h3>Sign in with username/password</h3>
{{ form.hidden_tag() }}
{# Username or Email field #}