blob: 26ff67563e9ff8b4b9833916993ebcf799dd1a04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!-- '{{f.class}}' filter -->
<form id="filter_{{f.class}}" class="modal hide fade" tabindex="-1" role="dialog" aria-hidden="true">
<input type="hidden" name="search" value="{{request.GET.search}}"/>
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
<h3>Filter builds by {{tc.name}}</h3>
</div>
<div class="modal-body">
<label>{{f.label}}</label>
<select name="filter">
<option value="">No Filter</option>{% for key, value in f.options.items %}
<option {%if request.GET.filter == value %}selected="" {%endif%}value="{{value}}">{{key}}</option>{% endfor %}
</select>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary disabled">Apply</button>
</div>
</form>
|