UI minor improvement
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Gregory Trullemans 2021-12-24 09:22:06 +01:00
parent dc060e1cd7
commit e20716e07e
1 changed files with 17 additions and 17 deletions

View File

@ -64,27 +64,27 @@
<table class="table tablesorter table-striped table-condensed" data-sort="table" id="maintable">
<thead>
<tr>
<!-- <th></th> -->
<th style="width: 30%" class="header text-center">Routine</th>
<th style="width: 10%" class="header text-left">Type</th>
<th style="width: 15%" class="header text-center">Date</th>
<th style="width: 10%" class="header text-center"># Try</th>
<th style="width: 10%" class="header text-center"># Success</th>
<th style="width: 3%"></th>
<th style="width: 33%" class="header text-left">Routine</th>
<th style="width: 16%" class="header text-center">Type</th>
<th style="width: 16%" class="header text-center">Date</th>
<th style="width: 16%" class="header text-center"># Try</th>
<th style="width: 16%" class="header text-center"># Success</th>
</tr>
</thead>
<tbody>
{% for record in routine_done_list %}
{% for routinedone in routine_done_list %}
<tr>
<!-- <td> -->
<!-- <a href="{% url 'routine_update' record.routine.id %}"> -->
<!-- <span class="tim-icons icon-pencil text-warning"></span> -->
<!-- </a> -->
<!-- </td> -->
<td class="text-left"><a href="{% url 'routine_details' record.routine.id %}">{{ record.routine.long_label }}</a></td>
<td class="text-center">{{ record.get_routine_type_display }}</td>
<td class="text-center">{{ record.date | date:"d-m-Y"}}</td>
<td class="text-center">{{ record.number_of_try }}</td>
<td class="text-center">{{ record.number_of_successes }}</td>
<td>
<a href="{% url 'routinedone_update' routinedone.id %}">
<span class="tim-icons icon-pencil text-warning"></span>
</a>
</td>
<td class="text-left"><a href="{% url 'routine_details' routinedone.routine.id %}">{{ routinedone.routine.long_label }}</a></td>
<td class="text-center">{{ routinedone.get_routine_type_display }}</td>
<td class="text-center">{{ routinedone.date | date:"d-m-Y"}}</td>
<td class="text-center">{{ routinedone.number_of_try }}</td>
<td class="text-center">{{ routinedone.number_of_successes }}</td>
</tr>
{% endfor %}
</tbody>