This repository has been archived by the owner on Feb 3, 2021. 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.
implement view of most recent reports
- Loading branch information
Showing
4 changed files
with
115 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
% my ($x) = @_; | ||
<tr class="clickableRow" href="/report<%= $x<breadcrumb> %>/<%= $x<id> %>"> | ||
<td> | ||
<div class="progress" style="margin-bottom: 0"> | ||
<div class="progress-bar progress-bar-<%= | ||
do given $x<grade> { | ||
when 'PASS' { 'success' } | ||
when 'FAIL' { 'danger' } | ||
default { 'warning' } | ||
} %>" style="width: 100%"> | ||
<span><%= $x<grade> %></span> | ||
</div> | ||
</div> | ||
</td> | ||
<td><%= $x<distname> %></td> | ||
<td><%= $x<distver> %></td> | ||
<td><%= $x<compver> %></td> | ||
<td><%= $x<backend> %></td> | ||
<td><%= $x<osname> %></td> | ||
<td><%= $x<osver> %></td> | ||
<td><%= $x<arch> %></td> | ||
</tr> |
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
% my ($x) = @_; | ||
<table class="table table-bordered table-striped table-condensed"> | ||
<thead> | ||
<tr> | ||
<th width="10%">Grade</th> | ||
<th>Distribution name</th> | ||
<th>Dist version</th> | ||
<th>Compiler version</th> | ||
<th>Backend</th> | ||
<th>OS name</th> | ||
<th>OS version</th> | ||
<th>Architecture</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<%= $x<report-lines> %> | ||
</tbody> | ||
</table> |