xygt/app/templates/base.html

28 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 %}
</ul>
<hr>
{% block content %}{% endblock %}
2023-12-29 20:47:28 +01:00
<hr>
<p>xygt.cc - &copy; Jack Eilles 2023 - <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>