SOITA/templates/base.html

59 lines
2.6 KiB
HTML
Raw Normal View History

2021-12-08 19:28:56 +01:00
<!DOCTYPE html>
2021-12-09 23:25:35 +01:00
{% load static %}
2021-12-08 19:28:56 +01:00
<html lang="en">
<head>
2021-12-09 23:25:35 +01:00
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="{% static 'style.css' %}">
<title>SOITA | {% block title %}{% endblock %}</title>
<meta name="description" content="{% block description %}{% endblock %}">
<!-- reference your installed Font Awesome Free package's files here -->
<script src="{% static 'fontawesomefree/js/all.min.js' %}"></script>
<link href="{% static 'fontawesomefree/css/all.min.css' %}" rel="stylesheet" type="text/css">
2022-01-12 10:50:34 +01:00
{% block additional_head %}
{% endblock %}
2021-12-08 19:28:56 +01:00
</head>
<body>
2021-12-09 23:25:35 +01:00
<div class="sidenav">
<a href="{% url 'home' %}"><i class="fa-solid fa-house"></i> Strona główna</a>
<a href="{% url 'popular' %}"><i class="fa-solid fa-star"></i> Popularne </a>
<a href="{% url 'hard' %}"><i class="fa-solid fa-fire-flame-curved"></i> Trudne </a>
2022-05-15 23:57:42 +02:00
{% if user.type == "admin" %}
<a href="{% url 'home' %}"><i class="fa-solid fa-trophy"></i> Stwórz turniej </a>
{% endif %}
<a href="{% url 'home' %}"><i class="fa-solid fa-trophy"></i> Turnieje </a>
<br>
<a href="{% url 'newTest' %}"><i class="fa-solid fa-circle-plus"></i> Stwórz test</a>
<a href="{% url 'myTests' %}"><i class="fa-solid fa-note-sticky"></i> Twoje testy</a>
<a href="{% url 'solvedTests' %}"><i class="fa-solid fa-square-poll-horizontal"></i> Wyniki testów</a>
2022-01-25 18:17:58 +01:00
<p>Kategorie</p>
2022-01-08 22:15:30 +01:00
<a href="/category/JezykPolski">Język polski</a>
<a href="/category/JezykAngielski">Język angielski</a>
2022-01-31 00:09:40 +01:00
<!-- <a href="/category/JezykNiemiecki">Język niemiecki</a>-->
2022-01-08 22:15:30 +01:00
<a href="/category/Matematyka">Matematyka</a>
<a href="/category/Informatyka">Informatyka</a>
<a href="/category/Fizyka">Fizyka</a>
<a href="/category/Chemia">Chemia</a>
<a href="/category/Biologia">Biologia</a>
<a href="/category/Geografia">Geografia</a>
<a href="/category/Historia">Historia</a>
2022-01-31 00:09:40 +01:00
<a href="/category/Inne">Inne</a>
2022-01-25 18:17:58 +01:00
<p>Konto</p>
<a href="/users/account"><i class="fa-solid fa-gear"></i> Ustawienia</a>
2022-05-15 22:12:32 +02:00
<a href="/questionnaire/questionnaire"><i class="fa-solid fa-file-pen"></i> Ankieta</a>
<a href="{% url 'help' %}"><i class="fa-solid fa-circle-question"></i> Pomoc</a>
<a href="/users/logout"><i class="fa-solid fa-right-from-bracket"></i> Wyloguj</a>
2021-12-09 23:25:35 +01:00
</div>
<div id="content", name="content", class="main">
<div class="mainContainer">
{% block content %}
{% endblock %}
</div>
2021-12-09 23:25:35 +01:00
</div>
2021-12-08 19:28:56 +01:00
</body>
</html>