feat: Add custom instructions to login
All checks were successful
Build Docker / BuildImage (push) Successful in 30s

This commit is contained in:
2025-03-27 16:09:10 +11:00
parent 41ede19ee4
commit d1c10d781d
4 changed files with 12 additions and 4 deletions

View File

@@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nathan.Woodburn/</title>
<title>Emergency Access</title>
<link rel="icon" href="/assets/img/favicon.png" type="image/png">
<link rel="stylesheet" href="/assets/css/index.css">
</head>
@@ -12,7 +12,8 @@
<body>
<div class="spacer"></div>
<div class="centre">
<h1>Nathan.Woodburn/</h1>
<h1>Retrieve Emergency Information</h1>
<p>Access emergency information by logging in with your YubiKey.</p>
{% if authenticated %}
<p><a href="/emergency">Access Emergency Information</a></p>
<p><a href="/logout">Logout</a></p>

View File

@@ -41,7 +41,10 @@
<div class="spacer"></div>
<div class="centre">
<h1>YubiKey Authentication</h1>
<p>Please insert your YubiKey and press it to authenticate.</p>
<p>Make sure the input field is selected and press your YubiKey to authenticate.</p>
{% if custom_instructions %}
<p>{{ custom_instructions }}</p>
{% endif %}
{% if error %}
<div class="error">{{ error }}</div>