Fix metric alignment

This commit is contained in:
Eelco Dolstra 2016-03-25 12:08:18 +01:00
parent 759bd38ef2
commit ef63dd77e3

View file

@ -395,13 +395,14 @@ FOR step IN steps; IF step.busy; busy = 1; END; END;
<table class="table table-small table-striped table-hover clickable-rows"> <table class="table table-small table-striped table-hover clickable-rows">
<thead> <thead>
<tr><th>Name</th><th>Value</th></tr> <tr><th>Name</th><th>Value</th><th></th></tr>
</thead> </thead>
<tbody> <tbody>
[% FOREACH metric IN build.buildmetrics %] [% FOREACH metric IN build.buildmetrics %]
<tr> <tr>
<td><tt><a class="row-link" href="[% c.uri_for('/job' project.name jobset.name job.name 'metric' metric.name) %]">[%HTML.escape(metric.name)%]</a></tt></td> <td><tt><a class="row-link" href="[% c.uri_for('/job' project.name jobset.name job.name 'metric' metric.name) %]">[%HTML.escape(metric.name)%]</a></tt></td>
<td>[%metric.value%][%metric.unit%]</td> <td style="text-align: right">[%metric.value%]</td>
<td>[%metric.unit%]</td>
</tr> </tr>
[% END %] [% END %]
</tbody> </tbody>