summaryrefslogtreecommitdiff
path: root/web/templates/index.html
diff options
context:
space:
mode:
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 %}