Remove obsolete CSS classes

This commit is contained in:
Eelco Dolstra 2013-02-22 17:11:10 +01:00
parent f5a2859ce2
commit bd7be1cb84
8 changed files with 12 additions and 24 deletions

View file

@ -24,7 +24,7 @@
[% IF ( type == "All" ) || ( type == "Failed" && step.status != 0 ) || ( type == "Running" && step.busy == 1 ) %]
[% has_log = log_exists(step.drvpath);
log = c.uri_for('/build' build.id 'nixlog' step.stepnr); %]
<tr [% IF has_log %] class="clickable" onclick="window.location = '[% log %]'" [% END %]>
<tr [% IF has_log %] onclick="window.location = '[% log %]'" [% END %]>
<td>[% step.stepnr %]</td>
<td>
[% IF step.type == 0 %]

View file

@ -45,14 +45,12 @@ install the package simply by clicking on the packages below.</p>
<tbody>
[% odd = 0 %]
[% FOREACH pkg IN nixPkgs %]
[% b = pkg.build %]
[% uri = "${curUri}/pkg/${pkg.name}.nixpkg" %]
<tr class="clickable [% IF odd %] odd [% END; odd = !odd %]" onclick="window.location = '[% uri %]'">
<tr onclick="window.location = '[% uri %]'">
<td><a href="[% c.uri_for('/build' b.id) %]">[% b.id %]</a></td>
<td><a href="[% uri %]"><tt>[% b.get_column('releasename') || b.nixname %]</tt></a></td>
<td><tt>[% b.system %]</tt></td>

View file

@ -62,7 +62,7 @@ END;
BLOCK renderBuildListHeader %]
<table class="buildList table table-striped table-condensed [% IF !unsortable %]tablesorter[% END %] [% IF !showSchedulingInfo %] clean[% END %]">
<table class="table table-striped table-condensed [% IF !unsortable %]tablesorter[% END %]">
<thead>
<tr>
[% IF !hideResultInfo %]
@ -94,15 +94,8 @@ BLOCK renderBuildListHeader %]
BLOCK renderBuildListBody;
odd = 0;
FOREACH build IN builds; %]
<tr class="clickable
[% IF showSchedulingInfo %]
[% IF build.busy %]runningBuild[% ELSIF build.disabled == 1 || build.get_column('enabled') == 0 %]disabledBuild[% END %]
[% ELSE %]
[% IF odd %] odd [% END; odd = !odd %]
[% END %]"
onclick="if(event.which == 2) return true; window.location = '[% c.uri_for('/build' build.id) %]'">
<tr onclick="if(event.which == 2) return true; window.location = '[% c.uri_for('/build' build.id) %]'">
[% IF !hideResultInfo %]
<td>
[% INCLUDE renderBuildStatusIcon size=16 busy=(showSchedulingInfo ? 1 : 0) buildstatus=build.buildstatus %]
@ -405,7 +398,7 @@ BLOCK renderEvals %]
[% FOREACH e IN evals;
eval = e.eval;
link = c.uri_for(c.controller('JobsetEval').action_for('view'), [eval.id]) %]
<tr class="clickable" onclick="window.location = '[% link %]'">
<tr onclick="window.location = '[% link %]'">
[% IF !jobset && !build %]
<td>[% INCLUDE renderFullJobsetName project=eval.get_column('project') jobset=eval.get_column('jobset') %]</td>
[% END %]

View file

@ -13,7 +13,7 @@ that dont build.</p>
<h2>Evaluation errors in jobsets</h2>
<table class="buildList tablesorter table table-condensed table-striped">
<table class="tablesorter table table-condensed table-striped">
<thead>
<tr>
<th>Name</th>
@ -39,7 +39,7 @@ that dont build.</p>
<h2>Evaluation errors in jobs</h2>
<table class="buildList tablesorter table table-condensed table-striped">
<table class="tablesorter table table-condensed table-striped">
<thead>
<tr>
<th>Name</th>

View file

@ -3,9 +3,8 @@
<table class="table table-striped table-condensed">
<thead><tr><th>Job</th>[% FOREACH s IN systems %]<th>[% s.system %]</th>[% END %]</tr></thead>
<tbody>
[% odd = 0 %]
[% FOREACH j IN activeJobsStatus %]
<tr class="[% IF odd %] odd [% END; odd = !odd %]">
<tr>
<td>[% INCLUDE renderJobName project=project.name jobset = jobset.name job = j.get_column('job') %]</td>
[% FOREACH s IN systems %]
[% system = s.system %]

View file

@ -25,8 +25,7 @@
</thead>
<tbody>
[% FOREACH p IN projects %]
<tr class="clickable [% IF odd %] odd [% END; odd = !odd %]"
onclick="window.location = '[% c.uri_for('/project' p.name) %]'">
<tr onclick="window.location = '[% c.uri_for('/project' p.name) %]'">
<td><span class="[% IF !p.enabled %]disabled-project[% END %] [%+ IF p.hidden %]hidden-project[% END %]">[% INCLUDE renderProjectName project = p.name %]</span></td>
<td>[% HTML.escape(p.displayname) %]</td>
<td>[% WRAPPER maybeLink uri=p.homepage %][% HTML.escape(p.description) %][% END %]</td>

View file

@ -27,8 +27,7 @@
<tbody>
[% FOREACH j IN jobsets %]
[% successrate = 0 %]
<tr class="clickable [% IF odd %] odd [% END; odd = !odd %]"
onclick="window.location = '[% c.uri_for('/jobset' project.name j.name) %]'">
<tr onclick="window.location = '[% c.uri_for('/jobset' project.name j.name) %]'">
<td>
[% IF j.get_column('nrscheduled') > 0 %]
<img src="/static/images/help_16.png" alt="Scheduled" />
@ -130,7 +129,7 @@
<tbody>
[% FOREACH release IN releases %]
[% link = c.uri_for('/release' project.name release.name) %]
<tr class="clickable" onclick="window.location = '[% link %]'">
<tr onclick="window.location = '[% link %]'">
<td><a href="[% link %]"><tt>[% release.name %]</tt></a></td>
<td>[% INCLUDE renderDateTime timestamp = release.timestamp %]</td>
</tr>

View file

@ -25,7 +25,7 @@
<tbody>
[% FOREACH result IN results %]
[% link = c.uri_for('/view' project.name view.name result.id) %]
<tr class="clickable" onclick="window.location = '[% link %]'">
<tr onclick="window.location = '[% link %]'">
<td>
[% IF result.status == 0 %]
<img src="/static/images/checkmark_16.png" />