Update table in dashboard

This commit is contained in:
Gregory Trullemans 2023-10-31 15:46:25 +01:00
parent 3cb646fc75
commit 6cf51f00bf
2 changed files with 4 additions and 4 deletions

View File

@ -83,7 +83,7 @@
</div>
<div class="card-body pt-0">
{% if event_list %}
<table class="table tablesorter table-striped table-condensed" data-sort="table" id="event_table">
<table class="table table-striped table-condensed mb-0" data-sort="table" id="event_table">
{% for event in event_list %}
<tr>
<td class="text-left"><a href="{% url 'event_details' event.id %}">{{ event.name }}</a></td>
@ -112,7 +112,7 @@
</div>
<div class="card-body pt-0">
{% if waiting_update_gymnast %}
<table class="table tablesorter table-striped table-condensed" data-sort="table" id="gymnast_table">
<table class="table table-striped table-condensed mb-0" data-sort="table" id="gymnast_table">
{% for gymnast in waiting_update_gymnast %}
<tr>
<td class="text-left"><a href="{% url 'gymnast_details' gymnast.id %}">{{ gymnast }}</a></td>
@ -156,7 +156,7 @@
</div>
<div class="card-body">
{% if birthday_list %}
<table class="table tablesorter table-striped table-condensed" data-sort="table" id="gymnast_table">
<table class="table table-striped table-condensed mb-0" data-sort="table" id="gymnast_table">
{% for gymnast in birthday_list %}
<tr>
<td class="text-left"><a href="{% url 'gymnast_details' gymnast.id %}">{{ gymnast.first_name }}</a></td>

View File

@ -82,7 +82,7 @@
},
sortList: [[4, 0], [1, 0]],
{% else %}
sortList: [[3, 1], [0, 0]],
sortList: [[3, 0], [0, 0]],
{% endif %}
});