Skip to content

Commit 029051a

Browse files
committed
Add (All, None) selector on environments list
In the comparison page there are selectors on executables and benchmarks. As we have quite few environents it's good to have the same selector on the environments list
1 parent 7a781df commit 029051a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

codespeed/templates/codespeed/comparison.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@
1919
<div class="sidebox">
2020
<div class="boxhead"><h2>Environments</h2></div>
2121
<div class="boxbody">
22-
<ul>{% for env in enviros %}
22+
<ul><a href="#" class="togglefold">Environments</a> <a href="#" class="checkall">(All</a>, <a href="#" class="uncheckall">None)</a>
23+
{% for env in enviros %}
2324
<li title="{{ env.os }}, {{ env.cpu }}">
2425
<input id="env_{{ env.id }}" type="checkbox" name="environments" value="{{ env.id }}" />
2526
<label for="env_{{ env.id }}">{{ env }}</label>
2627
</li>{% endfor %}
27-
</ul>
28+
</ul>
2829
</div>
2930
</div>
3031
<div id="executable" class="sidebox">

0 commit comments

Comments
 (0)