Created
September 18, 2021 11:29
-
-
Save lorenzobn/2b7e6d679050d9c25f64ebae3c76620a to your computer and use it in GitHub Desktop.
The basic layout of Flask1FA web application
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Basic Page Needs | |
–––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
<meta charset="utf-8"> | |
<title>Login page with 2FA</title> | |
<!-- CSS | |
–––––––––––––––––––––––––––––––––––––––––––––––––– --> | |
<!-- Skeleton CSS --> | |
<link rel="stylesheet" href="/static/css/normalize.css"> | |
<link rel="stylesheet" href="/static/css/skeleton.css"> | |
<!-- Custom CSS file --> | |
<link rel="stylesheet" href="/static/css/style.css"> | |
{% block header %} | |
{% endblock %} | |
</head> | |
<body> | |
<div class="container"> | |
{% block body %} | |
{% endblock %} | |
<div class="row"> | |
{% with messages = get_flashed_messages() %} | |
{% if messages %} | |
<ul class="flashes"> | |
{% for message in messages %} | |
<li class="error">{{ message }}</li> | |
{% endfor %} | |
</ul> | |
{% endif %} | |
{% endwith %} | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment