add teamsnap preferences page.

This commit is contained in:
2022-06-02 08:52:38 -05:00
parent e1d47f345f
commit db020ee153
10 changed files with 171 additions and 2 deletions

View File

@@ -0,0 +1,48 @@
{% extends "base.html" %}{% load static %}
{% block title %} {{ title }}{% endblock %}
{% block content %}
{% load tz %}
<div class="">
<h3 class="mb-2">
Schedule
</h3>
<div class="card">
<div class="card-body p-0">
<div class="table-responsive">
<table class="table table-striped table-sm">
{# <thead>#}
{# </thead>#}
<tbody>
{% for event in events %}
<tr class="small">
<th>
{{ event.data.formatted_title }}
</th>
<td class="">
{{ event.data.start_date|localtime|date:"D"}}
</td>
<td>
{{ event.data.start_date|localtime|date:"M j"}}
</td>
<td class="d-none d-md-table-cell">
{{ event.data.start_date|localtime|date:"Y"}}
</td>
<td>
{{ event.data.start_date|localtime|date:"g:i A"}}
</td>
<td class="small">
{{ event.data.location_name }}
</td>
<td>
<a class="btn btn-outline-secondary btn-sm" href=""><i class="bi bi-three-dots"></i></a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
{% endblock %}