blob: d70d1df5c489e465f06be4ea28f4c9310b9de525 (
plain)
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
|
<div id="ruby_targets">
<h1>Ruby Targets</h1>
<small>
Last updated on
<%=Time.at(update_timestamp.to_i).strftime('%Y-%m-%d')%>
using a portage snapshot dated
<%=Time.at(portage_timestamp.to_i).strftime('%Y-%m-%d')%>
</small>
</div>
<%=erb :'partials/search', :layout => false%>
<form class="pull-right">
<input type="checkbox" onclick="$('td:contains(\'+amd64\')').parent().toggle();" checked> amd64
<input type="checkbox" onclick="$('td:contains(\'+~amd64\')').parent().toggle();" checked> ~amd64
</form>
<table id="sortable" class="table table-bordered table-condensed">
<thead>
<tr>
<th class="width-52">Package</th>
<th class="width-12">Ruby 2.0</th>
<th class="width-12">Ruby 2.1</th>
<th class="width-12">Ruby 2.2</th>
<th class="width-12">Ruby 2.3</th>
</tr>
</thead>
<tbody class="searchable">
<%packages.each do |package|%>
<tr>
<td class="width-52">
<%=package[:identifier]%>
</td>
<td class="width-12 <%=package[:r20_target] == "nil" ? "danger" : "success"%>">
<%=package[:r20_target]%>
</td>
<td class="width-12 <%=package[:r21_target] == "nil" ? "danger" : "success"%>">
<%=package[:r21_target]%>
</td>
<td class="width-12 <%=package[:r22_target] == "nil" ? "danger" : "success"%>">
<%=package[:r22_target]%>
</td>
<td class="width-12 <%=package[:r23_target] == "nil" ? "danger" : "success"%>">
<%=package[:r23_target]%>
</td>
<td style="display:none;">
+<%=package[:amd64_keyword]%>
</td>
</tr>
<%end%>
</tbody>
</table>
|