forked from puppetlabs/community_management
-
Notifications
You must be signed in to change notification settings - Fork 0
/
release_planning.html.erb
73 lines (70 loc) · 2.9 KB
/
release_planning.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
<script src='./web_libraries/jquery.min.js' type='text/javascript'></script>
<script src='./web_libraries/sorttable.js'></script><link rel='stylesheet' href='./web_libraries/bootstrap.min.css'>
<script src='./web_libraries/DataTables/datatables.js'></script><link rel='stylesheet' href='./web_libraries/DataTables/datatables.css'>
<script type= 'text/javascript'> $(document).ready( function () {$('#releases').DataTable();} ); </script>
<style>
#releases {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 18px;
border-collapse: collapse;
width: 50%;
}
.word_break {
word-break: break-all;
width: auto;
}
#releases td, #releases th {
border: 1px solid #ddd;
padding: 8px;
}
#releases tr:nth-child(even){background-color: #f2f2f2;
}
#releases tr:hover {background-color: #ddd;
}
#releases th {
padding-top: 9px;
padding-bottom: 9px;
text-align: left;
color: black;
}
</style>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-157301458-1', 'auto');
ga('send', 'pageview', { 'page': location.pathname + location.search + location.hash});
ga('set', 'anonymizeIp', true);
</script>
<!-- End Google Analytics -->
</head>
<body>
<h2 style="text-align:center;">Modules Requiring Release</h2>
<table border='1' id = 'releases' style='width:100%' class='sortable table table-hover'> <tr>
<th>Module Name</th>
<th>Last Release Tag Date</th>
<th>Commits Since Then</th>
<th bgcolor="#FFFF00"><button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Maintenance PRs">M</th>
<th bgcolor="#222222"><button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Feature PRs">F</th>
<th bgcolor="#00d87b"><button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Bugfix PRs">B</th>
<th bgcolor="#d63700"><button type="button" class="btn btn-secondary" data-toggle="tooltip" data-placement="top" title="Backward Incompatible PRs">BI</th>
<th>Number of downloads</th>
</tr>
<% repo_data.each do |puppet_module| %>
<tr>
<td><a target ="_blank" href='https://github.com/<%= puppet_module['repo']%>'><%=puppet_module['repo']%></a></td>
<td><%= puppet_module['date']%></td>
<td align=\"center\"><%= puppet_module['commits']%></td>
<td align=\"center\"><%= puppet_module['maintenance_prs']%></td>
<td align=\"center\"><%= puppet_module['feature_prs']%></td>
<td align=\"center\"><%= puppet_module['bugfix_prs']%></td>
<td align=\"center\"><%= puppet_module['incompatible_prs']%></td>
<td align=\"center\"><%= puppet_module['downloads']%></td>
</tr>
<% end %>
</body>
</html>