Skip to content

Commit

Permalink
Update login.html
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewHowardRSA123 authored Jun 28, 2024
1 parent 049f1e5 commit bce2d08
Showing 1 changed file with 53 additions and 42 deletions.
95 changes: 53 additions & 42 deletions home/templates/wagtailadmin/login.html
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>

0 comments on commit bce2d08

Please sign in to comment.