home
·
contact
·
privacy
projects
/
plomtask
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-organize and extend/improve POST/GET /day tests.
[plomtask]
/
templates
/
processes.html
diff --git
a/templates/processes.html
b/templates/processes.html
index 977ac405ac89c57fd66d65bf8dd71d7c78cbfb67..b6a9608fdea8dc247bc66ef5017a1e26e3f6506a 100644
(file)
--- a/
templates/processes.html
+++ b/
templates/processes.html
@@
-3,14
+3,23
@@
{% block content %}
<h3>processes</h3>
{% block content %}
<h3>processes</h3>
-<table>
+<form action="processes" method="GET">
+<input type="submit" value="filter" />
+<input name="pattern" type="text" value="{{pattern}}" />
+</form>
+
+<table class="alternating">
<tr>
<th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
<tr>
<th><a href="?sort_by={% if sort_by == "steps" %}-{% endif %}steps">steps</a></th>
+<th><a href="?sort_by={% if sort_by == "owners" %}-{% endif %}owners">owners</a></th>
+<th><a href="?sort_by={% if sort_by == "effort" %}-{% endif %}effort">effort</a></th>
<th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
</tr>
{% for process in processes %}
<tr>
<th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
</tr>
{% for process in processes %}
<tr>
-<td>{{ process.explicit_steps|count }}</td>
+<td class="number">{{ process.explicit_steps|count }}</td>
+<td class="number">{{ process.n_owners }}</td>
+<td class="number">{{ process.effort.newest }}</td>
<td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
</tr>
{% endfor %}
<td><a href="process?id={{process.id_}}">{{process.title.newest}}</a></td>
</tr>
{% endfor %}