-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
049f1e5
commit bce2d08
Showing
1 changed file
with
53 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,57 @@ | ||
|
||
|
||
{% load wagtailcore_tags wagtailimages_tags %} | ||
{% load i18n %} | ||
{% load static %} | ||
|
||
<!DOCTYPE html> | ||
<html lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Sign in - Wagtail</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="robots" content="noindex"> | ||
|
||
<link rel="stylesheet" href="{% static 'wagtailadmin/css/core.css' %}?v=1f5b2029"> | ||
<link rel="shortcut icon" href="{% static 'wagtailadmin/images/favicon.ico' %}?v=1f5b2029"> | ||
</head> | ||
|
||
<body id="wagtail" class="login"> | ||
<div data-sprite></div> | ||
|
||
<div class="wrapper"> | ||
<main class="content-wrapper" id="main"> | ||
<h1>Sign in to Wagtail</h1> | ||
<form class="login-form" action="/admin/login/" method="post" autocomplete="off" novalidate> | ||
{% csrf_token %} | ||
<input type="hidden" name="next" value="/admin/" /> | ||
|
||
<div class="w-field__wrapper" data-field-wrapper> | ||
<a href="/login/google-oauth2/"><button style="margin-top: 10px;" type="button" class="button">{% trans 'Google' %}</button></a> | ||
{% load wagtailcore_tags wagtailimages_tags helpers_tags %} | ||
|
||
{% get_site as site_name %} | ||
|
||
|
||
<!DOCTYPE html> | ||
<html lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Sign in - Wagtail</title> | ||
<meta name="description" content=""> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="robots" content="noindex"> | ||
|
||
<link rel="stylesheet" href="{% static 'wagtailadmin/css/core.css' %}?v=1f5b2029"> | ||
<link rel="shortcut icon" href="{% static 'wagtailadmin/images/favicon.ico' %}?v=1f5b2029"> | ||
</head> | ||
|
||
<body id="wagtail" class="login"> | ||
<div data-sprite></div> | ||
|
||
<div class="wrapper"> | ||
<main class="content-wrapper" id="main"> | ||
<h1>Sign in to Wagtail</h1> | ||
<form class="login-form" action="/admin/login/" method="post" autocomplete="off" novalidate> | ||
{% csrf_token %} | ||
<input type="hidden" name="next" value="/admin/" /> | ||
|
||
<div class="w-field__wrapper" data-field-wrapper> | ||
<label for="id_username">{% trans 'Username' %}</label> | ||
<input type="text" name="username" autocapitalize="none" autofocus required id="id_username"> | ||
</div> | ||
<div class="w-field__wrapper" data-field-wrapper> | ||
<label for="id_password">{% trans 'Password' %}</label> | ||
<input type="password" name="password" autocomplete="current-password" required id="id_password"> | ||
</div> | ||
<div class="w-field__wrapper" data-field-wrapper> | ||
<input type="submit" value="{% trans 'Log in' %}" class="button"> | ||
</div> | ||
</form> | ||
|
||
<div class="login-logo"> | ||
<img class="login-logo-img" alt="" src="{% static 'wagtailadmin/images/wagtail-logo.svg' %}?v=1f5b2029"> | ||
</div> | ||
</form> | ||
|
||
<div class="login-logo"> | ||
<img class="login-logo-img" alt="" src="{% static 'wagtailadmin/images/wagtail-logo.svg' %}?v=1f5b2029"> | ||
</div> | ||
<br> | ||
<p class="login-footer"> | ||
If you are unable to login using Google-sign, email: <a href="mailto:[email protected]" target="_blank">[email protected]</a> | ||
</p> | ||
</main> | ||
|
||
</div> | ||
</body> | ||
</html> | ||
<br> | ||
<p class="login-footer"> | ||
If you are unable to login using Google-sign, email: <a href="mailto:[email protected]" target="_blank">[email protected]</a> | ||
</p> | ||
</main> | ||
|
||
</div> | ||
</body> | ||
</html> | ||
|