diff options
author | Dominic DiTaranto <domdit@gmail.com> | 2024-10-28 11:36:09 -0400 |
---|---|---|
committer | Dominic DiTaranto <domdit@gmail.com> | 2024-10-28 11:36:09 -0400 |
commit | 286161b0912007c6f3859868a006e9818752a4aa (patch) | |
tree | d016592f7fa38b93f15e818586a9d294d80b6f3c /web/templates/index.html |
init commit
Diffstat (limited to 'web/templates/index.html')
-rw-r--r-- | web/templates/index.html | 26 |
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 %} |