-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilise JINJA2 template for unauthenticated pages
- Loading branch information
Robert Putt
authored and
Robert Putt
committed
Jan 7, 2023
1 parent
cc0fb26
commit afa497d
Showing
3 changed files
with
56 additions
and
86 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>Nebra Hotspot · {% block title %}{% endblock %}</title> | ||
<!-- Bootstrap core CSS --> | ||
<link href="/static/css/bootstrap.min.css" rel="stylesheet"> | ||
<link rel="shortcut icon" href="/static/images/favicon.ico"> | ||
<meta name="theme-color" content="#03a9f4"> | ||
<meta name="robots" content="noindex, nofollow"> | ||
</head> | ||
<body> | ||
<header class="bg-white mb-4 d-flex justify-content-center"> | ||
<a href="#" class="p-3 text-center"> | ||
<img src="/static/images/nebra-logo.svg" height="32" alt="Nebra Logo" /> | ||
</a> | ||
</header> | ||
<section class="container pb-4"> | ||
<div class="text-center pb-4 mb-4 border-bottom border-light"> | ||
<h1>Hotspot Management</h1> | ||
<br /> | ||
<h3> | ||
{% if not diagnostics.AN %} | ||
Animal Name Unavailable | ||
{% else %} | ||
{{ diagnostics.AN }} | ||
{% endif %} | ||
</h3> | ||
|
||
{% block body %}{% endblock %} | ||
|
||
</div> | ||
<div class="text-center"> | ||
{% if diagnostics.last_updated %} | ||
<p>Last Updated: {{ diagnostics.last_updated }}</p> | ||
{% else %} | ||
<p>Last Updated: Never</p> | ||
{% endif %} | ||
<p>To get support please visit <a href="https://nebra.io/helium-support">https://nebra.io/helium-support</a></p> | ||
<p><a href="/json">Download Diagnostics Info for Support</a></p> | ||
<p>© Nebra LTD. 2020-{{ now.year }}<p> | ||
</div> | ||
</section> | ||
</body> | ||
</html> |