Update jobset comparison button
This commit is contained in:
parent
3f77bd240f
commit
2902684c61
|
@ -1,21 +1,21 @@
|
||||||
[% WRAPPER layout.tt title="Evaluation $eval.id of jobset $project.name:$jobset.name " %]
|
[% WRAPPER layout.tt title="Evaluation $eval.id of jobset $project.name:$jobset.name " %]
|
||||||
[% PROCESS common.tt %]
|
[% PROCESS common.tt %]
|
||||||
|
|
||||||
<div class="btn-group pull-right">
|
<div class="dropdown">
|
||||||
<a class="btn btn-primary dropdown-toggle" data-toggle="dropdown" href="#"><i class="fas fa-eye"></i> Compare to...</a>
|
<button class="btn btn-primary dropdown-toggle float-right" data-toggle="dropdown"><i class="fas fa-eye"></i> Compare to...</button>
|
||||||
<ul class="dropdown-menu">
|
<div class="dropdown-menu dropdown-menu-right">
|
||||||
<li><a href="?">Preceding evaluation in this jobset</a></li>
|
<a class="dropdown-item" href="?">Preceding evaluation in this jobset</a>
|
||||||
<li class="divider"></li>
|
<div class="dropdown-divider"></div>
|
||||||
<li><a href="?compare=-[% 24 * 60 * 60 %]">This jobset <strong>one day</strong> earlier</a></li>
|
<a class="dropdown-item" href="?compare=-[% 24 * 60 * 60 %]">This jobset <strong>one day</strong> earlier</a>
|
||||||
<li><a href="?compare=-[% 7 * 24 * 60 * 60 %]">This jobset <strong>one week</strong> earlier</a></li>
|
<a class="dropdown-item" href="?compare=-[% 7 * 24 * 60 * 60 %]">This jobset <strong>one week</strong> earlier</a>
|
||||||
<li><a href="?compare=-[% 31 * 24 * 60 * 60 %]">This jobset <strong>one month</strong> earlier</a></li>
|
<a class="dropdown-item" href="?compare=-[% 31 * 24 * 60 * 60 %]">This jobset <strong>one month</strong> earlier</a>
|
||||||
[% IF project.jobsets_rs.count > 1 %]
|
[% IF project.jobsets_rs.count > 1 %]
|
||||||
<li class="divider"></li>
|
<div class="dropdown-divider"></div>
|
||||||
[% FOREACH j IN project.jobsets.sort('name'); IF j.name != jobset.name %]
|
[% FOREACH j IN project.jobsets.sort('name'); IF j.name != jobset.name %]
|
||||||
<li><a href="?compare=[% j.name %]">Jobset <tt>[% project.name %]:[% j.name %]</tt></a></li>
|
<a class="dropdown-item" href="?compare=[% j.name %]">Jobset <tt>[% project.name %]:[% j.name %]</tt></a>
|
||||||
[% END; END %]
|
[% END; END %]
|
||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>This evaluation was performed [% IF eval.flake %]from the flake
|
<p>This evaluation was performed [% IF eval.flake %]from the flake
|
||||||
|
|
Loading…
Reference in a new issue