Make some more tables clickable

This commit is contained in:
Eelco Dolstra
2013-02-22 18:11:29 +01:00
parent 9422c9d2a7
commit c0f9c9b4aa
3 changed files with 32 additions and 33 deletions

View File

@ -5,14 +5,14 @@
<p>The following projects match your query:</p>
<table class="table table-striped table-condensed">
<table class="table table-striped table-condensed clickable-rows">
<thead>
<tr><th>Project</th><th>Description</th></tr>
</thead>
<tbody>
[% FOREACH p IN projects %]
<tr>
<td><span class="[% IF !p.enabled %]disabled-project[% END %]">[% INCLUDE renderProjectName project=p.name %]</span></td>
<td><span class="[% IF !p.enabled %]disabled-project[% END %]">[% INCLUDE renderProjectName project=p.name inRow=1 %]</span></td>
<td>[% HTML.escape(p.description) %]</td>
</tr>
[% END %]
@ -25,14 +25,14 @@
<p>The following jobsets match your query:</p>
<table class="table table-striped table-condensed">
<table class="table table-striped table-condensed clickable-rows">
<thead>
<tr><th>Jobset</th><th>Description</th></tr>
</thead>
<tbody>
[% FOREACH j IN jobsets %]
<tr>
<td><span class="[% IF !j.enabled %]disabled-jobset[% END %]">[% INCLUDE renderFullJobsetName project=j.get_column('project') jobset=j.name %]</span></td>
<td><span class="[% IF !j.enabled %]disabled-jobset[% END %]">[% INCLUDE renderFullJobsetName project=j.get_column('project') jobset=j.name inRow=1 %]</span></td>
<td>[% HTML.escape(j.description) %]</td>
</tr>
[% END %]
@ -45,14 +45,14 @@
<p>The following jobs match your query:[% IF jobs.size > limit %] <span class="text-warning">(first [% limit %] results only)</span>[% END %]</p>
<table class="table table-striped table-condensed">
<table class="table table-striped table-condensed clickable-rows">
<thead>
<tr><th>Job</th></tr>
</thead>
<tbody>
[% FOREACH j IN jobs %]
<tr>
<td><span class="[% IF !j.get_column('enabled') %]disabled-job[% END %]">[% INCLUDE renderFullJobName project=j.get_column('project') jobset=j.get_column('jobset') job=j.name %]</span></td>
<td><span class="[% IF !j.get_column('enabled') %]disabled-job[% END %]">[% INCLUDE renderFullJobName project=j.get_column('project') jobset=j.get_column('jobset') job=j.name inRow=1 %]</span></td>
</tr>
[% END %]
</tbody>