<!-- Copyright (C) 2024 Nastro_ -->
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at https://mozilla.org/MPL/2.0/. -->

<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@3.0.0/build/pure-min.css" integrity="sha384-X38yfunGUhNzHpBaEBsWLO+A0HDYOQi8ufWDkZ0k9e0eXz/tH3II7uKZ9msv++Ls" crossorigin="anonymous">
    <link rel="stylesheet" href="{% static 'css/style.css' %}">
</head>
<body>
{% if user.is_authenticated %}
<nav>
    <div class="pure-menu pure-menu-horizontal">
        <a href="/studentview"><img src="{% static 'images/xlogo-itsaltoadriatico.svg' %}" width="150px" class="pure-menu-heading pure-menu-link"></a>
            <ul class="pure-menu-list">
                <li class="pure-menu-item">
                    <a href="/studentview/edit" class="pure-menu-link">Modifica Profilo</a>
                </li>
		<li class="pure-menu-item">
		  <a href="/studentview/tickets" class="pure-menu-link">Tickets</a>
		</li>
                <li class="pure-menu-item">
                    <a href="/accounts/logout" class="pure-menu-link">Log Out</a>
                </li>
            </ul>
        </div>
</nav>
{% endif %}
     {% block content %}
     {% endblock %}
</body>
</html>
