/
list.html
33 lines (27 loc) · 886 Bytes
/
list.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{% extends "task/base.html" %}
{% block PageHeading %}tasks{% endblock %}
{% block Content %}
<div class="float-left">
<ul id="status-list" class="inline">
{% for status in statuses %}
<li class="inline {% if status.selected %}selected{% endif %}">
<a href="{{ status.url }}">{{ status.label }}</a></li>
</li>
{% endfor %}
</ul>
</div>
<ul id="task-list" class="no-style">
{% for task in tasks %}
<li>
<span class="task-title"><a href="{% url task:view task.id %}">[{{ task.id }}] {{ task.title }}</a></span>
<div class="task-meta">
<ul class="no-style inline flat task-tags">
{% for tag in task.tags %}
<li class="{% if tag.selected %}selected{% endif %}"><a href="{{ tag.url }}">{{ tag.label }}</a></span>
{% endfor %}
</ul>
</div> <!-- /task-meta -->
</li>
{% endfor %}
</ul>
{% endblock %}