home · contact · privacy
Re-factor date ranging and default to range 'yesterday' to 'tomorrow'.
[plomtask] / templates / processes.html
1 {% extends '_base.html' %}
2
3 {% block content %}
4 <h3>processes</h3>
5
6 <form action="processes" method="GET">
7 <input type="submit" value="filter" />
8 <input name="pattern" value="{{pattern}}" />
9 </form>
10
11 <table>
12 <tr>
13 <th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
14 <th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
15 </tr>
16 {% for process in processes %}
17 <tr>
18 <td>{{ process.explicit_steps|count }}</td>
19 <td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
20 </tr>
21 {% endfor %}
22 </table>
23
24 <p>
25 <a href="process">add</a>
26 </p>
27 {% endblock %}