This repository has been archived by the owner on Nov 10, 2017. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1142680 - Add a user interface for choosing compare data
- Loading branch information
Showing
4 changed files
with
93 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,24 @@ | ||
<nav class="navbar navbar-default" role="navigation"> | ||
<div class="container-fluid"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="#">Perfherder Compare</a> | ||
</div> | ||
<div id="datapoint-detail" ng-show="originalRevision && newRevision"> | ||
<div ng-if="dataLoading"> | ||
Loading all results, please wait a minute... | ||
<img src="img/dancing_cat.gif" /> | ||
</div> | ||
</nav> | ||
|
||
<div class="container-fluid"> | ||
<div id="datapoint-detail" ng-show="originalRevision && newRevision"> | ||
<div ng-if="dataLoading"> | ||
Loading all results, please wait a minute... | ||
<img src="img/dancing_cat.gif" /> | ||
</div> | ||
<div id="subtest-summary" ng-if="!dataLoading"> | ||
<h4>Compare all data for revision {{newProject}}: {{newRevision}} to {{originalProject}}: {{originalRevision}}</h4> | ||
<p class="help-block">Hover over each entry for more options.</p> | ||
<table class="table"> | ||
<tbody> | ||
<tr ng-class="{'subtest-header': compareResult.headerColumns==2, 'subtest-empty': compareResult.isEmpty && !compareResult.headerColumns==2, 'subtest-empty': (hideMinorChanges && compareResult.isMinor)}" ng-repeat="compareResult in compareResults"> | ||
<td colspan="{{compareResult.headerColumns}}">{{compareResult.name}}</td> | ||
<td ng-class="{'subtest-empty': compareResult.headerColumns==2}"><a ng-href="{{compareResult.detailsLink}}">Details</a></td> | ||
<td ng-attr-title="runs: {{compareResult.originalRuns}}">{{compareResult.originalGeoMean}}</td> | ||
<td>+/-{{compareResult.originalStddev}} ({{compareResult.originalStddevPct}}%)</td> | ||
<td ng-attr-title="runs: {{compareResult.newRuns}}">{{compareResult.newGeoMean}}</td> | ||
<td>+/-{{compareResult.newStddev}} ({{compareResult.newStddevPct}}%)</td> | ||
<td ng-class="{'subtest-regression': compareResult.isRegression, 'subtest-improvement': compareResult.isImprovement}">{{compareResult.delta}}</td> | ||
<td ng-class="{'subtest-regression': compareResult.isRegression, 'subtest-improvement': compareResult.isImprovement}">{{compareResult.deltaPercentage}}%</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div id="subtest-summary" ng-if="!dataLoading"> | ||
<h4>Compare all data for revision {{newProject}}: {{newRevision}} to {{originalProject}}: {{originalRevision}}</h4> | ||
<p class="help-block">Hover over each entry for more options.</p> | ||
<table class="table"> | ||
<tbody> | ||
<tr ng-class="{'subtest-header': compareResult.headerColumns==2, 'subtest-empty': compareResult.isEmpty && !compareResult.headerColumns==2, 'subtest-empty': (hideMinorChanges && compareResult.isMinor)}" ng-repeat="compareResult in compareResults"> | ||
<td colspan="{{compareResult.headerColumns}}">{{compareResult.name}}</td> | ||
<td ng-class="{'subtest-empty': compareResult.headerColumns==2}"><a ng-href="{{compareResult.detailsLink}}">Details</a></td> | ||
<td ng-attr-title="runs: {{compareResult.originalRuns}}">{{compareResult.originalGeoMean}}</td> | ||
<td>+/-{{compareResult.originalStddev}} ({{compareResult.originalStddevPct}}%)</td> | ||
<td ng-attr-title="runs: {{compareResult.newRuns}}">{{compareResult.newGeoMean}}</td> | ||
<td>+/-{{compareResult.newStddev}} ({{compareResult.newStddevPct}}%)</td> | ||
<td ng-class="{'subtest-regression': compareResult.isRegression, 'subtest-improvement': compareResult.isImprovement}">{{compareResult.delta}}</td> | ||
<td ng-class="{'subtest-regression': compareResult.isRegression, 'subtest-improvement': compareResult.isImprovement}">{{compareResult.deltaPercentage}}%</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
</div> | ||
|
||
|