Init
This commit is contained in:
28
app/templates/user/tabs.html
Normal file
28
app/templates/user/tabs.html
Normal file
@ -0,0 +1,28 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}Puchar Dyrektora - zgłoś uczniów{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div class="tabs mb-0 is-centered is-boxed">
|
||||
<ul>
|
||||
<li class="{{ account_tab }}">
|
||||
<a href="{% url 'account' %}">Konto</a>
|
||||
</li>
|
||||
{% if ongoing %}
|
||||
<li class="{{ submission_tab }}">
|
||||
<a href="{% url 'submission' %}">Zgłoszenie</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li>
|
||||
<a class="has-text-danger">Zgłoszenie niedostępne</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="is-centered">
|
||||
{% block tab %}{% endblock %}
|
||||
</div>
|
||||
|
||||
|
||||
{% endblock %}
|
Reference in New Issue
Block a user