blob: 8bca93d5fc687b342580e42e78206b72193074fa (
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
|
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
<li class="breadcrumb-item active"><%= t :packages %></li>
</ol>
<h1><%= t :packages %></h1>
<div class="row">
<div class="col-md-9">
<div class="card">
<div class="card-header">
<h4 class="mb-0"><%= t :browse_categories %></h4>
</div>
<div class="card-body">
<ul class="kk-col-list kk-4col-list kk-category-listing">
<%- prev_letter = 'z' -%>
<% @categories.each do |category| %>
<%- unless category.name[0].upcase == prev_letter ; prev_letter = category.name[0].upcase -%>
<li class="kk-col-list-header"><span class="kk-group-header"><%= prev_letter %></span></li>
<%- end -%>
<li><%= link_to_category category %></li>
<% end %>
</ul>
</div>
</div>
</div>
<div class="col-md-3">
<div class="card">
<h4 class="card-header"><%= t :update_feeds %></h4>
<div class="list-group">
<a href="<%= added_packages_path %>" class="list-group-item list-group-item-action text-dark">
<span class="fa fa-fw fa-history"></span>
<%= t :added_packages %>
</a>
<a href="<%= updated_packages_path %>" class="list-group-item list-group-item-action text-dark">
<span class="fa fa-fw fa-asterisk"></span>
<%= t :updated_packages %>
</a>
<a href="<%= stable_packages_path %>" class="list-group-item list-group-item-action text-dark">
<span class="fa fa-fw fa-check-circle-o"></span>
<%= t :stable_packages %>
</a>
<a href="<%= keyworded_packages_path %>" class="list-group-item list-group-item-action text-dark">
<span class="fa fa-fw fa-circle-o"></span>
<%= t :keyworded_packages %>
</a>
</div>
</div>
</div>
</div>
|