summaryrefslogtreecommitdiff
path: root/web/templates/index.html
diff options
context:
space:
mode:
authorDominic DiTaranto <domdit@gmail.com>2024-10-28 11:36:09 -0400
committerDominic DiTaranto <domdit@gmail.com>2024-10-28 11:36:09 -0400
commit286161b0912007c6f3859868a006e9818752a4aa (patch)
treed016592f7fa38b93f15e818586a9d294d80b6f3c /web/templates/index.html
init commit
Diffstat (limited to 'web/templates/index.html')
-rw-r--r--web/templates/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/web/templates/index.html b/web/templates/index.html
new file mode 100644
index 0000000..5f2150b
--- /dev/null
+++ b/web/templates/index.html
@@ -0,0 +1,26 @@
+{% extends 'base.html' %}
+
+{% block content %}
+
+<table class="table">
+ <thead>
+ <tr>
+ <td>Event Name</td>
+ <td>Already Responded</td>
+ <td>Start Date</td>
+ <td>End Date</td>
+ </tr>
+ </thead>
+ <tbody>
+ {% for event in events %}
+ <tr>
+ <td><a href="{% url 'event' event.id %}">{{event.name}}</a></td>
+ <td>{{event.responses}}</td>
+ <td>{{event.start_date}}</td>
+ <td>{{event.end_date}}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+
+{% endblock %}