66 lines
3.6 KiB
HTML
66 lines
3.6 KiB
HTML
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
<title>Plankton-Detector</title>
|
|
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
|
|
<link rel="stylesheet" href="{% static 'DetectionApp/css/base.css' %}">
|
|
<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=Josefin+Sans&display=swap" rel="stylesheet">
|
|
{%block extracss%}{%endblock extracss%}
|
|
</head>
|
|
<body>
|
|
<!-- Responsive navbar-->
|
|
<!-- Page content-->
|
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
|
<div class="container">
|
|
<a class="navbar-brand" href="{% url 'detect' %}">
|
|
<img id="logo" src="{% static 'DetectionApp/images/plankton_logo.png' %}" />
|
|
Plankton Detector
|
|
</a>
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
<ul class="navbar-nav ms-auto mb-2 mb-lg-0">
|
|
<li class="nav-item"><a class="nav-link" aria-current="page" href="{% url 'detect' %}">Predict</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="{% url 'posts' %}">Community</a></li>
|
|
{% if user.is_authenticated %}
|
|
<li class="nav-item"><a class="nav-link" href="{%url 'history'%}">History</a></li>
|
|
<li class="nav-item"><a class="nav-link" href="{% url 'logout' %}?next={{request.path}}">Logout</a></li>
|
|
{%else%}
|
|
<li class="nav-item"><a class="nav-link" href="{% url 'login' %}?next={{request.path}}">Login</a></li>
|
|
{%endif%}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div class="root">
|
|
<div class="ocean">
|
|
<div class="bubble bubble--1"></div>
|
|
<div class="bubble bubble--2"></div>
|
|
<div class="bubble bubble--3"></div>
|
|
<div class="bubble bubble--4"></div>
|
|
<div class="bubble bubble--5"></div>
|
|
<div class="bubble bubble--6"></div>
|
|
<div class="bubble bubble--7"></div>
|
|
<div class="bubble bubble--8"></div>
|
|
<div class="bubble bubble--9"></div>
|
|
<div class="bubble bubble--10"></div>
|
|
<div class="bubble bubble--11"></div>
|
|
<div class="bubble bubble--12"></div>
|
|
{%block content%}
|
|
{%endblock content%}
|
|
</div>
|
|
</div>
|
|
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.12.9/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
|
|
{%block extrascript%}
|
|
{%endblock extrascript%}
|
|
</body>
|
|
</html>
|