...
 
Commits (2)
This diff is collapsed.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ report_title }}</title>
<style>
table {border:1px solid;border-collapse:collapse}
.pre142 {background-color:#ffccee}
.e {font-size:small}
.m {text-align:left; padding:0.5rem; border:1px solid}
.l {text-align:center; padding:0.5rem; border:1px solid}
.s {text-align:center; padding:0.5rem; border:1px solid}
.n {text-align:right; padding:0.5rem; border:1px solid}
.np {text-align:right; padding:0.5rem; border:1px solid}
.o {text-align:right; padding:0.5rem; border:1px solid}
.op {text-align:right; padding:0.5rem; border:1px solid}
</style>
<!-- sortable.js from https://www.kryogenix.org/code/browser/sorttable/ -->
<script src="sorttable.js"></script>
</head>
<body>
<h1>{{ report_title }}</h1>
<h2>Summary</h2>
<p>Report generated: {{ report_datetime }}
<br>SlackBuilds: {{ "{:d}".format(stats_sb) }}
<br>&nbsp;&nbsp;newest: {{ "{:d} ({:.1f}%)".format(stats_new,stats_new*100/stats_sb) }}
<br>&nbsp;&nbsp;out of date: {{ "{:d} ({:.1f}%)".format(stats_old,stats_old*100/stats_sb) }}
<br>Maintainers: {{ stats_maint }}
<br>&nbsp;&nbsp;active: {{ "{:d} ({:.1f}%)".format(stats_active,stats_active*100/stats_maint) }}
</p>
<h2>Maintainer details</h2>
<table class="sortable">
<thead>
<tr>
<th class="m"><a href="#!">Maintainer</a></th>
<th class="l"><a href="#!">Latest</a></th>
<th class="s"><a href="#!">SlackBuilds</a></th>
<th class="n"><a href="#!">Newest</a></th>
<th class="np"><a href="#!">%</a></th>
<th class="o"><a href="#!">Out of date</a></th>
<th class="op"><a href="#!">%</a></th>
</tr>
</thead>
<tbody>
{% for mname, mdeets in maintainerinfo.items() %}
<tr id="{{ mname }}" class="{{ mdeets['era'] }}" >
<td class="m">{{ mdeets["tdmaintainer"] }}</td>
<td class="l">{{ mdeets["tdlatest"] }}</td>
<td class="s">{{ mdeets["tdslackbuilds"] }}</td>
<td class="n">{{ mdeets["tdnewest"] }}</td>
<td class="np">{{ mdeets["tdnewestpct"] }}</td>
<td class="o">{{ mdeets["tdoutofdate"] }}</td>
<td class="op">{{ mdeets["tdoutofdatepct"] }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</body>
</html>