40 lines
1.4 KiB
HTML
40 lines
1.4 KiB
HTML
{% load static %}
|
|
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}HoopScout{% endblock %}</title>
|
|
<link rel="stylesheet" href="{% static 'css/main.css' %}">
|
|
<script src="https://unpkg.com/htmx.org@1.9.12" defer></script>
|
|
</head>
|
|
<body>
|
|
<header class="site-header">
|
|
<div class="container row-between">
|
|
<a class="brand" href="{% url 'core:home' %}">HoopScout</a>
|
|
<nav class="row-gap">
|
|
<a href="{% url 'players:index' %}">Players</a>
|
|
<a href="{% url 'competitions:index' %}">Competitions</a>
|
|
<a href="{% url 'teams:index' %}">Teams</a>
|
|
<a href="{% url 'scouting:index' %}">Scouting</a>
|
|
{% if request.user.is_authenticated %}
|
|
<a href="{% url 'core:dashboard' %}">Dashboard</a>
|
|
<form method="post" action="{% url 'users:logout' %}">
|
|
{% csrf_token %}
|
|
<button type="submit" class="link-button">Logout</button>
|
|
</form>
|
|
{% else %}
|
|
<a href="{% url 'users:login' %}">Login</a>
|
|
<a href="{% url 'users:signup' %}">Signup</a>
|
|
{% endif %}
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
|
|
<main class="container">
|
|
{% include 'partials/messages.html' %}
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
</body>
|
|
</html>
|