Plankton_Detector/PlanktonDetector/templates/base.html
2023-12-06 18:12:31 +01:00

30 lines
985 B
HTML

{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{% static 'DetectionApp/css/base.css' %}">
{%block extracss%}{%endblock extracss%}
<title>Plankton Detector</title>
</head>
<body>
<div class="top-menu">
<a href="#">Placeholder</a>
<a href="{% url 'detect' %}">Predict</a>
{% if user.is_authenticated %}
<a href="{% url 'logout' %}">Logout {{user}}</a>
{%else%}
<a href="{% url 'login' %}">Login</a>
{%endif%}
</div>
{%block content%}{%endblock content%}
<div class="footer">
<p>Footer</p>
</div>
</body>
</html>