SOITA/templates/tournaments.html
Hubert Jankowski 072b67c9f0 fixes
2022-06-08 23:24:17 +02:00

26 lines
1.1 KiB
HTML

{% extends "base.html" %}
{% block title %}Turnieje{% endblock %}
{% block content %}
<h1>Turnieje</h1>
<button class="tournamentButton"><a href="{% url 'CreateTournament' %}">Stwórz nowy turniej</a></button><br><br>
{% for tournament in tournaments %}
<div class="mainTournamentContainer">
<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>-->
<button><a href="/tests/{{tournament.id}}/tournament/show">Rozwiąż</a></button>
</div>
<br>
{% endfor %}
{% endblock %}