SOITA/templates/tournaments.html

26 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2022-05-24 21:01:45 +02:00
{% extends "base.html" %}
{% block title %}Turnieje{% endblock %}
{% block content %}
2022-05-25 00:40:04 +02:00
<h1>Turnieje</h1>
2022-05-25 00:47:18 +02:00
2022-06-08 23:24:17 +02:00
<button class="tournamentButton"><a href="{% url 'CreateTournament' %}">Stwórz nowy turniej</a></button><br><br>
2022-05-25 00:06:44 +02:00
{% for tournament in tournaments %}
2022-06-08 23:24:17 +02:00
<div class="mainTournamentContainer">
2022-05-24 21:01:45 +02:00
<div class="mainTestName">
{{tournament.name}}
<!-- {% if test.password != "" %}-->
<!-- <i class="fa-solid fa-lock locked" title="Test chroniony hasłem"></i>-->
<!-- {% endif %}-->
</div>
<!-- <div class="mainTestDesc">-->
<!-- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus volutpat scelerisque tortor, id sodales leo finibus id. Vivamus id viverra nunc, ac faucibus metus. Nulla a mauris imperdiet sapien lobortis dapibus. Quisque ornare posuere pulvinar.-->
<!-- </div>-->
2022-05-25 00:06:44 +02:00
<button><a href="/tests/{{tournament.id}}/tournament/show">Rozwiąż</a></button>
2022-05-24 21:01:45 +02:00
</div>
<br>
{% endfor %}
{% endblock %}