generated from nathanwoodburn/python-webserver-template
feat: Add custom instructions to login
All checks were successful
Build Docker / BuildImage (push) Successful in 30s
All checks were successful
Build Docker / BuildImage (push) Successful in 30s
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user