revamp teamsnap syncing

This commit is contained in:
2021-12-30 08:54:49 -06:00
parent ba94ca25a8
commit db3740b9ab
8 changed files with 549 additions and 423 deletions

View File

@@ -9,6 +9,10 @@
{% include 'messages.html' %}
<a class="btn btn-primary" href="{% url 'import' %}" role="button">
<i class="bi bi-arrow-clockwise"></i><i class="bi bi-asterisk"></i> Import
</a>
<table class="table">
<ul class="list-group">
{% for obj_name, obj_data in teamsnap_objects.items %}
@@ -17,11 +21,8 @@
<td>{{ obj_data.object_count }}</td>
<th>{{ obj_data.counterpart.name }} </th>
<td>{{ obj_data.counterpart.object_count }}</td>
<td><a class="btn btn-primary" href="{% url 'update' object_name=obj_name %}" role="button">
<i class="bi bi-cloud-fill"></i><i class="bi bi-arrow-right"></i><i class="bi bi-asterisk"></i>
</a></td>
<td><a class="btn btn-primary" href="{% url 'send' object_name=obj_name %}" role="button">
<i class="bi bi-asterisk"/><i class="bi bi-arrow-right"/><i class="bi bi-clipboard"/>
<td><a class="btn btn-primary" href="{% url 'send' object_name=obj_data.counterpart.name %}" role="button">
<i class="bi bi-arrow-clockwise"></i><i class="bi bi-asterisk"></i> Sync
</a></td>
</tr>
{% endfor %}