Bug 1220776 - Use a proper header in perfherder's compare table

This commit is contained in:
William Lachance 2015-11-02 14:00:32 -05:00
Родитель 8f37e0017a
Коммит 2f82a6802f
2 изменённых файлов: 18 добавлений и 18 удалений

Просмотреть файл

@ -239,35 +239,35 @@ to { opacity: 0; }
width: 10px;
}
.compare-table td {
.compare-table td, th {
text-align: center;
cursor: default;
}
.compare-table td.test-title {
.compare-table .test-title {
text-align: left;
}
.compare-table .subtest-header > td {
.compare-table .subtest-header > th {
color: transparent;
transition: color 150ms ease-in-out;
}
.compare-table:first-child .subtest-header > td,
.compare-table:hover .subtest-header > td,
.compare-table .subtest-header > td.test-title {
.compare-table:first-child .subtest-header > th,
.compare-table:hover .subtest-header > th,
.compare-table .subtest-header > th.test-title {
color: #333;
}
.compare-table .subtest-header > td.test-title {
.compare-table .subtest-header > th.test-title {
text-align: left;
}
.compare-table td.num-runs {
.compare-table .num-runs {
text-align: right;
}
.compare-table td.test-warning {
.compare-table .test-warning {
text-align: left;
}

Просмотреть файл

@ -2,15 +2,15 @@
<tbody>
<tr class="subtest-header">
<!-- Manually specify table widths because it's just easier this way -->
<td class="test-title"><span style=" word-wrap: break-word;">{{titles[testName]}}</span></td>
<td style="width: 140px;">Base</td>
<td style="width: 30px;"><!-- less than / greater than --></td>
<td style="width: 140px;">New</td>
<td style="width: 80px;">Delta</td>
<td style="width: 120px"><!-- Graphical difference --></td>
<td style="width: 100px;">Confidence</td>
<td class="num-runs" style="width: 80px"># Runs</td>
<td class="test-warning" style="width: 30px"><!-- warning if not enough --></td>
<th class="test-title"><span style=" word-wrap: break-word;">{{titles[testName]}}</span></th>
<th style="width: 140px;">Base</th>
<th style="width: 30px;"><!-- less than / greater than --></th>
<th style="width: 140px;">New</th>
<th style="width: 80px;">Delta</th>
<th style="width: 120px"><!-- Graphical difference --></th>
<th style="width: 100px;">Confidence</th>
<th class="num-runs" style="width: 80px"># Runs</th>
<th class="test-warning" style="width: 30px"><!-- warning if not enough --></th>
</tr>
<tr ng-class="getCompareClasses(compareResult, 'row')" ng-repeat="compareResult in compareResults[testName] | orderBy: 'name'" ng-show="filterPlatform(compareResult)">
<td class="test-title">{{compareResult.name}}