tasks.html 1.3 KB
Newer Older
C
chomik 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
<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">
C
codecalm 已提交
16
				    <a href="#" class="text-reset">{{ task.name }}</a>
C
chomik 已提交
17
			    </td>
C
codecalm 已提交
18
			    <td class="text-nowrap text-muted">
C
chomik 已提交
19 20 21 22
				    {% 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">
C
codecalm 已提交
23
				    <a href="#" class="text-muted">{% include ui/icon.html icon="check" %} {{ forloop.index | random_number: 0, 6 }}/{{ forloop.index | random_number: 5, 10 }}</a>
C
chomik 已提交
24 25
			    </td>
			    <td class="text-nowrap">
C
codecalm 已提交
26
				    <a href="#" class="text-muted">{% include ui/icon.html icon="message-square" %} {{ forloop.index | random_number: 0, 12 }}</a>
C
chomik 已提交
27 28 29 30 31 32 33 34 35
			    </td>
			    <td>
				    {% include ui/avatar.html person-id=forloop.index size="sm" %}
			    </td>
		    </tr>
		    {% endfor %}
	    </table>
    </div>
</div>