2022-12-31 13:18:27 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
{% load static %}
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2023-01-03 18:03:30 +00:00
|
|
|
<title>Timetracker - {% block title %}Untitled{% endblock title %}</title>
|
2022-12-31 13:18:27 +00:00
|
|
|
<link rel="stylesheet" href="https://rsms.me/inter/inter.css">
|
|
|
|
<link rel="stylesheet" href="{% static 'base.css' %}" />
|
|
|
|
</head>
|
|
|
|
|
2023-01-02 18:37:49 +00:00
|
|
|
<body class="dark">
|
2023-01-03 18:01:10 +00:00
|
|
|
<div class="dark:bg-gray-800 h-screen">
|
2023-01-03 18:03:30 +00:00
|
|
|
<nav class="mb-4 bg-white dark:bg-gray-900 border-gray-200 rounded">
|
|
|
|
<div class="container flex flex-wrap items-center justify-between mx-auto">
|
|
|
|
<a href="#" class="flex items-center">
|
|
|
|
<span class="text-4xl">⌚</span>
|
|
|
|
<span class="self-center text-xl font-semibold whitespace-nowrap text-white">Timetracker</span>
|
|
|
|
</a>
|
|
|
|
<div class="w-full md:block md:w-auto">
|
|
|
|
<ul
|
2023-01-03 18:01:10 +00:00
|
|
|
class="flex flex-col md:flex-row p-4 mt-4 dark:text-white">
|
2023-01-03 18:03:30 +00:00
|
|
|
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_game' %}">New Game</a></li>
|
2023-01-04 16:19:40 +00:00
|
|
|
{% if game_available and platform_available %}
|
2023-01-03 18:03:30 +00:00
|
|
|
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_purchase' %}">New Purchase</a></li>
|
2023-01-04 16:19:40 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if purchase_available %}
|
2023-01-03 18:03:30 +00:00
|
|
|
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'add_session' %}">New Session</a></li>
|
2023-01-04 16:19:40 +00:00
|
|
|
{% endif %}
|
|
|
|
{% if session_count > 0 %}
|
2023-01-03 18:03:30 +00:00
|
|
|
<li><a class="block py-2 pl-3 pr-4 hover:underline" href="{% url 'list_sessions' %}">All Sessions</a></li>
|
2023-01-04 16:19:40 +00:00
|
|
|
{% endif %}
|
2023-01-03 18:03:30 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2022-12-31 13:18:27 +00:00
|
|
|
</div>
|
2023-01-03 18:03:30 +00:00
|
|
|
</nav>
|
|
|
|
{% block content %}No content here.{% endblock %}
|
2023-01-03 18:01:10 +00:00
|
|
|
</div>
|
2023-01-03 20:35:09 +00:00
|
|
|
{% load version %}
|
|
|
|
<span id="version-info" class="absolute left-1 bottom-1 text-xs text-slate-300 dark:text-slate-600">{% version %} ({% version_date %})</span>
|
2022-12-31 13:18:27 +00:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|