Skip to content

Commit 41251ae

Browse files
committed
Move missing filters to other sections
1 parent 0468bc6 commit 41251ae

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

pytest_mpl/summary/templates/filter.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ <h5>Show tests which have...</h5>
4747
onclick="applyFilters()">
4848
differing images <span class="badge bg-light text-dark">?</span>
4949
</label>
50+
<label class="list-group-item list-group-item-warning">
51+
<input class="form-check-input me-1 filter" type="checkbox" value="" id="image-missing"
52+
onclick="applyFilters()">
53+
no baseline image <span class="badge bg-light text-dark">?</span>
54+
</label>
5055
</div>
5156
<div class="list-group m-2 mpl-hash">
5257
<label class="list-group-item list-group-item-success">
@@ -59,18 +64,11 @@ <h5>Show tests which have...</h5>
5964
onclick="applyFilters()">
6065
differing hashes <span class="badge bg-light text-dark">?</span>
6166
</label>
62-
</div>
63-
<div class="list-group m-2">
64-
<label class="list-group-item mpl-hash list-group-item-warning">
67+
<label class="list-group-item list-group-item-warning">
6568
<input class="form-check-input me-1 filter" type="checkbox" value="" id="hash-missing"
6669
onclick="applyFilters()">
6770
no baseline hash <span class="badge bg-light text-dark">?</span>
6871
</label>
69-
<label class="list-group-item list-group-item-warning">
70-
<input class="form-check-input me-1 filter" type="checkbox" value="" id="image-missing"
71-
onclick="applyFilters()">
72-
no baseline image <span class="badge bg-light text-dark">?</span>
73-
</label>
7472
</div>
7573
<div class="d-flex">
7674
<button type="submit" class="btn btn-primary m-2" data-bs-dismiss="offcanvas">Apply</button>

0 commit comments

Comments
 (0)