Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "nature_recorder"
version = "1.25.0"
version = "1.26.0"
description = "Wildlife sightings database"
readme = "README.md"
requires-python = ">=3.11"
Expand Down
17 changes: 11 additions & 6 deletions src/naturerec_web/auth/templates/auth/login.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
{% extends "layout.html" %}
{% set suppress_menu = True %}
{% block title %}Sign in{% endblock %}

{% block content %}
<form method="post">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<section class="vh-100" style="background-color: #fff;">
<div class="container py-5 h-100">
<section class="login-page">
<div class="container py-5">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-12 col-md-8 col-lg-6 col-xl-5">
<div class="card shadow-lg" style="border-radius: 1rem;">
<div class="login-brand">
<span class="brand-mark" aria-hidden="true"><i class="fas fa-leaf"></i></span>
<div><strong>Nature Recorder</strong><small>Wildlife observation database</small></div>
</div>
<div class="card login-card">
<div class="card-body p-5 text-center">

<h3 class="mb-5">Sign in</h3>
<p class="eyebrow">Welcome back</p>
<h3 class="mb-4">Sign in to your records</h3>

<div class="form-floating mb-4">
{% include "error.html" with context%}
Expand All @@ -34,7 +39,7 @@ <h3 class="mb-5">Sign in</h3>
<label class="form-check-label" for="remember">Remember password</label>
</div>

<button class="btn btn-primary btn-lg btn-block" type="submit">Login</button>
<button class="btn btn-primary btn-lg w-100" type="submit">Sign in</button>
</div>
</div>
</div>
Expand Down
Loading
Loading