develop templates for consolidated apps benchcoach

attempted to use as much generic view as possible. the previous views were generic anyway. also did some managing of inheritance (extends/includes)
This commit is contained in:
2021-12-21 17:16:32 -06:00
parent 95697ef4fe
commit 33c772bd2f
12 changed files with 143 additions and 52 deletions

View File

@@ -0,0 +1,23 @@
{% extends 'base.html' %}
{% block navbar %}
{% with events_tab="active" %}
{{ block.super }}
{% endwith %}
{% endblock %}
{% block page_heading %}
Events
{% endblock %}
{% block content %}
<ul class="list-group">
{% for event in events %}
<li class="list-group-item">
{{ event.start.date }}<br>{{ event.start.time }}<br>
<a href="{% url 'edit lineup' event_id=event.id %}">Edit Lineup...</a>
</li>
{% endfor %}
</ul>
{% endblock %}
</html>