diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-04 00:44:20 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-04 00:44:20 +0530 |
commit | 063b7dffebfaaa99bca9bc1ec9e3293cb33188b4 (patch) | |
tree | d10d01f9e2ff5f5c84742989536cd327cfa011b6 /app/templates/message.html | |
parent | 1944f9d65dfe2fe566d669c265cf4cd0d03ccf8d (diff) |
addde message template and 401 handler
Diffstat (limited to 'app/templates/message.html')
-rw-r--r-- | app/templates/message.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/app/templates/message.html b/app/templates/message.html new file mode 100644 index 0000000..24603ef --- /dev/null +++ b/app/templates/message.html @@ -0,0 +1,17 @@ +{% extends "base.html" %} +{% block title %}Message{% endblock %} +{% block head %} + {{ super() }} +{% endblock %} +{% block content %} +<section class="py-5 text-center container"> + <div class="col-lg-6 col-md-8 mx-auto"> + {% if code is defined %} + <h1 class="display-1">{{code}}</h1> + {% endif %} + <p class="lead text-muted">{{ message }}</p> + + <p>Click <a href={{url_for("index")}}>here</a> to go home.</p> + </div> +</section> +{% endblock %}
\ No newline at end of file |