xygt/app/templates/base.html

29 lines
1.3 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2023-12-29 20:47:28 +01:00
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>xygt.cc - {{ title }}</title>
</head>
<body>
2023-12-29 20:47:28 +01:00
<ul>
2023-12-29 22:11:22 +01:00
<li class="nav-item"><a href="{{ url_for('index') }}">Home</a></li>
<li class="nav-item"><a href="{{ url_for('about') }}">About</a></li>
<li class="nav-item"><a href="{{ url_for('faq') }}">FAQ</a></li>
<li class="nav-item"><a href="{{ url_for('contact') }}">Contact</a></li>
2023-12-29 20:47:28 +01:00
{% if current_user.is_authenticated %}
<li class="nav-item"><a href="{{ url_for('dashboard') }}">Dashboard</a></li>
2023-12-29 22:11:22 +01:00
<li class="nav-item"><a href="{{ url_for('logout') }}">Logout</a></li>
2023-12-29 20:47:28 +01:00
{% else %}
2023-12-29 22:11:22 +01:00
<li class="nav-item"><a href="{{ url_for('login') }}">Login</a></li>
<li class="nav-item"><a href="{{ url_for('register') }}">Register</a></li>
2023-12-29 20:47:28 +01:00
{% endif %}
2024-01-28 10:59:14 +01:00
<li class="nav-item">v0.1.0</li>
2023-12-29 20:47:28 +01:00
</ul>
<hr>
{% block content %}{% endblock %}
2023-12-29 20:47:28 +01:00
<hr>
2024-01-28 10:59:14 +01:00
<p>xygt.cc v0.1.0 - &copy; Jack Eilles 2024 - <a href="{{ url_for('transparency') }}">Transparency</a> - <a href="{{ url_for('tos') }}">Terms of Service</a> - <a href="{{ url_for('privacy') }}">Privacy Policy</a> </p>
</body>
</html>