UI minor improvement
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
dc060e1cd7
commit
e20716e07e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue