1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-24 02:38:15 +04:00
Files
tabler/pages/_includes/cards/tasks.html
2019-03-12 22:09:23 +01:00

36 lines
1.4 KiB
HTML

<div class="card">
<div class="card-header">
<h4 class="card-title">Tasks</h4>
</div>
<div class="table-responsive">
<table class="table card-table table-vcenter">
{% for task in site.data.tasks %}
<tr>
<td class="w-1 pr-0">
<label class="custom-control custom-checkbox m-0">
<input type="checkbox" class="custom-control-input" name="" value=""{% if task.checked %} checked{% endif %}>
<span class="custom-control-label"></span>
</label>
</td>
<td class="w-100">
<a href="#" class="text-inherit">{{ task.name }}</a>
</td>
<td class="text-nowrap text-muted-light">
{% include ui/icon.html icon="calendar" %}
{{ forloop.index | random_date: "2019-01-01", "2018-01-01" | date: '%B %d, %Y' }}
</td>
<td class="text-nowrap">
<a href="#" class="text-muted-light">{% include ui/icon.html icon="check" %} {{ forloop.index | random_number: 0, 6 }}/{{ forloop.index | random_number: 5, 10 }}</a>
</td>
<td class="text-nowrap">
<a href="#" class="text-muted-light">{% include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }}</a>
</td>
<td>
{% include ui/avatar.html person-id=forloop.index size="sm" %}
</td>
</tr>
{% endfor %}
</table>
</div>
</div>