home
·
contact
·
privacy
projects
/
misc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve todo accounting.
[misc]
/
todo_templates
/
tagfilters.html
diff --git
a/todo_templates/tagfilters.html
b/todo_templates/tagfilters.html
index 3f784ea8b69c789808d2583c20946412c5ae7be4..869cf54a8715fbef9a057182523e688d72cf6c8f 100644
(file)
--- a/
todo_templates/tagfilters.html
+++ b/
todo_templates/tagfilters.html
@@
-1,37
+1,32
@@
-<p style="float: left; margin-right: 1em;">
-<input type="submit" value="filter">
-</p>
-<p>
mandatory tags:
mandatory tags:
-{% for and_filter in
db.t_
filter_and %}
+{% for and_filter in filter_and %}
<select name="t_and">
<option></option>
<select name="t_and">
<option></option>
-{% for tag in
db.t_
tags | sort %}
+{% for tag in tags | sort %}
<option value="{{tag|e}}" {% if and_filter == tag %}selected{% endif %}>{{tag|e}}</option>
{% endfor %}
</select>
{% endfor %}
<select name="t_and">
<option></option>
<option value="{{tag|e}}" {% if and_filter == tag %}selected{% endif %}>{{tag|e}}</option>
{% endfor %}
</select>
{% endfor %}
<select name="t_and">
<option></option>
-{% for tag in
db.t_
tags | sort %}
+{% for tag in tags | sort %}
<option value="{{tag|e}}">{{tag|e}}</option>
{% endfor %}
</select>
<br />
forbidden tags:
<option value="{{tag|e}}">{{tag|e}}</option>
{% endfor %}
</select>
<br />
forbidden tags:
-{% for not_filter in
db.t_
filter_not %}
+{% for not_filter in filter_not %}
<select name="t_not">
<option></option>
<select name="t_not">
<option></option>
-{% for tag in
db.t_
tags | sort %}
+{% for tag in tags | sort %}
<option value="{{tag|e}}" {% if not_filter == tag %}selected{% endif %}>{{tag|e}}</option>
{% endfor %}
</select>
{% endfor %}
<select name="t_not">
<option></option>
<option value="{{tag|e}}" {% if not_filter == tag %}selected{% endif %}>{{tag|e}}</option>
{% endfor %}
</select>
{% endfor %}
<select name="t_not">
<option></option>
-{% for tag in
db.t_
tags | sort %}
+{% for tag in tags | sort %}
<option value="{{tag|e}}">{{tag|e}}</option>
{% endfor %}
</select>
<option value="{{tag|e}}">{{tag|e}}</option>
{% endfor %}
</select>
-</p>