treedeps/reports/template.tt.html
2017-04-14 01:52:57 -04:00

54 lines
1.2 KiB
HTML
Executable file

<html><head>
<style>
.tested_no {
color: #777;
}
.tested_no a {
color: #77F;
}
.status_gen {
background-color: #FF0;
}
.status_inc {
background-color: #F00;
}
.status_success {
background-color: #0F0;
}
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
tr:nth-child(even) {
background-color: #CCC;
}
tr:nth-child(odd) {
background-color: #EEE;
}
</style>
</head>
<body>
<table>
<thead style="font-weight: bold">
<th>Module</th><th>Tested?</th><th>results</span></th><th>Author</th><th>log</th>
</thead>
<tr><td>37410</td><td>[% tested_count %] ([% percent %])</td>
<td><span style="background-color: #F00">[% inc_count %] [% inc_percent %]</span> / <span style="background-color: #FF0">[% gen_count %] [% gen_percent %]</span></td><td></td><td></td>
</tr>
[% FOR module IN modules %]
<tr class="tested_[% module.tested %]">
<td style="padding-left: 10px;"><a href="https://metacpan.org/pod/[% module.dist %]">[% module.dist %]</a></td>
<td>[% module.tested %]</td>
<td class="status_[%module.status%]">[%module.status%]</td>
<td>[% module.author %]</td>
<td>[% module.log %]</td>
</tr>
[% END %]
</table>
</body>
</html>